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 Dec 7, 2013@CollinDesigns
Edit: spaces work with colors but not when using multiple colors it seems.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@nisovin
But the spaces work if i don't use color support, and if i do it doesn't even with the space in the regex.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@CollinDesigns
That's only necessary if you use that symbol when typing in the name. If you use the ampersand it would have worked fine. The only reason spaces would no longer work is if you removed the space from the regex.
Edit: I've realized you probably have a plugin that pre-processes your chat, which is why you need that extra character in there.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@CollinDesigns
I can't use spaces anymore for the names when using color codes, can you fix this? Since it does work using no color codes. And i can't use - instead since its not accepting - or _ or .
-
View User Profile
-
Send Message
Posted Dec 7, 2013Exactly what does the worldguard hook do?
I set it to true, but players can still place outside of worldguard regions.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@nisovin
Ty bro, the thing is you typed it wrong it has to be name-regex: "[A-Za-z0-9&§ ]{3,25}" instead of name-regex: "[A-Za-z0-9& ]{3,25}" like you stated, my friend sorted this out.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@CollinDesigns
Try this:
http://pastebin.com/NtzS1Apv
I don't know how you got air in there in the first place, but I removed it. I also removed an invalid item (REDSTONE_LAMP_ON doesn't seem to work in 1.7).
That name-regex works fine for me, what name are you trying to use?
-
View User Profile
-
Send Message
Posted Dec 7, 2013@nisovin
I used the version 1.15.1 and its not working when i use the 1.16 beta build. My safe.yml: http://pastebin.com/xgsRWbMM Please convert this for me then?
Also what about the creeper? Can you fix it?
-
View User Profile
-
Send Message
Posted Dec 7, 2013@CollinDesigns
I'm unable to reproduce this issue. I made a bunch of shopkeepers using the previous version (1.15.1), then loaded up 1.16-beta and everything worked fine. There is no need to convert the save.yml file. Were you perhaps using an unofficial build of the plugin that was made by someone else?
As for color support, just add the ampersand into the name-regex option.
name-regex: "[A-Za-z0-9& ]{3,25}"
-
View User Profile
-
Send Message
Posted Dec 7, 2013@blablubbabc
Yes i will get same problem, my friend has same (DrkMatr1984), the problem is the old save.yml from 1.6.4 doesn't update to 1.7.2 corerectly, all items are gone. Therefor having villager sell air and crashing client somehow.
But i fixed WG issue by turning block-plugin-spawning to false inside WG config. Since even with latest build it wasn't working like stated :s
Also the creeper is not interact able. Once spawned you can't do anything with it, neither kill or remove it :s now i have one stuck creeper :s Since removing it in my save.yml doesn't work since my save.yml keeps resetting itself to the bugged save.yml
Also please add a config option to enable/disable color support, since i know you fixed it and added it again but Nisovin removed it few min later since he doesn't want it on his server... then make an option in the config for it or with a perm!! Please read this!
-
View User Profile
-
Send Message
Posted Dec 7, 2013@CollinDesigns
It was already added and will probably be included in the next update. I don't know when this will be available.
For your error and your problems: please test with craftbukkit and let us know if you get the same errors/problems.
-
View User Profile
-
Send Message
Posted Dec 7, 2013My save.yml totally gets reset and turns empty causing all items to get replaced with AIR so if you trade villager your client crashes..... any fix?
Please add support to convert old 1.6.4 save.yml to the new 1.7.2 save.yml..... now everyone their safe is lost....
-
View User Profile
-
Send Message
Posted Dec 7, 2013What is the 'safe' way to delete a villager using the config?
I have been using Shopkeepers for a very long time. I tried to create a Creeper and I cannot interact with him. (running Beta)
-
View User Profile
-
Send Message
Posted Dec 7, 2013@CollinDesigns
Thanks :) I didn't even try it because I thought noone would think of that! Awesome plugin.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@Klausar
Thats already added long ago. You can already do that.
-
View User Profile
-
Send Message
Posted Dec 6, 2013Is there a way to create free trades? For example: I want to have a villager giving out free books to players (With rules etc.), but they shouldn't have to pay for it.
I also have an idea for a future version: Can you add a feature so that if the Villager requests a renamed item (i.e. Paper renamed to Ticket) he doesn't accept normal paper. Is that possible?
-
View User Profile
-
Send Message
Posted Dec 6, 2013@KeithSt0ne
There is a setting which let's you configure if trading with normal villagers should be dis- or enabled. Default is set to disabled I think.
For your problem with the latest beta version and 1.7.2:
could you create a ticket for your issue, and also try to specify for us, how we could recreate your issue? A common issue for Shopkeepers "cloning" is a conflict with an other plugin. So maybe try on a fresh craftbukkit server and add one plugin after the other to it, until you have found out which one is causing the issue..
-
View User Profile
-
Send Message
Posted Dec 6, 2013I tried to use the latest version for 1.7.2, after server restarts the villagers would multiply and you couldn't trade with normal villagers.
After uninstalling the shopkeepers plugin normal villager trading worked as normal
-
View User Profile
-
Send Message
Posted Dec 6, 2013@crunkazcanbe
What would you need MySQL support for? Having the save-data in a .yml file is a lot easier to maintain and change between updates for example to add new features to it in the future, than a "fixed" table structure, which first has to be altered/recreated on each update.
How exactly would that "MCTowns support" look like? What feature do you have in mind?
Also, consider to create tickets for your requests, so we can keep track of them.
-
View User Profile
-
Send Message
Posted Dec 5, 2013I'm Trying to run this on a FTB server using the 1.5.2 versions i am unable to click on a shopkeeper to open the interface But when shift clicking it allows me to edit trades Any idea what wrong any help would be great
Edit: I know its a mod pack and unsupported but will make me really happy if you could help :)