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!
This plugin not only doesn't work for me, but it blocks villager trade throughout the entire server... there's no error messages, so what's going on?
Hey
Can i change the limit for how many you can make per group? that would be nice feature
Is it possible to name the Shopkeepers? Right now all Shopkeepers trade Window is called "Dorfbewohner" (German). It would be nice if this could be changed to distinguish from normal NPC.
@silvinci
GitHub is not the only available code repository option.
Y U NO use GitHub?
Hey I have a few questions. For the config I have it set up so that players can only make 3 shops., is there anyway a op can bypass that? My other question is can you make a shop say the name of the player who owns it? Last question, will enchants be in player shops in 1.4.
@MattSheridan
You should be able to use spell tomes from MagicSpells v2.9 with shopkeepers (which uses written books instead of BookWorm books).
@nisovin: Your MagicSpells plugin is so excellent that this one is immediately of interest to me. Can shopkeepers sell spell tomes? I'd previously been hiding libraries with bookcase-type spellbooks around the world, but just buying spells from villagers would probably be preferable to most of my players.
I'm also really digging your thoughts on server economies, and I'm interested in what you think about this rebalancing scheme.
Anyway, thanks for all the great work! I'll be trying Shopkeepers out on my server soon!
@Tobias2289
I'll add an option to set the max distance from the chest. Setting it to 0 will require the player to place the shopkeeper on the chest. However, I've noticed a minor bug where if the shopkeeper is bumped just right, he'll actually fall into the chest. It's not a huge deal, but it's kind of annoying, and one of the reasons I changed it.
@squeezer2k
Not directly. There is no "Worldguard Region" item. I'm sure you could come up with something clever though.
There a way to maybe give us the option of choosing whether or not we want player shopkeepers to have to stand on a chest? I prefer it. But guess if I have to, I can deal.
hi there,
little suggestion:
would it be possible to buy/sell worldguard regions with use of villagers?
regards
I think you have just single-handed lay changed the economy on my server...Thanks
@nejcneo
Turn on debug mode in the config:
debug: true
then tell me what the console shows when you right-click on a shopkeeper.
@nejcneo
By default in the config file only the villagers you spawn with the "/shopkeeper #" command can be changed. Maybe that is the problem?
@nisovin
This plugin is just what my server needed. It adds a spark of life to my otherwise ghostly spawn town + makes way more awesome shops than Essentials' Buy/Sell signs. 9/10
I don't know what is wrong but I have permission for admin + I am OP And while I am holding shift + Right Click on Villager It doesn't work :O Nothing happens :/
@xH3LLRAIZ3Rx
This seems to be caused by not shutting down the server properly.
The Villagers keep duplicating, thats a problem
@FlashIT
I've added a couple events you can use to enable that sort of thing on your server. You need at least one item of the type you want to buy to be able to buy it with a buy shop. As for enchantments, I'll likely add support for it at some point to selling shops, but it is unlikely I'll add it to buying shops, as there is just no good way to set it up.
@Kolnan
Well, you can only set up a shop in a place near where you can build a chest. So that should serve as a reasonable restriction.
Hey I'm VERY intersted in using this for my server for users to create shops... is there any kind of things preventing them from creating shops in say Towny protected areas? even "Shop" plot limitations? I dont want them creating villagers all over my main town areas more in the shops to add life to them...
Hi, does this plugin disable villager trading? If Yes, I'm like interested to use it for my shops ;) for my spawn city
Disabling villager trading in villages. (Survival <- Blocking trading on natural generated villages, Creative <- Blocking trading, trading is useless in creative)