ChestShop (iConomyChestShop)

ChestShop logo - mini

I released my 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"! Don't worry about your economy plugin, ChestShop supports all of them with Vault).

The plugin by default submits anonymous stats about your server (player count, plugin/server version and type) to a public statistics website - mcstats.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 file. It also features an auto-update feature, which can be turned off in the config.

Additional modules for ChestShop:

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:Sign
First line will be filled by the plugin automatically
Price 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"
You can find out the name of the item you're holding by doing /iteminfo
For exampleExample sign
A person can buy 64 diamonds for 10 dollars and sell them back for 5 dollars from AcrobotPL

Admin Shop - shop with unlimited items

Firstly, you've got to be sure that you've the ChestShop.admin permission / you are an OP. To make an Admin Shop, simply put "Admin Shop" (configurable in config.yml) on the first line of the sign.

Translations

Here is a list of player-made translations: Translation list

Permission nodes

Description
ChestShop.shop.*shop creation and buying/selling - it contains:
ChestShop.shop.create.*create all types of shops
ChestShop.shop.buybuy any item from shop
ChestShop.shop.sellsell any item to shop
ChestShop.modopen any shop chest, destroy stores
ChestShop.adminopen any shop chest, destroy stores, create admin shops

A full list of permission nodes

Useful tips by players

How not to get bankruptA customisable price table
Alternative price table

Full plugin description

For full plugin description, visit the plugin's thread on Bukkit forums.

Got an error or suggestion?

Simply submit a ticket here!

Has ChestShop helped you or your server?

If you want to thank the team in a more materialistic way, feel free to donate! :)

Donate

A shout-out to my friend

I believe that the music he makes is really stunning - you can decide it for yourself!

