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 Apr 10, 2012I realized that i had an error with chestshop when first starting the server. here it was. Any solutions? (along with comment 793.) 4:13:44 [INFO] [ChestShop] LWC version 4.1.1 (b645-git-b24cc99e) loaded. 4:13:44 [SEVERE] Error occurred while enabling ChestShop v3.39 (Is it up to dat ?) ava.lang.NullPointerException at com.Acrobot.ChestShop.Config.Config.getBoolean(Config.java:17) at com.Acrobot.ChestShop.Utils.WorldGuard.uWorldGuard.injectHax(uWorldGu rd.java:17) at com.Acrobot.ChestShop.Listeners.pluginEnable.initializePlugin(pluginE able.java:68) at com.Acrobot.ChestShop.Listeners.pluginEnable.initializePlugins(plugin nable.java:35) at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:57) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage .java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
-
View User Profile
-
Send Message
Posted Apr 10, 2012@mantegudo I can't :/ I am just using the built-in-Bukkit EBean, so I am not really "handling" the database.
@Darrennick I don't know, check your config.
@ChrissWR1 It's already on the TO-DO list.
@McThyzer Hmm, I'm adding the flag in a "hacky" way :/ If you want to disable it, and only allow shops in all regions, use this:
http://dl.dropbox.com/u/11388037/Bukkit/ChestShop.jar
And toggle the USE_FLAG option in config.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@Rifle12212
That would be your Essentials mod.
Take a look in your plugins folder and look for EssentialsProtect.jar and remove that.
I used to have EssentialsProtect but it didn't really do anything apart from flood me with messages so in the end, I removed that.
-
View User Profile
-
Send Message
Posted Apr 9, 2012Hi, Im having an issue I really cant figure out. I made an admin shop. The sign was correct, like this
First line: Admin Shop second Line: 1 Third line: B 5 fourth line: Apple
Players could not buy or sell from the shop. They had enough money. All it says is [Essentials Protect] and a name, and that the sign has been registered by me (LWC). i removed both protections but it still did not make a difference. Its in a world guard region, but it doesent work outside of the region either. I use Iconomy and PEX. I have set the permissions for buying , selling and creating the shops for the default person. Even OP's cannoy buy from the shop. When i type /plugins the plugin is there in green. I do have the iteminfo command that came with chestshop. The server is updated to 1.2.5. Please help!
-
View User Profile
-
Send Message
Posted Apr 9, 2012Could you tell me the reason why buy/selling clicked has swapped around to left=sell right=buy?
-
View User Profile
-
Send Message
Posted Apr 9, 2012@Acrobot
Hello, I'm getting some violations of primary key these days, everytime it starts SPAMs my console I need to access my MySQL database and remove the duplicated record and the ones after it and the error stops! Is there anything you can do to stop it? Like get the lastest record ID before execute the insert query?
Thank you!
-
View User Profile
-
Send Message
Posted Apr 9, 2012Hi guys,
I used this plugin on the server and it is very good. But I missed one feature to be perfect: dynamic prices. I think it would be very nice, if ChestShop could get the prices for AdminShops from DynamicEconomy or from Vault, if this is possible.
Thank you for this great plugin ChrissWR1
-
View User Profile
-
Send Message
Posted Apr 8, 2012@Acrobot No, a regular restart... /save-all /stop
Then the flag is removed... the server restarts every day at 3 o clock... so the user have to wait for a Mod resetting the flag :( Hope we'll find a fix.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@Acrobot
pistons now working... cmon... i tryed the name Pison and the id 33 but nothing is working... its just saying this shop is out of stock and i have a hole chest full of pistons...
-
View User Profile
-
Send Message
Posted Apr 8, 2012@Acrobot
The piston ID when i put it is different.
So i put 29 for sticky piston but when i put it, the ID changed to 29:7 or the Piston to 33:7.
Now i can't sell the items back.
-
View User Profile
-
Send Message
Posted Apr 8, 2012Ok so i am using BOSEconomy, How do i get it to work with that? And i claimed safezone how do i make players that are not OP to use Admin Shops there?
-
View User Profile
-
Send Message
Posted Apr 8, 2012@rickky2 Well, that's not possible, unfortunately.
@McThyzer Are you sure you aren't doing /reload? WorldGuard doesn't like that :/
-
View User Profile
-
Send Message
Posted Apr 8, 2012@Acrobot
I want default show odditem aliases if i enter the item id.
-
View User Profile
-
Send Message
Posted Apr 8, 2012When i set the Flags für Worldguard and make a Serverreload the Flag is removed... Anyone can help me? :(
-
View User Profile
-
Send Message
Posted Apr 8, 2012@KyleBoyer Well, the plugin doesn't use any of those plugins by default (only WorldGuard integration can be turned on in the config) I bet it was something other.
@cet0 Ok, I think I see the flaw in my code :)
-
View User Profile
-
Send Message
Posted Apr 7, 2012This plugin disables my use of CommandBook, WorldGuard, and WorldEdit. Before I had this installed they worked, now I install this, they dont... I tryed to turn on that setting in the config, but it made no difference...
-
View User Profile
-
Send Message
Posted Apr 7, 2012@Acrobot : All tools work with stackable enchant. helmet (or all armor) dont work with protect4+respiration3 for exemple.when I bought it, there is no enchant.
-
View User Profile
-
Send Message
Posted Apr 7, 2012@cet0 Yeah - stackable enchantments don't work, that's due to the nature of Minecraft. However, multiple enchantments on one item should work fine.
What item are you trying to enchant? What enchantments has it got?
-
View User Profile
-
Send Message
Posted Apr 7, 2012I just tried with a single enchant it work. But if I want to sell a piece with the more enchanted its not work. So here :)
Stackable enchant not work ^ ^
-
View User Profile
-
Send Message
Posted Apr 7, 2012I have some trouble with this plugin. Plugin ignore my perrmissionex. User cant create shop(havent perm. ChestShop.shop.create), but still can. How can i resolve this problem?