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 Aug 7, 2012@Darkhand81
Are you getting the message that says someone is already using that villager, or does it just not do anything? Is the villager killable?
-
View User Profile
-
Send Message
Posted Aug 7, 2012is it possible to have more than 8 different items to trade per shopkeeper? If not, may i create shopkeepers next to each other?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@Tobias2289
For me, even if I shut down the server, disable the plugin, restart, shutdown again, enable the plugin, and start back up... I still can't interact with the last villager I traded with. :(
I'll try your suggestion of interacting with another villager first though!
EDIT: Tried trading with another shopkeeper villager, once I log out and back in I can once again interact with the first villager, but I can no longer interact with the second one. I'll update the ticket.
-
View User Profile
-
Send Message
Posted Aug 7, 2012@np98765
To you and everyone else, if your having the problem of not being able to access a villager after trading or opening up the trade window try to open up another villagers trade window and then exit and go back to the one you want.
Also seems to be a bug where the only way to access one is to restart I've only seen this once sofar and not sure what I did to cause this.
Hope this helps in some way.
-
View User Profile
-
Send Message
Posted Aug 7, 2012@draccydragon
Written books are still supported on admin shops, but not on player shops.
-
View User Profile
-
Send Message
Posted Aug 7, 2012Just a heads up:
A lot of the 'unable to click' symptoms below are due to unique types of lag caused by the unstable bukkit builds. The same problem prevented pushing buttons, getting in minecarts, killing enemy mobs, etc.
I noticed you say written books aren't supported. I had great success with written books in that development snapshot you had up. What has changed?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@dotapurex1
Every day I go through the first two or three pages of server mods (in the top left corner) to see what's been up dated. I'm always searching for new plugins and ideas.
-
View User Profile
-
Send Message
Posted Aug 7, 2012Where would you find this plugin anyways? I didn't notice it until i saw it on another server and searched it on google.
-
View User Profile
-
Send Message
Posted Aug 7, 2012One feature I strongly believe should be implemented is the ability to limit the amount of shops groups/people can create!
Very nice plugin, by the way!
-
View User Profile
-
Send Message
Posted Aug 6, 2012This is fantastic, I didn't even expect to see a plugin like this until after the villager API came out. Wow!
I can stop manually editing the NBT data of all my trader-villagers with MCEdit, and stop blocking them in with fences!
Trying 'er out now!
EDIT: A few things I've found:
-If you load up the shopkeeper editor with items and close it without clicking the emerald block button, you lose all the items you placed into the editor.
-I somehow managed to bug one of my shopkeepers and couldn't get him to open his shopkeeper editor window. I ended up manually removing him from my save.yml since I could no longer open his window to get to the delete button. A /shopkeeper delete command that deletes the shopkeeper you're looking at might make for a good backup.
EDIT TO THE EDIT: The reason I couldn't interact with the villager is because it seems that after you trade once, you're no longer able to interact with that particular NPC after logging out and back in. I have to delete his entry in save.yml otherwise I can't open their trade or editor windows.
-
View User Profile
-
Send Message
Posted Aug 6, 2012On my server, I cant change trade to diamond or something like, when I click on the item, he goes back to my inventory.
I Want make trade 1 Diamond + I Iron Ingot to 1 Emerald.
-
View User Profile
-
Send Message
Posted Aug 6, 2012@nisovin
I set the Admin shopkeeper to sell a blink scroll and so the first time someone tries to buy a scroll from the NPC it is the blink scroll, but after that its just paper. I'm assuming once you have things well in hand here your going to make it work better with scrolls and tomes from MagicSpells?
-
View User Profile
-
Send Message
Posted Aug 6, 2012@fuzyfeet
Ah! Thanks I understand it now. It was that simple I feel numb haha. Awesome!
-
View User Profile
-
Send Message
Posted Aug 6, 2012@beanssprout
In the first example of the Admin shop, the shop is selling sticky and regular pistons and buying 64 cobblestone for an emerald.
-
View User Profile
-
Send Message
Posted Aug 6, 2012@np98765
Have you updated CraftBukkit?
@beanssprout
Just swap the items in the shopkeeper editor. Put the emeralds on bottom.
-
View User Profile
-
Send Message
Posted Aug 6, 2012I can't figure out how to make admin shops buy items from players :( That way palyers can sell their stuff and earn emeralds.
-
View User Profile
-
Send Message
Posted Aug 6, 2012Getting a few of these warnings every minute:
[WARNING] Wrong location for EntityVillager['Villager'/813, l='world', x=1025.50, y=63.00, z=2068.50] in world 'world'! [WARNING] Entity is at 1025.5,2068.5 (chunk 64,129) but was stored in chunk 65,129
I'll probably filter them out with ConsoleFilter, but is this causing an issue, or just meant for debugging purposes?
-
View User Profile
-
Send Message
Posted Aug 6, 2012@nisovin
Thank you very much. :)
I also like it just how it is, and great job: This is exactly what many people have been looking for. :D
-
View User Profile
-
Send Message
Posted Aug 6, 2012Found a critical bug; not sure if anyone else has noticed it.
The plugin registers that once the GUI for that villager has been opened, someone is constantly using it. I can only trade with a villager after a restart. After that, it says that someone is using it. I can edit it, but can't trade.
I've tried both the download link here, and the link posted a few posts before this.
-
View User Profile
-
Send Message
Posted Aug 6, 2012@JustinFatalx
@np98765
I've posted a link to the source.
@izak1245
Yes.
@chrisknyfe
That sounds like a great idea, but I don't think I'm going to do it. Seems like that would be a separate plugin. This is just a simple shop plugin.