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!
@Vitaminous Yes I know but if you reload or restart the server it's again like that with the many ?
@Vitaminous
Besides, that wasn't even the issue.
@Ethrock
Tried, still doesn't work, "dude".
@Vitaminous
You need to place the chest first dude, then link the villager egg to the chest by right clicking the chest while holding the egg, then place the villager.
@raffi287
Eh? It works if you add the items in your inventory using an inventory editor that doesn't rely on chat codes, but rather the $-like symbol.
Please add:
It is a bit disturbing if there are always names like ?lGold
i need version 1.4.7-R1.0 T_T
@impwitharocket
add to that custom potions.
Bug,
Selling various fireworks works just fine till server reset, then they all become blank rockets. If you can please fix this.
Thanks, ImpWithARocket
Edit: Same goes for enchanted book. They lose their enchant info on server restart.
@nisovin
@Vitaminous
Are you absolutely sure it's caused by Essentials? Can you test and confirm it for me?
There are a lot of other reasons a trade may not work:
@Vitaminous
Actually his solution doesn't work. Admin shops are fine but even with the right perms nobody can buy from the user's shop.
@nisovin
I'm having the same exact problem with GM and Essentials. It's been like this for a while now.
I love this plugin so much and I don´t want that this plugin get not up to date , haha :D : )) Is it possible to add this plugin as trait for citizens? : ))
beautiful Plugin !
@Acestriker
Are you sure it isn't just because you're trying to buy items from your own shop, which isn't allowed?
@Acestriker
So what your saying is that you need to add Owner: to each shop. The owner part only comes up when a player / chest shop is created, If you make a admin shop there is no owner section in the save file.
Sorry if i just confused you
Hey, so this needs to go straight to development. Basically, The issue I've been searching this forum for, for the past several hours: where an attempt to trade an item with a shopkeeper fails to finish, is being caused by "shopkeeper owner" rights.
ISSUE: So let me explain the actual issue. If i set up a trade with a buying shopkeeper so that i hand him 1 gold, and he offers me 5 emeralds, I will then click on the emeralds to move them into my inventory. However, when i click the emeralds (aka the end product of the trade), instead of that item attaching to my cursor so i can move it into my inventory, it jumps back into the trade box like as if i never clicked it.
SETTING: I'm running CB 1.4.7.R1.0, with essentials(all plugins + groupmanager in use), and Vault. I removed all plugins except vault and shopkeeper. Even so, the trades still fail.
WHAT WORKS: In order to get the trades to work 100% of the time, I have to go in and change the shop owner inside the save.yml with notepad
SOLUTION: So what it looks like to me is that there seems to be a problem with ownership of shopkeepers. I want to thank you for reviewing this if you actually do. And i hope this helps you solve this issue once and for all, as it has gotten a lot of voice recently but no real answers.
FOR READERS: If anyone on the forums is also having this problem. I would suggest you have your owners go into the plugin files and make the alterations i outlined above. Once again, to fix this problem, go into the save.yml inside the Shopkeepers plugin and edit the owners of the shopkeepers who are having issues. Any name works for a new owner, even someone who doesnt exist.
Is it possible to edit text for save and delete buttons ?
@diannetea
If you are in creative mode when you use the villager egg it will spawn a normal NPC and not a shopkeeper. I am not sure if this is the indented functionality but personally I like it that way.