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!
I am running the latest spigot on my host. spigot-1.11. I cant find a newer one?
@Skabroon
@LillyAnna87
See https://dev.bukkit.org/bukkit-plugins/shopkeepers/tickets/446-cant-open-shopkeeper-menu/#c1
@Skeletino
I have no idea why ticking villagers takes that long on your server. The timings on my testing server (with 30 shopkeepers) are quite lower (https://timings.spigotmc.org/?url=rabuxedayi). Maybe try it again with the latest version of spigot and see if that fixes it. Anyways, I am not sure how Shopkeepers might be causing this. Shopkeepers even removes most AI goals from the spawned entities (besides the one causing them to float on water and the one repsonsible for looking at nearby players), so I would even assume their ticking time to be slightly less then the one of default villagers.
Can anyone help me get this working for 1.11? I can shift click the shopkeepers and it will open up the admin menu, but when I click the npc like before, it opens up the normal villager trading menu with the name of my store.
Basically- I cannot use the plugin. My economy relies heavily on this plugin. Is there anything I can do to get this fixed?
Looks like issue with villager's AI wasn't fixed. Yesterday I installed latest version and it seemed that everything was ok (before update cpu load from enetity villager 10%, after 0.5%) But this morning while no one was on server I tooked timings on spawn and it shows large CPU load from villagers again. There area only 15 shopkeepers on spawn and no other chunks was loaded, but load from villagers is too high( https://timings.spigotmc.org/?url=bucoyicixi
hi, ever since the update of 1.11 my shops do not work. i am able to place them but they do not work once i set them up. i am able to access the menu by pressing shift + right click and i can also add items and name it but once i exit it turns into a regular entity. For example the villager display the normal offers instead of the ones i place inside the shop. please help and thanks in advance.
@coolboyua
They have some permissions by default. See the permissions section above.
I have a small problem with the permissions. Players have access to all types of shops.
permissions.yml: - shopkeeper.maxshops.5 - shopkeeper.sign - shopkeeper.player.trade - shopkeeper.trade
Version: Spigot-1.11, v1.81-plugin
Thanks for the update :)
@blablubbabc
It fixed the issue for me, thank you!
@Gerbia
How you tried if 1.81 fixes the issue?
@Liphian1
I did the same with 1.80 Install version 1.79 and work perfect
@Liphian1
v1.81 for MC 1.11, 1.10, 1.9.x, 1.8.x
v1.80 for MC 1.11, 1.10, 1.9.x, 1.8.x
Internal refactoring and cleanup:
v1.79 for MC 1.11, 1.10, 1.9.x, 1.8.x
Update for MC 1.11:
This however means that you cannot switch back to previous minecraft versions without loosing those converted shopkeepers.
And you will have to give all your players, which were previously able to create zombie or skeleton shopkeepers the required permission nodes for stray, wither_skeleton and zombie_villager, otherwise they won't be able to access/edit their shops after this conversion.
Also, if you are running on a minecraft version below MC 1.11, you can no longer cycle through the different zombie variants and skeleton variants and existing shopkeepers using those will fallback to normal zombies and skeletons.
Other changes:
Donations
If you like this plugin, consider supporting its development by making a donation.
Thanks in advance!
@blablubbabc
No, The file save.yml had to be corrupted, i deleted it and reset the plugin to zero and it works. My other plugins haven't changed. I'm sorry for the inconvenience.
I'm getting these errors that are continuously spamming the console: http://pastebin.com/UpQKG9sN
I'm using shopkeepers v1.80 and the most recent version of spigot 1.11.
@regiis222
So one of your own plugins was causing the issue?
@blablubbabc
Thanks for your answer, I can't buy a normal item or a modified item. I test the plugin with all my plugin in a local server and there is no bug... I will continue to search, the configuration of another plugin should crash. I'm sorry for the inconvenience, I keep you at the current.
EDIT: I found the problem, my configuration make bug the NPC, if i play with a blank configuration the NPCs work, i will reprogram all. If you want, I can give you my save.yml so that you look at yourself but I no longer need it, I will tell you if the reconfiguration worked.
@regiis222
The common reason for this is that the item required by the trade doesn't perfectly match the item offered. Try it with a different item, one without any special data on it.
If it still doesn't work, and you are sure that no other plugin of yours is modifying the items secretley somehow, create a ticket and explain there how I can setup a non-working shopkeeper on my test server with as less other plugins as possible.
You can also check the save.yml file and see if the item gets saved with any additional, unexpected data, or if any data is missing there.
Hello, i like your plugin, but since the 1.11, the NPC don't wants to trade with me, i can interact, but when I put the coin, and I take the object purchased, the exchange is canceled. The plugin is in v1.80...
I don't have an error message, and i have reload the plugin but no... Can you help me ?
PS: sorry for my english, i speak french
You can see my bug here: Bug in .GIF
v1.80 for MC 1.11, 1.10, 1.9.x, 1.8.x
Internal refactoring and cleanup:
v1.79 for MC 1.11, 1.10, 1.9.x, 1.8.x
Update for MC 1.11:
This however means that you cannot switch back to previous minecraft versions without loosing those converted shopkeepers.
And you will have to give all your players, which were previously able to create zombie or skeleton shopkeepers the required permission nodes for stray, wither_skeleton and zombie_villager, otherwise they won't be able to access/edit their shops after this conversion.
Also, if you are running on a minecraft version below MC 1.11, you can no longer cycle through the different zombie variants and skeleton variants and existing shopkeepers using those will fallback to normal zombies and skeletons.
Other changes:
Donations
If you like this plugin, consider supporting its development by making a donation.
Thanks in advance!
@DaDMaR
It's the one with green robe, purely cosmetic addition. The new cartographer uses the white robe.