His SoundCloud account

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ProjectInfinity ProjectInfinity Apr 22, 2012 at 02:03 UTC - 0 likes

    I decided to turn on statistics page generation, however.. The intervals mentioned, what are they measured in? Seconds?

  • Avatar of jaaaaaaaaaaack jaaaaaaaaaaack Apr 22, 2012 at 00:53 UTC - 0 likes

    @Acrobot: Go

    Hey there again. No, the database is on the localhost. I saw the source code from the method that is causing delay and found nothing. Gotta take a look deeper.

  • Avatar of Robert107 Robert107 Apr 21, 2012 at 23:33 UTC - 0 likes

    @erik1988: Go

    @Acrobot: Go

    Got the same problem here!

  • Avatar of deleted_7536780 deleted_7536780 Apr 21, 2012 at 22:37 UTC - 0 likes

    08:18:58 [SEVERE] Could not pass event SignChangeEvent to ChestShop org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1265) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:216) at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at com.griefcraft.util.ProtectionFinder.tryLoadProtection(ProtectionFinder.java:242) at com.griefcraft.util.ProtectionFinder.matchBlocks(ProtectionFinder.java:103) at com.griefcraft.lwc.LWC.findProtection(LWC.java:1155) at com.Acrobot.ChestShop.Protection.Plugins.LWCplugin.isProtected(LWCplugin.java:24) at com.Acrobot.ChestShop.Protection.Security.isProtected(Security.java:49) at com.Acrobot.ChestShop.Protection.Security.canBePlaced(Security.java:63) at com.Acrobot.ChestShop.Protection.Security.canPlaceSign(Security.java:55) at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:83) 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.java:301) ... 12 more

  • Avatar of erik1988 erik1988 Apr 21, 2012 at 19:21 UTC - 0 likes

    Yeah i got world guard. I have tried to make double chest inside world guard region, towny and "the wild" (no regions). Non of them worked, always gets the "[shop] you dont got permissions...". I alos use the latest dev build of bukitt, deadbolt 2.1.2 (the latest version dont work that well for me.), latest dev build of world guard and last stable release of towny

    @clownfish8 I think you can use every iconomy account, i use my towny account which is town-"TownNAME" (ex. town-ludo) and it works great.

  • Avatar of clownfish8 clownfish8 Apr 21, 2012 at 18:47 UTC - 0 likes

    Is it possible to to make a shared iconomy account and use it with chestshops. So 2 players could co-own a shop and access the $ together?

  • Avatar of Acrobot Acrobot Apr 21, 2012 at 17:56 UTC - 0 likes

    @erik1988: Go Ok, I'll check that, but it didn't happen to me :/ Have you got WorldGuard?

  • Avatar of erik1988 erik1988 Apr 21, 2012 at 17:32 UTC - 0 likes

    No i just try to place two chest beside each other. There is not any private signs or shops within close range. When i tried i was in a towny town, and im the mayor. But i think other people have had the same problem outside of towny.

    When i had the problem i went back to 3.39 and then the problem seems to go away, but im not sure if its the version it self or if it was the rs of the server that solved the problem. I have put 3.40 back in now, and people are complaining that they cant make double chests.

    THIS IS MY CONFIG:

    PREFERRED_ECONOMY_PLUGIN: "iConomy"

    1. Preferred economy plugin (iConomy, BOSEconomy, Essentials). If you do not want to specify this, leave it blank. REVERSE_BUTTONS: false
    2. If true, people will buy with left-click and sell with right-click. ALLOW_LEFT_CLICK_DESTROYING: false
    3. If true, if you left-click your own shop sign you won't open chest's inventory, but instead you will start destroying the sign. STACK_UNSTACKABLES: false
    4. If true, ALL things (including food, etc.) will stack up to 64 SERVER_ECONOMY_ACCOUNT: "northkonto"
    5. Economy account's name you want Admin Shops to be assigned to ADMIN_SHOP_NAME: "Admin Shop"
    6. First line of your admin shop should look like this SHOP_CREATION_PRICE: 500
    7. Amount of money player must pay to create a shop LOG_TO_FILE: false
    8. If true, plugin will log transactions in its own file LOG_TO_CONSOLE: true
    9. Do you want ChestShop's messages to show up in console? LOG_TO_DATABASE: false
    10. If true, plugin will log transactions in EBean database GENERATE_STATISTICS_PAGE: false
    11. If true, plugin will generate shop statistics webpage. STATISTICS_PAGE_PATH: "plugins/ChestShop/website.html"
    12. Where should your generated website be saved? RECORD_TIME_TO_LIVE: 600
    13. How long should transaction information be stored? STATISTICS_PAGE_GENERATION_INTERVAL: 60
    14. How often should the website be generated? USE_BUILT_IN_PROTECTION: true
    15. Do you want to use built-in protection against chest destruction? PROTECT_CHEST_WITH_LWC: false
    16. Do you want to protect shop chests with LWC? PROTECT_SIGN_WITH_LWC: false
    17. Do you want to protect shop signs with LWC? MASK_CHESTS_AS_OTHER_BLOCKS: false
    18. Do you want to mask shop chests as other blocks? HIGHLY EXPERIMENTAL, CAN LAG! SHOW_MESSAGE_OUT_OF_STOCK: true
    19. Do you want to show "Out of stock" messages? SHOW_TRANSACTION_INFORMATION_CLIENT: true
    20. Do you want to show "You bought/sold... " messages? SHOW_TRANSACTION_INFORMATION_OWNER: true
    21. Do you want to show "Somebody bought/sold... " messages? TOWNY_INTEGRATION: false
    22. Do you want to only let people build inside shop plots? WORLDGUARD_INTEGRATION: false
    23. Do you want to only let people build inside plots? TAX_AMOUNT: 10
    24. Percent of the price that should go to the server's account. (100 = 100 percent) SHOP_REFUND_PRICE: 500
    25. How much money do you get back when destroying a sign? IGNORE_CREATIVE_MODE: true
    26. Do you want to allow using shops to people in creative mode? ALLOW_MULTIPLE_SHOPS_AT_ONE_BLOCK: false
    27. Do you want to allow other players to build a shop on a block where there's one already? SHOP_INTERACTION_INTERVAL: 400
    28. (In 1/1000th of a second) How often can a player use a shop sign? TOWNY_SHOPS_FOR_OWNERS_ONLY: true
    29. If true, only plot owners are able to build inside a shop plot. If false, every town's resident is able to build there. SERVER_TAX_AMOUNT: 10
    30. Percent of the price that should go to the server's account when buying from an Admin Shop HEROES_EXP: 100
    31. How much Heroes exp should people get for creating a ChestShop? BLOCK_UPDATE: false
    32. EXPERIMENTAL: Should every ChestShop transaction result in a block update? ALLOW_PARTIAL_TRANSACTIONS: true
    33. Can shops be used even when the seller doesn't have enough items? (The price will be scaled adequatly to the item amount)

    ALLOW_SIGN_CHEST_OPEN: true

    1. Can shop's chest be opened by owner with right-clicking a shop's sign? WORLDGUARD_USE_FLAG: false
    2. Do you want to only let poeple build inside region flagged by doing /region regionName flag chestshop allow?
  • Avatar of Acrobot Acrobot Apr 21, 2012 at 17:09 UTC - 0 likes

    @erik1988: Go Hmm, but is the chest protected?

  • Avatar of erik1988 erik1988 Apr 21, 2012 at 16:37 UTC - 0 likes

    A guy commented on this problem on the deadbolt page. seems like it might be a conflict. I only get "[shop] you dont have premssion to do that" in the chat window when i try to place a chest next to another chest.

Facts

Date created
Aug 25, 2011
Categories
Last update
Aug 13, 2014
Development stage
Mature
Language
  • deDE
  • enUS
  • esES
  • frFR
  • itIT
  • plPL
  • ptBR
  • ruRU
  • zhCN
  • zhTW
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
ChestShop (iConomyChestShop)
Downloads
3,656,150
Recent files
  • R: v3.7.17 for CB 1.7.9-R0.2 Aug 13, 2014
  • R: v3.7.16 for CB 1.7.9-R0.2 Jul 28, 2014
  • R: v3.7.15 for CB 1.7.9-R0.1 Jul 13, 2014
  • R: v3.7.9 for CB 1.7.2-R0.3 Jun 01, 2014
  • R: v3.7.8 for CB 1.7.2-R0.3 Apr 01, 2014

Authors

Relationships

Optional dependency
Lockette
LWC
Towny Advanced
Vault
WorldGuard