Shopkeepers

Set up custom villager shopkeepers that sell exactly what you want them to sell and for what price. You can set up admin shops, which have infinite supply, and you can also set up player shops, which pull supply from a chest.
It will also prevent any other trades with non-shopkeeper villagers, if you want it to.
For those who are simply looking for a convenient way to modify the trades of vanilla villagers (as an alternative to using complex Minecraft commands), the plugin also includes a graphical editor for regular villagers and wandering traders.
Basic Features
- Easily create villager shopkeepers that trade the items you want them to trade.
- Admins shops with infinite supplies.
- Player shops which pull supplies from a chest.
- Different types of player shops: selling, buying, trading, and selling books.
- Various supported mob types to represent your shopkeeper, sign shops, and Citizens (NPC) shops.
- Editor for regular villagers and wandering traders.
- Many configuration options.
- Translatable messages.
- Open source (Source code on GitHub)
Supported server versions
Shopkeepers supports the latest versions of Bukkit / Spigot.
Note that this plugin is created to work with CraftBukkit (or alternatively Spigot). Bukkit does not have an API for some of the things necessary to make this plugin work. This means that other server software (Tekkit, Forge, Cauldron, etc.) will not work with this plugin.
Other CraftBukkit or Spigot derivatives/forks might work, but are not officially supported. So if you run into issues while using those, try to reproduce your issue on a fresh and up-to-date Spigot server first.
Getting started
All documentation can be found in the wiki:
- Downloads and changelogs for all files
- Installation
- Translations
- Configuration
- Permissions
- Creating shops
- Commands
- Frequently Asked Questions
Showcase
Admin shops:
Configure the trades via the in-game inventory menu:

Resulting trading menu:

Player shops (ex. selling items):
Fill the shop chest with supplies:

Configure the trades via the in-game inventory menu:

Resulting trading menu:

Video Tutorials
More video tutorials can be found in the wiki: https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Video-Tutorials
Tutorial by Donnie, explaining the setup of the different shop types:
Tutorial by Fan Staaff showing the setup of the different shop types in detail:
Tutorial by LastKing2X,showing the setup of the different shop types:
Spanish tutorial by Ajneb97, also mentioning placeholder items and various config options:
Statistics
This plugin uses bStats to collect anonymous plugin usage statistics. This helps me to determine how many servers are using the plugin, which Minecraft versions it is used with the most, and to which degree the different features are used.
Here is a list of all currently tracked information:
- Common information: The number of servers using the plugin, the number of players on these servers, online mode, Minecraft version, plugin version, core count, system arch, operating system, server country, Java version.
- Shopkeepers specific information: Whether specific related plugins are used (Citizens, Towny, WorldGuard, Gringotts, other Vault economy plugins), number of shops, whether player shops are used, whether certain features are enabled in the config (ex. WorldGuard/Towny compatibility, Citizens shops, delayed saves, colored names, chest protection, removal of inactive shops, tax rate, strict item comparison, purchase logging, disabling of other villagers, ..), the number of worlds containing shops.
- All information can be publicly viewed here: https://bstats.org/plugin/bukkit/Shopkeepers/
If you want to disable bStats for all plugins on your server, edit the file plugins/bStats/config.yml, or alternatively disable it only for Shopkeepers by setting 'enable-metrics' to 'false' inside the Shopkeepers config.
Known potential issues
A list of known potential issues of the latest version of Shopkeepers can be found in the wiki: This documents differences between Minecraft/Spigot versions, and existing Minecraft/Spigot issues related to Shopkeepers.
If you run into an issue, check if this list already contains and maybe offers information on how to handle it.
Have issues or further questions?
If you have a pressing issue or simple question, you can join the discord server and ask other plugin users for help:
But submitting a ticket is the best way to get help or report a problem with the plugin.
Before submitting a ticket:
- Check if your question is already answered in:
- The documentation (wiki).
- The FAQ.
- The Known Issues.
- Check if there is already another ticket for your issue.
Before reporting an issue:
- Try to reproduce your issue when using:
- The latest versions of Spigot and Shopkeepers.
- No other plugins.
- No kinds of other server or client mods.
When reporting an issue:
- Provide the versions you are using of Minecraft, Spigot and Shopkeepers.
- Provide a detailed description of your problem and add as much information as possible which could help reproducing the issue.
- If possible, include step-by-step instructions on how to reproduce the issue on a fresh Spigot server.
Donations
If you like this plugin, consider supporting its developers by making a donation:
- To blablubbabc (current maintainer: Dec 2013 - today)
- To nisovin (former author: Aug 2012 - Dec 2013)
A big "thank you" to everybody who is keeping the motivation up through donations!
| Minecraft-Servers-Listing.com | TRS Game Servers | terminalserver.us |
| Minewind | mercurialmusic | timitimitimi |
| FatherWh0 (merchantvillages.com) | lukeeexd (tws-mc.com) | PapaJuan |
| EmeraldHaze (Ninjalette) | Espen | kbtalkin |
| Dimo (Beyond Vanilla) | RefugiaCraft | Frilioth |
| Tabletopcheese | Observant Minecraft Server | Ren B. |
| BadWolfMC | Michael M. | Alejandro A. |
| Michael B. |
Want to help?
Whether you are a programmer or not, there are many ways in which you can contribute! For example:
- Help users with issues and questions on Github, Discord, or the comment section.
- Create and update translations.
- Keep the documentation (the wiki) up-to-date with plugin updates.
- Write or maintain add-on plugins (see the open Github issues).
If you are interested or have other ideas on how you can contribute, feel free to contact me via PM.
Add-On Plugins
Sometimes, a feature is either to specific to include directly into the Shopkeepers plugin, or I did not yet have the time to add something similar myself. You can find a list of both official and third-party add-on plugins that extend the functionality of the Shopkeepers plugin in the wiki: https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Add-On-Plugins
If you have also written an add-on plugin that you want to add to the list, let me know!

