ChestShop (iConomyChestShop)
Acrobot released his first Android game, would you mind giving it a go?
ChestShop
A simple, yet very powerful system for making physical shops using signs and chests.
It's never been that easy to create shops! With features like shop protection and anti-lag protection, you won't have to worry about your server's economy anymore!
"Just works"! ChestShop supports almost all economy plugins by using Vault!
(Versions above 3.9.2 also support economy plugins using the Reserve API)
Some known compatible and incompatible economy plugins.
Please check if there are newer development builds before reporting issues!
If you are upgrading from a previous version of ChestShop please make sure to always read the warnings in the file's changelog!
The plugin by default submits anonymous stats about your server (player count, plugin/server version and type) to a public statistics websites (mcstats.org and bstats.org) in order to provide the developers with usage information. If you wish to opt out, you can do so in the PluginMetrics/config.yml and bstats/config.yml files. It also features an auto-update feature, which can be turned off in the config.
Frequently Asked Questions
Permissions
User-made tutorials
Download the latest stable version
Download the latest development version
Download 1.12.2 version
Download 1.8.8 version
Download older versions
API for plugin developers
Source code on GitHub
Crowdin Localization Project
Thread on Bukkit forums
IRC chat (#chestshop on irc.esper.net)
Discord Channel Joining through that invite auto subscribes you to important update notifications, if you don't want that use this invite.
bStats metrics
Additional modules for ChestShop:
ChestShop LegacyIds - allows usage of numeric and old pre 1.13 string IDs on signs
Notification module - to use with Notifications plugin (outdated)
Towny module - to use with Towny plugin
ChestShop Notifier - records all sales, even when the player is offline (Maintained by Phoenix616)
ChestShopTools - Enchantment info signs and empty shop notifier (Maintained by Phoenix616)
Adda - Item display icons above the chest, transaction limit, Discord alerts, per-player shop limit! (User-made)
ChestIcon - Icons for Chests, just like the Showcase plugin! (User-made, broken on newer versions)
Libelula Auto Shop - easy creation of admin shops, using Essentials (User-made)
ChestShopLimiter+ - limits the number of shops per player (User-made, abandoned)
ChestShopListing - Stores shops and transactions in SQL; adds related features including in-game search (User-made)
ChestShopConfirmation - confirmation screen before buying (User-made)
SearchChestShop - search for shops selling certain items (User-made)
BoltChestShop - Add support for Bolt container protections (Made by the Bolt author)
Using shops
It's easy! Just right-click the sign to buy, left-click to sell. (You can configure the buttons in the config file!)
How to create a shop
Player shop
| Place a chest on the ground | |
| Place a sign 1 block away from the chest (for example, above it) | |
| On the sign, write: | ![]() |
| Leave the first line empty. It will be automatically filled with your name by the plugin (if you have the permission ChestShop.admin then you can create shops with the names of other players) | |
| Second line is the amount of items to buy or sell | |
|
Third line is a combination of buy and sell prices. You need to have a price indicator (like 'B' - price that will apply to items BOUGHT by PLAYERS - or 'S' - the SELL price) near the price - the prices are separated by a colon (:) |
Some of the possible price combinations: "B 5:5 S", "B 5", "S free" |
|
The forth line will hold the id/name of the item. Write ? on the sign and the item will be autofilled with the one from the chest or you can click on the sign with the item afterwards. Optionally you can put the actual name on it. You can find out the name of the item you're holding by doing /iteminfo |
|
| Resulting Shop | ![]() |
| A person can buy 64 diamonds for 10 dollars and sell them back for 5 dollars from Phoenix616 |
If you want you can also take a look at this video tutorial.
Admin Shop - shop with unlimited items
Firstly, you've got to be sure that you've the ChestShop.admin permission or that you are an OP. To make an Admin Shop, simply put "Admin Shop" (configurable in config.yml) on the first line of the sign when creating the shop. Admin Shops do not require a chest!
Translations
- /iteminfo - Get information about the item in your hand
- /iteminfo <id/name> - Get information about the item with the given id or name
- /shopinfo - Get information about the looked-at shop
- /csgive <itemcode> [<amount>] [<player>] - Give item with a unique ChestShop code to a player
- /cstoggle - Toggle buy and sell notificiation messages
- /chestshop version - Display the ChestShop version
- /chestshop reload - Reload the ChestShop config and translation messages. (This might not reload some features)
- /csaccess - Toggles ability to buy/sell on shops while having admin/access permissions and normally being ignored
Permission nodes
| Description | ||
|---|---|---|
| ChestShop.shop.* | shop creation and buying/selling - it contains: | |
| ChestShop.shop.create.* |
create all types of shops |
|
| ChestShop.shop.buy | buy any item from shop | |
| ChestShop.shop.sell | sell any item to shop | |
| ChestShop.mod | open any shop chest | |
| ChestShop.admin | open any shop chest, destroy stores, create (admin) shops |
A full list of permission nodes
Configurations
Useful tips by players
| How not to get bankrupt | A customisable price table |
| Alternative price table |
Compatibility
ChestShop directly hooks into the following plugins to provide additional functionality:
- AuthMe (and forks like AuthMe Reloaded)
- WorldGuard
- Residence
- LWC (and forks like LWCX and Modern-LWC)
- Lockette
- LockettePro
- Deadbolt
- SimpleChestLock
- OddItem
- Heroes
- ShowItem
Metrics
This resource sends metrics data to McStats and bStats. You can opt-out of metrics for all plugins on your server by changing the settings in the PluginMetrics/config.yml and the bStats/config.yml file if you don't want any data to be send.
More info
Even more information can be found in the old plugin thread on the forums.
Got an error or suggestion?
Simply submit a ticket here!
If you have a Github account and have coding knowledge you can also directly open an issue on Github. (You can also fund them via IssueHunt!)
If you just need general help feel free to ask in the comments or join the #chestshop channel on Spigot's IRC network (irc.spi.gt, webchat)
Has ChestShop helped you or your server?
If you want to thank the team in a more materialistic way, feel free to donate or buy Phoeni616 a beer! :)
A shout-out to Acrobot's friend:
We believe that the music he makes is really stunning - you can decide it for yourself!
If you have an issue then please open a ticket on GitHub or post on SpigotMC.org for faster replies to questions!


