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 Binden |
Want to help?
The less I have to do myself, the more time I have to write plugins. Therefore I am looking for someone who would be willing to get involved in the project. That could for example mean:
- Keeping the documentation (the wiki) up-to-date with plugin updates.
- Improving the existing documentation.
- Creating and maintaining translations.
- Help managing issues and answering questions of users.
If you are a programmer with experience in writing bukkit plugins, or have ideas on how you can contribute to the project beyond that, let me know as well! If you are interested, feel free to contact me via PM.
Beyond that, everybody is invited to help others with issues and questions in the issue tracker, comment section, and the discord channel! Also consider contributing translations!
Third-Party Add-On Plugins
Sometimes a feature is either to specific to include it directly into the Shopkeepers plugin, or I did not yet have the time to add something similar myself. The plugins listed here extend the functionality of the Shopkeepers plugin.
These plugins are maintained by other community members. If you run into issues while using any of these add-ons, try to first reproduce your problem without any add-ons before you report it.
ShopkeepersNavAddon(abandoned): Adds inventory-based GUIs that allow you to browse all player shops, all admin shops, and to find shops that trade a specific type of item. You can teleport to a particular shopkeeper by clicking a button inside the GUI.
This plugin also integrates support for trading with Vault-based currency, but does so by replacing Shopkeepers' normal trade handling.
If you have also written an add-on plugin and want it listed here, let me know!
When ever we restart the server.. It copies the Shopkeepers..
Our server restarts twice a day.. Meaning that if we have a small market with about 12 shopkeepers.
Theres gonna be 12 Shopkeepers and 24 villagers that is running around like crazy.
This is quite annoying..
Could this be fixed somehow?
@AgentWesker
This is a limitation of Minecraft itself, I just provide a friendly message. I've been trying to work around it, but have been unsuccessful so far.
You need to make it so admin shops can have unlimited trades at the same time, it doesnt make sense for 50+ player servers only one can use at a time.
This is an awesome plugin that works perfectly with CreativeControl, since you can stop interaction with villagers for people while in creative mode. in this way you are able to allow people to be creative and not flood the market with extreme buying.
If you want the best of both creative AND an economy "ShopKeepers" with "CreativeControl" works to accomplish it very well.
Great plugin
@fuzyfeet
LOL I gave up, I just can't set the shop up as a currency. Maybe something wrong with my server. It won't recognize as currency aspect but as trading aspect even I set the config as you said.
NVM, I setup all the shop so players can't trade the currency and use Emerald as primary currency.
Maybe because I'm setting an Admin shop?
Thanks a lot Fuzyfeet. :)
hey it would be useful if you could make it so player shops are like so you can use insteed of emeralds for buying anything for example i trad 1 wheat for 1 diamond or something.thx!
@y1985
No bother, I love to be able to help other when I can, god knows I ask my share of questions.
high-currency-value = the exchange rate of the two. You stated you wanted gold to be worth 18 emeralds so if the currency-item is an emerald the high-currency-value would be 18.
high-currency-min-cost is what the item being sold has to cost before it will use the high-currency-item and not the low. So if high-currency-min-cost is set to 36, any time you set the shop's item cost to less than 2 gold it will be the equivalent in emeralds. Does that help?
@fuzyfeet
Ahh, I misunderstand the slime ball, thanks.
Sorry to bother you again. I still didn't get the meaning of "high-currency-min-cost" and "high-currency-value"
If I set min-cost = 5 value =9
If item is 5 low-currency that's mean I could use 1 high-currency to buy it, am I right? This doesn't work for me. The only thing that work is trading-like shopkeeper.
It doesn't matter what is high or low currency if I set 1 emerald 1 gold as a price, people still need to pay me exactly 1emer+1gold.
@y1985
high-currency-min-cost: is used so that if you set it to say 20 and the high-currency-value is 10 and you a buy price of 1 high-currency-item it will change the price to 10 of the low-currency-item.
As for the slimeball/free trade, I assume it's not set up for free trade so that if your are just setting up the shop and haven't set the price yet, then players don't come up to the shop and take it's stock.
@fuzyfeet
Ahh, I get it.
Yeah, I notice that NPC won't give any changes back. Hopefully Nisovin might develop this.
Also, what is high-currency-min-cost:? and Why is Slime ball not make a free trade?
But free trade not a big problem, I could use other plugin help's. Thanks for your reply, Fuzyfeet.
@y1985
high-currency-item: = base id high-currency-item-data: = damage value i.e.: lapis is 351:4 This is here so plugins that add custom items like MoreMaterials or client-side mods can have custom coins or whatnot.
The plugin doesn't make change (yet, nisovin is a cleaver person so who knows), but yes if you set the high-currency-item to 266 and the high-currency-value to 18 and leave the currency-item. Then if you wanted both options then you would have to set two columns in the admin shop with one that had a buy price of 1 gold and 7 emeralds, then the other as 25 emeralds.
I'm just confuse. What's the difference between these 2 configs? high-currency-item: high-currency-item-data:
I just want to make gold ingot for higher currency which equal 18 emeralds per piece. When item is cost more than 18 let's say 25 emerald, player could spend either 25 emeralds or 1gold+7emeralds.
Can I setup something like this? Thanks,
I'm not sure if this is a 1.3 bug but...Villagers won't re-produce, we have all the requirements to make new villagers but they won't. The only plugin that affects the Villagers is this one.
I had the same basic idea as Babadoc. Although, I just want to track the selling prices of other player's shopkeepers compared to a set price of my shopkeepers and use a command to output an average. Is this possible? I was contemplating on re-trying to get re-motivated to learn java just to attempt making something along this line.
@Zanaxaccount
@zedadiaswick
Honestly I'm unable to replicate this issue. If you can make it consistently happen on a regular CraftBukkit server with just this plugin installed, please explain to me exactly how so that I can look into it.
The Shopkeepers being disabled/replaced by normal villagers (and sometimes duplicated) bug is still present in the latest version. Can we get a fix for this? This consistently occurs after a /stop restart.
@Zanaxaccount
Mine does not duplicate as much. Only does it when my server crashes. Rarely happens though.
Great Plugin, i just have one bugg. Villager keep duplicating, and if i kill them they respawn. Hopely u can fix it in 1.4 :)
I love this plugin. I'm using it on my spawn and I'm trying to simulate a small economy by lowering and raising prices based on what I have seen been buying/bought. A nice feature would be to be able to track what is going in/out of a Admin shopkeepers inventory.
@nisovin
Yeah, but there's a reason so many people use it. Almost every Bukkit plugin, that is version controled, uses GitHub. Would you consider switching? It would be much easier to fork / contribute or deal with issues.