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!
@Lisosaurus
nope, already tried that, it fixes the normal villagers as I suspected, but the shopkeepers still dont work, I can only access the shift right click edit menu, but i cant trade stuff
@ronneke1996
Check in the config. The first line should be:
To fix your issue, you need to set it to false. So that means it should be:
Edit: Just realized that's not entirely the issue; that should fix regular villagers at least. Not sure about the shopkeepers part not working. :/
Can you make it so it supports lores and colored names??
@excavator5
O yeah please PM me that link if you want :D It wil really help me out
Hi, I'm getting this error, why is that? thanks
09.09 17:55:50 [Server] INFO ... 33 more 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 09.09 17:55:50 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) 09.09 17:55:50 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 09.09 17:55:50 [Server] INFO at sun.reflect.GeneratedMethodAccessor498.invoke(Unknown Source) 09.09 17:55:50 [Server] INFO at com.nisovin.shopkeepers.CreeperListener.onExplode(CreeperListener.java:54) 09.09 17:55:50 [Server] INFO at org.bukkit.event.entity.EntityEvent.getEntityType(EntityEvent.java:32) 09.09 17:55:50 [Server] INFO Caused by: java.lang.NullPointerException 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:571) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.WorldServer.tickEntities(WorldServer.java:517) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.World.tickEntities(World.java:1336) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.World.playerJoinedWorld(World.java:1467) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.World.entityJoinedWorld(World.java:1492) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.EntityCreeper.l_(EntityCreeper.java:102) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.WorldServer.createExplosion(WorldServer.java:846) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.World.createExplosion(World.java:1770) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.Explosion.a(Explosion.java:220) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 09.09 17:55:50 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) 09.09 17:55:50 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 09.09 17:55:50 [Server] INFO at sun.reflect.GeneratedMethodAccessor506.invoke(Unknown Source) 09.09 17:55:50 [Server] INFO at com.earth2me.essentials.protect.EssentialsProtectEntityListener.onEntityExplode(EssentialsProtectEntityListener.java:221) 09.09 17:55:50 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftWorld.createExplosion(CraftWorld.java:465) 09.09 17:55:50 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftWorld.createExplosion(CraftWorld.java:469) 09.09 17:55:50 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftWorld.createExplosion(CraftWorld.java:457) 09.09 17:55:50 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftWorld.createExplosion(CraftWorld.java:461) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.WorldServer.createExplosion(WorldServer.java:846) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.World.createExplosion(World.java:1770) 09.09 17:55:50 [Server] INFO at net.minecraft.server.v1_6_R2.Explosion.a(Explosion.java:220) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 09.09 17:55:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 09.09 17:55:50 [Server] INFO org.bukkit.event.EventException 09.09 17:55:50 [Server] SEVERE Could not pass event EntityExplodeEvent to Shopkeepers v1.15.1
@ronneke1996
I have not found a fix for it. I am trying to run another plugin right now that does the same thing. I will let you know if it works and link you to it in a PM.
Having Trouble? Check out my Video! Your text to link here...
I got exactly the same problem, does somebody know how to fix this?
@excavator5 So I have to use the 1.5.2 version since I am running a Feed The Beast modpack. Prior to adding the plugin I could trade with villagers, after I could not. I am fully able to create a shop and add/remove items from it and name it. However, I cannot right-click it to view the shop, neither can anyone that is not op'd. Ive used the debug, ran over the config a few times now and cannot figure out what would cause it. Hopefully you could give me a tip?
When i put in an items with a custom colored name or lore and restart the server the lore and the colored name disappears
Sometimes mine just disappear, saying that the plugin was unable to spawn shopkeeper at x,y,and z. They're in perfectly good locations, not over lava or anything like that, so I don't know why this is happening.
@X_angelz_X
my video shows how http://youtu.be/4Vq-EIUp66I
@Coxblox
i have a video showing how to create them http://youtu.be/4Vq-EIUp66I
AWESOME,i will make a review about it!
I am guessing that this plugin is no longer being supported .. several people have put in tickets and have not received any response .. my ticket is around 2 weeks old ..
Can u add citiziens support ?
What about creating Witchshopkeepers by Command? you always need a spawner now!
@Coxblox
Signs shops seem to be broken. They don't persist over server restarts. Anyone else experiencing this?
How do you delete a Shopkeeper? ._.
@Coxblox
Same here.
Plugin works great except sometimes shopkeepers turn into regular villagers and just wander around with their name tag around their head, another shopkeeper gets spawned in their place and the process repeats.