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_58132719:
I don't think this is possible. The plugin does not separate between high and 'low' currency items when you setup the selling or buying trade. Instead it simply remembers a single 'price', which represents the combined low+high currency. And when converting from this price back to currency items it will use the low currency unless it is above the high-currency-min-value, in which case it will convert to high currency items.
Is there a configuration/permission to limit how many pages a player can use per villager?
By default it's 5 pages but I'd like to make it 1.
In reply to Forge_User_74434314:
Nope, it's hardcoded to 5 pages for all shops.
In reply to blablubb:
Damn, that's a shame.
Have you considered allowing for virtual transactions using https://www.spigotmc.org/resources/the-diamond-bank.72020/? i.e I dont need physical diamonds for a diamond purchase if I have a balance of diamonds?
In reply to Meechie1:
The plugin uses minecraft's trading interface, which requires items, and tries to adhere to the vanilla trading logic as close as possible.
In reply to blablubb:
In essence that is what I am bringing up. Essentially use the digital balance passed by vault/essentials and have it converted back to physical currency in the window as an available balance of sorts.
In reply to Meechie1:
So this would basically work like described here? https://github.com/Shopkeepers/Shopkeepers/issues/630
I created a feature request ticket for it, but my time is quite limited currently and there are other features I would rather work on, so don't expect this to be added any time soon... Especially since there are plenty of other ways already for how players could withdraw there vault money into items prior to trading. The referenced plugin for instance already provides a command for that. So the only benefit would be the automation / integration aspect of automatically withdrawing items inside the trading interface.
i created an npc and assigned trait shopkeeper to it, how do i turn it into an admin store now?
In reply to winchester_hots:
If you first created the npc and then turned it into a shopkeeper by manually assigning the trait, it should already by an admin shopkeeper.
The alternative is to create the shopkeeper via "/shopkeeper npc". Make sure you have the Citizens plugin enabled and running, and that you have enabled citizens shops inside the config (it is disabled by default).
is it possible to teleport a store npc from one world to another ?, or from one coordinate to another?
In reply to winchester_hots:
Nope, this hasn't been implemented yet. You either have to freshly setup the shopkeeper, or go into the save.yml file and edit the shopkeeper's coordinates / world manually. But stop the server first and make a backup of the save.yml file in case something goes wrong.
I have the most recent release for both this plugin AND MC (1.15.2)
Shopkeepers are stuck facing one direction still
I read up on how the version needs to be corrected for the MC version.
In this case, if the most recent doesn't work for current MC, which update version do I use?
In reply to amanamaguchi:
Can you check your server log for errors? Ideally, can you upload your server log from server startup (it should include the server version mentioned at the beginning and the complete startup of all plugins running on your server)?
Shopkeeper entities rotate fine for me on my test server, so if they don't for you then it has to be something specific to your setup. Maybe some other plugin is somehow interfering. In order to look into the issue I need to be able to reproduce it.
In reply to blablubb:
https://paste.enginehub.org/E4mka45K
In reply to amanamaguchi:
You have installed 3 different versions of Shopkeepers: v2.8.1, v2.9.0 and v2.9.1. The server ends up using v2.8.1, which is not compatible with MC 1.15.x. Delete Shopkeepers-2.8.1.jar and Shopkeepers-2.9.0.jar from your plugins folder.
Side note: The same applies for the plugins 'HeadDatabase', 'AdvancedEnchantments', and 'QuickShop'.
Hello, I had a problem with your plugin when I put the command / shopkeeper npc I get the following message "The shop object type ´citizen´ is disabled" I do not know if it is a configuration error or error of mine please ask for help
I use 1.14.4
In reply to fleeping_ze:
"/shopkeeper npc" is for creating a Citizens npc for the shopkeeper. You need to both install the Citizens plugin, and enable citizens shops inside the config of the Shopkeepers plugin (it is disabled by default).
In reply to blablubb:
i have the citizens how i can active the shopkeerpers citizens in the config?
In reply to fleeping_ze:
Set setting 'enable-citizen-shops' to true.