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!
In reply to Forge_User_14195200:
Shopkeepers should automatically rotate towards nearby (visible) players. If they don't, then you are probably not using the latest version of Shopkeepers. If you are using some server hoster to install the plugin: Some server hosters are not always up-to-date and will install an outdated an not properly working version of Shopkeepers.
Is there a way to find the location of previously placed shopkeepers?
In reply to bahhhhhhhhhh:
There is a "/shopkeeper list" command which might be listing the shops with their location, if I remember correctly.
Hello! So I am trying to create an npc shop with the citizens plugin but on the page that tells you to do that, its a bit vague when it says "You will have to use the commands."
When it means that, what command should I use and may I get every step on how to make an npc shop please? Thank you!
In reply to mooseyishere:
I am not completely sure which page you have read, but this should be explained inside the wiki quite well: https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Citizens-Shopkeepers
In reply to blablubb:
Hello! I did read that page but I didnt know what it meant by "You will have to use the commands"
Do you know the specific command to change the model of the shopkeeper?
In reply to mooseyishere:
You probably meant the sentence "Citizens admin shopkeepers will default to normal villagers as mob type. You will have to use the citizens commands to change the mob type of the NPC."
Since the created entity is not actually a Shopkeeper entity (managed by the shopkeeper plugin) but a Citizens NPC (managed by the Citizens plugin), you will have to use their commands to change the type of the npc (eg. from villager to a player npc, or some other kind of entity). You can find their commands in their own wiki: https://wiki.citizensnpcs.co/Commands#NPC_Commands
I think the command to change the npc type is "/npc type <type>"
Is there a way to check the players hand for a specific item before letting them trade? Id like the player to have an empty hand to talk to NPCs.
In reply to sulack_scrubclub:
Nope. This also sounds way to specific to be an feature of the plugin itself, however, this can be easily done via a separate plugin. There are for example API events for when the plugin is about to open an UI. Or you cancel the interaction itself. There is a setting to ignore the entity interaction if another plugin cancels it.
However, I don't have the time to do this myself, so you will either have to do this yourself or find someone who can do this for you.
Hey! Awesome plugin but since 1.15.2+ and up, the villagers all face south :/
I'm using 1.16.1, and the latest shopkeepers plugin, but still the same.
Please help!
In reply to christianmaskevich:
Make sure that you are actually using the latest version of Shopkeepers. Some server hosters have interfaces for installing plugins but they are not always up-to-date.
In reply to blablubb:
Yep! thank you so much
Could you please make a mod that does the same thing as this plugin?
In reply to AlexanderDerp:
I don't have the time for this, sorry.
Trying to setup a Citizen shop, on 1.16.1, but I get this:
The shop object type 'citizen' is disabled
... but in the config is (even after reloading config, and even after restarting server)
config:
enable-citizen-shops: true
permissions:
shopkeeper.citizen: true
In reply to JennerPalacios:
Make sure the Citizens plugin is installed and enabled and working. Check the server log for errors.
Amazing plugin. Easy to work with, does it job. However, I would suggest being able to change a Slime Shopkeeper's size.
In reply to Forge_User_71182475:
This will be added in the next update. You can adjust the size between 1 and 10 then. This will also apply to magma cubes.
However, there is no ETA for this update yet.
Very good plugin. I use it for trade with item economy (gold, silver). One question: Can you allow to set the max. stack size to 100? It's important for my currency, i need to set a bank shopkeeper to allow changing currency (100 silver - 1 gold).
In reply to FTChristmas:
It's not that easily possible to change the max stack size of items. There is some other plugin trying to attempt something like this, but as far as I am aware it is plagued by issues..