-
View User Profile
-
Send Message
Posted Jan 28, 2014@postman713
I can confirm that this issue exists, unfortunly I can't yet reliable reproduce it.. So if you have additional information when and where and under which conditions this behavior can be reproduced, that potentially would help a lot..
@tomorrow4268
Shopkeepers uses Bukkit's API to save and load ItemStacks (which saves us a lot of work as we don't have to work on that ourselves). So you currently will have to wait for Bukkit to add Attribute-support to that..
Edit: I have correct myself. Actually it seems that shopkeepers already has some Attributes support now since v1.1.6 beta1. If there are problems, please create a ticket.
-
View User Profile
-
Send Message
Posted Jan 28, 2014is it possible that shops may also save attributes which are added to items? like +health +damage +speed.... ? as i know it does save it only as long as the server does not reload/restart. After all attributes are deleted, so they were not properly saved.
thx in advance
-
View User Profile
-
Send Message
Posted Jan 27, 2014Hello there, first of all nice plugin, I'm using it for an adventure map on my server and i have mobs that drop items such as ingots and diams to then trade with villagers for weapon and armor upgrades, but i'm having one really annoying issue and i'm not sure where it's coming from. The shopkeepers are replicating into regular villagers with the name above them. So if i made a shopkeeper that traded stuff and his name is bill, later on i'll find another villager with him, moving around with the name bill but no trades. It's really weird and i'm not sure if i should try reinstalling the plugin because i've put a lot of work into setting these up for the map. If i disable villager spawning then they don't appear at all and that does me no good, but how do i stop them from duplicating into regular villagers, it gets to the point where there are tons of them. Thanks for any help. Postman713
-
View User Profile
-
Send Message
Posted Jan 26, 2014@anathelme
I would have guessed (and can confirm that) it works completly the other way around: minecraft default villagers are accepting items already, when they type matches, shopkeeper villagers only accept the items when the items fully match.
-
View User Profile
-
Send Message
Posted Jan 26, 2014I have a really annoying issue/ feature missing.
On my server, some "specials" loots/items are normal items, but with lores, changed names and attributes when hold in hand. The issue is: some items are used as money, like firecharges (a magical money which burst when stroke on something) but with changed/colored name and colored lore. No problem, Shopkeepers can trade items with lore, but it don't make difference between a normal item and a renamed/lored item. Normal villagers, when edited with NBTedit accept only items with exactly the same name/lore/enchant/durability. Yours, i can give them a normal fresh-crafted leather boots to him instead of a died letherboot with name lore and 5 enchants on it.
That's a big issue for servers which try to have some interresting items, loots and tiers.
-
View User Profile
-
Send Message
Posted Jan 26, 2014@IrusVirus
You can create a ticket for it, maybe with a sufficient explanation for a possible use case.
-
View User Profile
-
Send Message
Posted Jan 26, 2014@blablubbabc
Yes i talking about that - you add it to your ToDo list?
-
View User Profile
-
Send Message
Posted Jan 26, 2014@GamerKing195
You will have to look for a different plugin for that.. Shopkeepers is meant for item trades only..
-
View User Profile
-
Send Message
Posted Jan 26, 2014can you add a feature were you can trade money like from vault or essentials
PS essentials first please!
-
View User Profile
-
Send Message
Posted Jan 26, 2014@aligc
If you don't configure anything in the config, then they will still add the attributes with value '0'. If the item had no attributes section, they create one. If the item had no entry for the attribute, they add it.
I am no expert in how the default NBT / internal structure of minecraft items look like, but for me this looks like they are changing stuff there.
I also browsed the nbt data of the item via this plugin: http://dev.bukkit.org/bukkit-plugins/powernbt/
You can see with it, that the "AttributeModifiers" section is indeed added.
However, the shop was working for me, even after reloads of Shopkeepers and restarts of the server. I used the same 'Warewolfs Tooth" item. It also kept the extra blank line.. But that might not be garanteed..
I also created an other item via PowerNBT with ONLY the enchantment added and the displayname + lore changed, and it looked like the one from your image, without the extra blank line at the bottom. So I guess this line is added due to the Attributes section being internally added, but not displayed due to the Attributes all having value '0'.
Edit: Correction: since v1.1.6 beta1 shopkeepers should save and load attributes. This also seems to work so far on my test server. It also kept the extra blank line and kept equal to the other item. I don't know why your item looses this blank line.. maybe you are using a older version.
-
View User Profile
-
Send Message
Posted Jan 25, 2014@blablubbabc
I have spoke to the Devs from MythicMobs and they have told me that they dont change any attributes other than what is defined from the configs... I have noticed that on the original item there is a gap at the bottom of the item lore but in the shop there is no gap... Would this be what is being changed?
-
View User Profile
-
Send Message
Posted Jan 25, 2014@GodheadWeasel
The used file encoding should be utf-8 by default already. Makre sure your editor actually encodes the file in utf-8.. I suggest using NotepadPlusPlus for that.
-
View User Profile
-
Send Message
Posted Jan 25, 2014I set file-encoding to UTF-8 but when I try to use the color codes, it just won't let me.
-
View User Profile
-
Send Message
Posted Jan 25, 2014@aligc
Nope, not until bukkit has added the official api for that. Here is the ticket for that: https://bukkit.atlassian.net/browse/BUKKIT-4527 Edit: Correction: since v1.1.6 beta1 shopkeepers should save and load attributes. This also seems to work so far on my test server.
@diannetea
Should be fixed in the next version, together with the issue of name plate colors/prefix going lost over server restarts.
@IrusVirus
Are you talking about "allowing other players to 'manage' your shop (removing/adding items)? Currently there is nothing planned for this ..
-
View User Profile
-
Send Message
Posted Jan 25, 2014Is it possible for you to add a feature, which adds other players who are able to edit or access a shop but not to delete it?
-
View User Profile
-
Send Message
Posted Jan 25, 2014Is there any way to fix this?
-
View User Profile
-
Send Message
Posted Jan 25, 2014Im guessing that means there is no way for me to get this to work with the mob drops?
-
View User Profile
-
Send Message
Posted Jan 24, 2014@aligc
The plugin internally also modifies the items "Attributes" (which were added with MC1.6 I think) to modify the item further (health, damage, speed, knockback and range). Those "Attributes" are also checked by bukkit when it compares the ItemStacks, but there doesn't yet exist any official bukkit API to modify or save them.
Edit: Correction: since v1.1.6 beta1 shopkeepers should save and load attributes. This also seems to work so far on my test server.
-
View User Profile
-
Send Message
Posted Jan 24, 2014That is all the info MythicMobs requires to create Items... Is there anything there that isnt supported by shopkeepers?
-
View User Profile
-
Send Message
Posted Jan 24, 2014@hans5590
Items have to match: item name, lore, enchantments, etc. have to be the same in order for the trade to work.