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 Apr 21, 2014@Jalau
Should work fine on 1.7.8. Feel free to report back issues or create pull requests if you have solutions for certain problems.
-
View User Profile
-
Send Message
Posted Apr 21, 2014Please Update to 1.7.8 or 1.7.9... When will it be ready? Because if it takes too long i'll update it on my own..
-
View User Profile
-
Send Message
Posted Apr 21, 2014@Synchlor
Please create a ticket for your issue and explain how this can be reproduced. Otherwise I can't help you / fix it.
-
View User Profile
-
Send Message
Posted Apr 21, 2014Warning ! plugin shopkeepers destroy economy in my server ! players copy item in npc.. plz fix this bug !! this plugin is great but this bug is stupid and i can't use shopkeeper...i use v1.18 version in bukkit 1.7.4 Help me!
-
View User Profile
-
Send Message
Posted Apr 19, 2014Plz fix shopkeepers. item with lore and name items. bugs and coopy items..
-
View User Profile
-
Send Message
Posted Apr 17, 2014@cindy_k
v1.18 is the latest file. There are no dev builds. Usually it only takes up to 2 days at max for the file to be approved so there should be no need to additionally setup and maintain external downloads in some kind.
Besides, if you subscribe to file uploads of this project (there is a button for that somewhere at the top of this page) you should get a notification whenever I upload a new file, together with a working direct link to that file.
-
View User Profile
-
Send Message
Posted Apr 17, 2014@miniluigi008
I didn't know it was that complicated. If only people knew... they wouldn't keep asking "update plz". :P Thanks for the info and for taking the extra step to update it.
-
View User Profile
-
Send Message
Posted Apr 17, 2014Could you put up a link to a Dev build? with all the appropriate mandated warnings of course. Then we could get the file while waiting for staff to read it.
Thanks!
-
View User Profile
-
Send Message
Posted Apr 16, 2014@miniluigi008
1.) The main reason for it to break with each update is that it relies on manipulating the trading content for villagers. Bukkit has no API for that, therefore Shopkeepers has to manually use server-internal code, which is more likely to change between updates compared to things which are already provided by bukkit's API, which gets updated by the bukkit team on each minecraft update instead.
ProtocolLib (which is used to intercept and modify outgoing and incoming packets) wouldn't be suited for this, because currently we rely on many things and logic which is already handled by minecraft itself. We really only do slight manipulation to a temporary 'vitual' created villager's trade contents. The rest (puting the items into the correct slots, updating the trade window, react to player interactions like switching between trades, etc.) is still all handled by minecraft itself.
So with ProtocolLib we would have to manually recreate all this logic which minecraft is doing in the background ourself via intercepting and manipulating packets, and we probably would have to do updates on that as well, as the client and server's logic might change between updates as well. So it would be quite more complicated..
2.) Ehh, with 'out of space' your probably mean 'out of memory' / server crashing and not disk space (?): well, if you get an out-of-memory error / your server crashes there is nothing left we can do.. all code is stopped. While the server is running it should not delete the save file. The save file only gets deleted when it attemtps to save its current data. So for the file to get lost your server has to crash in right that moment.. I think. So otherwise only the not yet saved changes should get lost on a server crash.
However, the best, and most common solution for data backups, would be via some other, specialised utility/program which creates automatic backups of your system / minecraft server and plugin files. If you don't have full access to the system your minecraft server is running on, then you could either check if your hoster is providing you something for that, or you use one of those 'backup plugins' which can do this.
-
View User Profile
-
Send Message
Posted Apr 16, 2014I don't mean to be mean here, I love your guys' work. I just have a few questions...
- - - - -
1.) Is there a specific reason why this usually breaks with every update? Would using something like ProtocolLib fix it? Would you consider adding optional support if it did?
2.) Is there a way you can stop the plugin from deleting the save files when the system runs out of space? This happened to me once, and it didn't save any backups. So, I guess what I'm trying to say here is, could your plugin make a backup.yml like mcMMO, etc. do?
- - - - -
I like this plugin because it's the only good shop plugin that supports item lore, but it's a real pain to use for people like me who like to use the latest builds. I understand if it's just something that can't be fixed, but I also use ChestShop and it doesn't break as easily.
Keep up the good work! I hope to see this plugin around for a long time. Regards, miniluigi
-
View User Profile
-
Send Message
Posted Apr 16, 2014@MasterMithrandir
For removal of single shops there should be no need for commands. Instead it should be analyzed why this shop wasn't physically there in the world and improve on that.
-
View User Profile
-
Send Message
Posted Apr 16, 2014@blablubbabc
Would be better if you applied my command suggestions e_e
http://dev.bukkit.org/bukkit-plugins/shopkeepers/tickets/226-command-suggestions/
Anyway, I will do just what you said, thanks :)
-
View User Profile
-
Send Message
Posted Apr 16, 2014@MasterMithrandir
Well, if the shop isn't physically there, then you might have to shutdown/disable the server/plugin before you attempt to manually modify the save file. Because when you reload shopkeepers it will save the previous loaded shopkeeper back to file, overwriting your changes.
-
View User Profile
-
Send Message
Posted Apr 16, 2014How do I delete a specific shop?
Tried deleting it in config and reloading, or just waiting for my scheduled server restart but the shop keeps reappearing. I must add that the shop I'm trying to delete is also buged, as there is no shop where it's suposed to be, and no one else can make a shop there.
-
View User Profile
-
Send Message
Posted Apr 15, 2014How did I not see this earlier I use magicspells constantly. Well I have been looking for something like this forever thanks.
-
View User Profile
-
Send Message
Posted Apr 14, 2014@Nik912
The file is waiting for approval by bukkit staff. I just had to reupload it because I missed to change the version number in the previously uploaded file :(
-
View User Profile
-
Send Message
Posted Apr 14, 2014Hello. I can't find a download link for the 1.7.8 version. It is going to be added soon?
-
View User Profile
-
Send Message
Posted Apr 13, 2014v1.18 for MC 1.7.8+
Some possible caveats:
I suggest you to backup your old save file, just in case
-
View User Profile
-
Send Message
Posted Apr 13, 2014@catprowler
Nope. The trade menu is really only meant for item trades. A workaround would be to let players trade items, but also given them the possibility to exchange those items to your vault economy, with some other additional plugin.
@cindy_k
Normally Shopkeepers tries to remove the shopkeeper entities when chunks unload or the plugin/the server shuts down. However under some circumstances Shopkeepers isn't able to remove those entities properly and they get stored in the chunk data in your world.
This usually is only the case if you have some other plugin(s) running which unload chunks without calling an event for that / without letting Shopkeepers know (so that we can clean up those entities before they get saved into the chunk data).
This is no big issue as long as Shopkeepers is still running when the chunks get loaded again (we currently workaround this issue by search for old shop entities before spawning new ones).
But nevertheless you maybe might want to try to find out which of your plugins are silently unloading chunks so that they can 'fix' this. This might not be a big problem for those plugins themselves, but for other plugins if those are depending on the ChunkUnloadEvent for cleanup to happen..
Regarding those entities: you can safely kill them. Shopkeepers should respawn the needed shop entities as soon as it is running again.
-
View User Profile
-
Send Message
Posted Apr 13, 2014Its so funny, this break. Luckily I tested it first. My Witches are attacking the players and my Villager shopkeepers are just wandering around. LOL Watch out, that shop owner is mad! I see github is being updated . :) so I will check back tomorrow! thank you for the great plugin!