-
View User Profile
-
Send Message
Posted Jan 28, 2013@KittyHopHop
Agreed
-
View User Profile
-
Send Message
Posted Jan 28, 2013The Brazilian language is not working my chestshop always buga the local.yml what do I do?
-
View User Profile
-
Send Message
Posted Jan 28, 2013v3.50.t0041, players can still dupe. I'm abandoning this plugin.
-
View User Profile
-
Send Message
Posted Jan 28, 2013If a user doesnt have perms to make a shop, They can still make a shop that says:
alex_markey 1 B 500 S Dirt
It will then say Shop Successfully Created (Idk if thats even a valid shop)
-
View User Profile
-
Send Message
Posted Jan 28, 2013Basically you can make a shop in then send a tpa, then open a chest, the person accepts the teleport, you take the stuff, go back, and it dupes
-
View User Profile
-
Send Message
Posted Jan 28, 2013@bebosny
Change permissionsEX as that is causing the problem.
I had this problem with a few plugins until i changed my permissions plugin.
[Guy on pex irc told me to change as pex has bugs]
-
View User Profile
-
Send Message
Posted Jan 28, 2013ChestShop is lagging too much.
-
View User Profile
-
Send Message
Posted Jan 28, 2013@bebosny
I have the same problem. Permissions don't work. Please fix..
-
View User Profile
-
Send Message
Posted Jan 28, 201317:26:34 [SEVERE] Could not pass event SignChangeEvent to ChestShop v3.50t0041 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java :1377) at net.minecraft.server.v1_4_R1.Packet130UpdateSign.handle(SourceFile:46 ) at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290 ) at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java :113) at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:5 98) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:2 24) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:4 94) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java :427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:8 49) Caused by: java.lang.NullPointerException at net.minecraft.server.v1_4_R1.EnchantmentWeaponDamage.canEnchant(Sourc eFile:77) at org.bukkit.craftbukkit.v1_4_R1.enchantments.CraftEnchantment.canEncha ntItem(CraftEnchantment.java:55) at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:415) at org.bukkit.inventory.ItemStack.addEnchantments(ItemStack.java:397) at com.Acrobot.Breeze.Utils.MaterialUtil.getItem(MaterialUtil.java:177) at com.Acrobot.ChestShop.Listeners.Block.SignChange.onSignChange(SignCha nge.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 14 more
-
View User Profile
-
Send Message
Posted Jan 28, 2013@Lakesideminecraft It is fixed. You're just not using the latest ChestShop version.
@Simo389 Sorry, but for some reason Pastebin doesn't open for me today :/
-
View User Profile
-
Send Message
Posted Jan 27, 2013PLEASE, fix the glitch where people can rename items with an anvil and sell them without losing them from their inventory!
-
View User Profile
-
Send Message
Posted Jan 27, 2013@pcatack Sorry, but it's not the plugin, it's EBean - which is used by Bukkit. And it's caused by the lack of MySQL connector in your bukkit server's path, while you are trying to use MySQL.
-
View User Profile
-
Send Message
Posted Jan 27, 2013This plugin is break...
Im using the last version with this error:
21:11:50 [SEVERE] Error occurred while enabling ChestShop v3.50t0041 (Is it up to date?) java.lang.RuntimeException: An exception has occured while initializing the database at com.lennardf1989.bukkitex.Database.initializeDatabase(Database.java:78) at com.Acrobot.ChestShop.ChestShop.setupDB(ChestShop.java:222) at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:81) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.RuntimeException: Failed to create a new instance of the EbeanServer at com.lennardf1989.bukkitex.Database.loadDatabase(Database.java:155) at com.lennardf1989.bukkitex.Database.initializeDatabase(Database.java:73) ... 13 more Caused by: javax.persistence.PersistenceException: Problem loading Database Driver [org.mysql.JDBC]: org.mysql.JDBC at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.initialise(DataSourcePool.java:234) at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.<init>(DataSourcePool.java:208) at com.avaje.ebeaninternal.server.lib.sql.DataSourceManager.getDataSource(DataSourceManager.java:210) at com.avaje.ebeaninternal.server.lib.sql.DataSourceGlobalManager.getDataSource(DataSourceGlobalManager.java:63) at com.avaje.ebeaninternal.server.core.DefaultServerFactory.getDataSourceFromConfig(DefaultServerFactory.java:427) at com.avaje.ebeaninternal.server.core.DefaultServerFactory.setDataSource(DefaultServerFactory.java:388) at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:168) at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64) at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78) at com.lennardf1989.bukkitex.Database.loadDatabase(Database.java:153) ... 14 more Caused by: java.lang.ClassNotFoundException: org.mysql.JDBC at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.avaje.ebeaninternal.api.ClassLoadContext.forName(ClassLoadContext.java:73) at com.avaje.ebeaninternal.api.ClassUtil.forName(ClassUtil.java:53) at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.initialise(DataSourcePool.java:232) ... 23 more
-
View User Profile
-
Send Message
Posted Jan 27, 2013Hello, I am using PermissionsEx and I was trying to make it so only a certain group can use the shop, I added the right permission but default players can still use it. Is there anything I should change in the config? How can I Make this work?
Thanks
-
View User Profile
-
Send Message
Posted Jan 27, 2013@Puremin0rez To be honest, this seems like a WorldGuard problem, with event priorities - I'm listening on "normal" priority, while WG seems to be doing so on "HIGHEST" - which essentially makes plugins inoperable. I'll try doing what I can.
@OnkelBobsan Seriously? Please read the comments. It's been responded to for at least 200 times. I can't do anything, because Bukkit is BROKEN.
https://bukkit.atlassian.net/browse/BUKKIT-3021
If you want this bug to be seen by Bukkit team, please comment on it - it'll help.
@Jojodmo2010 You've done something wrong with plugin.yml. I'm fairly sure you haven't just changed it to "false". Again, re-download ChestShop and try just doing "replace" - from "default: true" to "default: false", nothing else.
@SheerAwesomeness Hmm, not really - ChestShop saves only ItemStack during transaction, not its custom name - if you create a ticket, for it, though, I might be able to change it.
@xcraftminebob Yup, in fact, using Vault is encouraged.
@UnitedFactions Sorry, but the reply link was wrong - what kind of issues are you having?
@pcatack Well, complaining surely won't help - the best one working for 1.4.7 is the test version.
@zonta_b @Stealth007 Not if you're using the latest test version.
@DarmaMoo Any errors in the console?
-
View User Profile
-
Send Message
Posted Jan 27, 2013There a bug that when you change the name on an anvil you can sell the iem unlimited of time Please fix this it's really annoying
-
View User Profile
-
Send Message
Posted Jan 26, 2013The players are able to make chest shops but can't buy from them. Right or left clicking the signs don't do or show anything. Any idea what's happening? I've checked the permissions and all looks good.
-
View User Profile
-
Send Message
Posted Jan 26, 2013There a bug that when you change the name on an anvil you can sell the iem unlimited of time
-
View User Profile
-
Send Message
Posted Jan 26, 2013OMG I need the new version for 1.4.7, this version doesnt work good..
-
View User Profile
-
Send Message
Posted Jan 26, 2013@xcraftminebob
Acrobot having issues too here ;0 Please fix!