[ECON] ChestShop 3.7.18 (iConomyChestShop) - Chest&sign shop for economy plugins [1.8]

Discussion in 'Archived: Plugin Releases' started by Acrobot, Feb 12, 2011.

  1. Offline


    An easy way to create shops - no protection plugin needed!
    You don't need to be on-line to earn money anymore!
    I've put a LOT of effort into making this plugin,
    you can donate if you appreciate my effort =)

    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    - For additional economy plugin support - Vault
    - For Permissions: bPermissions, PEX, or any other permission plugin
    - For additional protection: LWC, Lockette, Deadbolt
    - For other item names (aliases): OddItem

    Copy the .jar file from the .zip you downloaded into /plugins folder.
    You can also copy the example files if you want to generate statistics page.

    You can change the plugin's language, here's a list of all user-made translations.
    If you want to update or submit a translation, feel free to PM me.
    Translations (open)

    Arabic - Attarhsase2
    Bulgarian - Muff1Ncho
    Czech - LordPgsa
    Chinese (Simplified) - tab415263
    Danish - Cannafix
    Dutch - speedlegs
    French- DragonSlayer875
    German - RasCas
    Hungarian - Anachen
    Indonesian - Yahya98
    Italian - Massimo1993
    Korean - Zwing87
    Norwegian - _AlexN_ and TheUnkownGamer
    Polish - Holls1
    Portugese (Brasil) - FelipeMarques14
    Russian - VADemon from http://minemania.ru/
    Slovak - LordPgsa
    Slovenian - jEErc
    Spanish - thxaaaa
    Swedish - Maxell
    Turkish - Developer
    Traditional Chinese - hellboyincs
    Vietnamese - etrubi1 from http://minevn.com/

    How to create a ChestShop?
    - Place a chest, if you haven't already.
    - Place a sign 1 block near the chest (for example, above the chest)
    - On the sign, write:

    (Item name can actually be item ID or alias)
    First line will be filled in by the plugin automatically.
    Price is a combination of buy and sell price.
    You have to have B near buy price (people buy from you), and S near sell price (people sell to you).
    If you have both B and S, separate them with a colon - :
    For example:

    means that AcrobotPL wants to sell 64 diamonds for 10 currency, and buy them back from you for 5 currency.
    Also, if you put "free" instead of price, it is free to buy or sell :)

    - Now, when you finish editing the sign, if LWC is turned on in config, shop will be automatically created.
    Also, if your default protection is turned on in the config, people won't be able to break chest, sign or the block the sign is on.

    What is an Admin Shop?
    Admin shop is the shop that doesn't require a chest, because it has infinite stock.
    If you sell to it, the items will disappear, and if you buy from it, items will magically appear.
    To create one, you have to be Admin/OP. Just put "Admin Shop" (or anything specified in config file) on the first line of the sign.

    Restricting shops to some groups or regions
    You can either use permissions, or you can just put a sign ABOVE shop sign (you need to be in that group to create the sign) to restrict it to players with ChestShop.group.groupName permission
    The syntax is:
    Only those groups will be able to use that shop

    To restrict a shop to some regions:
    - If you're using Towny, turn TOWNY_INTEGRATION on. Residents will be able to create shops in economy plots (either their or, if specified in config, any)
    - If you're using WorldGuard, you can use an experimental "chestshop" flag. Turn WORLDGUARD_INTEGRATION on and flag a region. (f.e. /region flag ChestShopRegion chestshop allow)

    Do you want to limit the maximum prices for items?
    Well, there's an app.... wait, not that : P
    You can use an experimental feature in ChestShop.
    In your config.yml, add lines like:
    max-buy-price-5: 14
    max-sell-price-5: 15

    That means that the maximum price for items BOUGHT by PLAYER is 14, and items SOLD by PLAYER using the shop is 15.

    You can also use a global setting, like this:
    max-sell-price: 200

    That means that the maximum price for items SOLD to PLAYER is 200 (if there is, for example, a max-sell-price-5 found, it will be used instead of the global sell price)

    You could buy and sell by right and left clicking the sign for a long time.
    Now it's the only way to use the shops.
    It's SIMPLE!
    Just LEFT-CLICK to SELL to shop, and
    RIGHT-CLICK to BUY from shop.
    (This can be changed in the config file)

    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)

    You can either open the chest and stock it up, or click on your own sign - it will open chest's inventory (that way you can have chests not openable by other people for sure :D)

    ItemInfo command
    It's a simple command that shows item information.
    If you use it without any arguments, it shows you information about the item you're holding.
    If you specify item id or item name after the command, it will show you information about that item.

    Source code
    ChestShop is Open-Source =)
    You can find its code on https://github.com/Acrobot/ChestShop-3

    Thanks to:
    - kali876, ziomekYOYO and Herocraft server for testing the plugin and finding every little bug =)
    - Everyone who uses this plugin - really big thanks for this, I never thought it will be so popular
    - Everyone who provided translation - many people's lives will be easier now
    - @Nijikokun for Register
    - @LennardF1989 for awesome Persistence Reimplemented
    - @Temaska for fixing the plugin while I was on holidays
    - @VADemon for providing a great support for other users
    - @Euthyphro for his patience and really good bug spotting
    - vagrant326 for making a great price sheet
    - Epics for his great help
    If something's not working
    You can't change the sign color - that breaks the formatting.
    If that's not the issue, please give me this information, so I can help you faster.
    - CraftBukkit version (type /version in chat)
    - ChestShop version (type /csversion in chat)
    - Your economy plugin (iConomy? BOSEconomy? other one?)
    - Have you got any Permission plugin? Which one?

    Changelog (open)

    Changelog can be found on BukkitDev - http://dev.bukkit.org/server-mods/chestshop/files/
  2. Offline


    Does pex perimssions work, and I gave the permission nodes to the groups and it still didnt work, even for me
  3. Offline

    John Adams

    I have the exact opposite problem. Right now I have a lower class with no permission nodes for buy or sell but i have the class above it with the permission node and it inherits the lower class. The problem is that now all classes have permission to use the admin shop to buy and sell. I have the nodes right and everything, its weird though b/c they dont even have the nodes yet they can use the Shop. BTW I am using PermissionEx on cb1185.
    Update: Ok so I figured it out on my own, In permissionsEx for chest shop i gues u have to put
    - -ChestShop.shop.* for the lower clas that u do not want to use the shops. I have tested it on mine and it works, also if u have the class above it set to use shop u can still let it inherit the traits of the lower class as long as you put the positive node in.
  4. Offline


    Can you make it so creative mode users don't break the signs / chests on the first hit?
  5. Offline


    No, you don't need to restart the server.

    Yep - it works. However, you might have broken configuration (too many/not enough spaces).

    Yeah, but how would they break them? By double hitting the sign/chest?
  6. Do you have any protection plugin like LWC? Then protect it (/cprivate)
    You could try to protect the region with WorldGuard. You see there're many possibilites
  7. Offline


    It could have its uses. I for instance might add a Admin shop with stacks of 64 cobblestone for free, so users can build anything they want out of cobblestone with an unlimited supply. It would have no value for selling it back either. Every other material they might need would have a price.
  8. What I meant was that it would be a stupid idea to add it to shops that EXCHANGE ONE TYPE OF ITEM FOR OTHER TYPE OF ITEM. Yes, "free" is useful for "normal" shops where you normally should pay money.
  9. Offline


    In PermissionBukkit:
    ChestShop.shop.create: true

    but user receive "You don't have permissions to access this chest!"


    With OP works fine

    haelp me plz!

    Plugins: Residence, FalseBookBlock, FalseBookChat, RealWeather, Essentials, MinecraftViewer, Questioner, PermissionsBukkit, EssentialsChat, MinecartManiaCore, Lockette, MinecartManiaSignCommands, FalseBookIC, WorldEdit, Xray Detection, FalseBookCore, FalseBookExtra, ChannelChat, iConomy, xAuth, Multiverse-Core, BigBrother, MinecartManiaAutomations, MinecartManiaAdminControls, Multiverse-Portals, Permissions, EssentialsGeoIP, dynmap, EssentialsSpawn, MinecartManiaStation, MinecartManiaMining, Multiverse-NetherPortals, MinecartManiaChestControl, Jobs, Register, Towny, ChestShop, Train Carts, properTime
  10. Offline


    No Problem i loved this plugin!
    Now im just trying to find out how to make a 1.9.4 pre-release server!
  11. Offline


    With bukkit - you can't.
    Without bukkit - download minecraft_server.jar from
    and (easy way) rename your old craftbukkit file, and name the minecraft_server.jar like your old craftbukkit file was named. Then just run the run script.

    ChestShop doesn't work like that.
    To buy in ChestShop, you right-click the sign. To sell - left-click the sign.
  12. Offline


    I installed iConomy 6, and I discovered that if I wanted to, I could designate my currency Database as "inventoryDB" - Then set my Major currency to Gold Bars, and Minor Currency to Iron Bars - it all uses the gold bars so far, but it's almost what I was talking about - it WILL deduct Gold bars from my inventory to purchase something, and give em back if the shop has any in their account
  13. Offline


    I didn't know about that!
    Thanks for the tip!
  14. Offline


    User can't create a shop because sign pops up with "you don't have permissions in that chest" buying and selling works fine but cannot create. Only OPs can, so i can't figure what is wrong... Can it be a plugin conflict?
  15. Offline


    Is there a command list?
  16. Offline


    Sry if my suggestion already exists, but i dindnt found anything like that and sure, i didnt read all 173 Pages ;)

    The "Your Shop is out of Stock" Message is useful for 1 time, but if ohne User hit the sign all the time or more users try to buy something, its getting annoying -.-

    So, it would be nice if this message comes only one time and than the text on the sign will automatic replace with "Out of stock" so that it cant be used anymore. But it should replaced again with the old text if the Shop will be restock. Because i think it sux if someone have to fill out the sign every time it gettin out of stock ^^

    So, thx for ur awsome work, sry for my bad english, and i hope u think about my suggestion =)
  17. Offline


    I get this error what does it mean?

    17.10 09:57:16 [Server] INFO at org.bukkit.event.block.BlockPistonExtendEvent.getBlocks(BlockPistonExtendEvent.java:37)
    17.10 09:57:16 [Server] INFO at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
    17.10 09:57:16 [Server] INFO java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
    17.10 09:57:16 [Server] SEVERE Could not pass event BLOCK_PISTON_EXTEND to ChestShop
  18. Offline


    You should update ChestShop, I fixed it AFAIK.

    You don't have permission for that chest = your LWC/Lockette tells ChestShop, that the chest is protected and the user that tries to create shop isn't the chest owner. If it's a false positive, you should probably remove the protection from the chest first (in LWC /cremove, in Lockette remove sign)

    I really like the concept of plugins interacting in normal ways, instead of commands.
    So, the command list:
    /csversion - the version of the ChestShop
    /iteminfo (alias: /iinfo) - if no arguments, tells you what you're holding (name and damage value)
    if used with arguments (either name (even partial), id or OddItem alias) - it tells you the whole name of the item, its ID and IIRC, the aliases.

    Thanks for the suggestion. Actually, if you look a bit before your post, we agreed on the idea - if the shop is out of stock, the amount line (2nd one) should be red, if it's stocked - it should be green :)
  19. Offline


    Im still on 1240 can i uppdate from the download link?
  20. Offline


    I use lockette, but i have tried with a lockette chest and without it, either way the same effect. I'll try without any plugin except for CS only
  21. Offline


    Hello, me and my users aren't able to buy or sell

    This is my info:
    Bukkit: 1240
    Chest Shop: 3.21
    I am using iConomy 6
    And I am using PEX


  22. Offline



    Sure - it might be a bug in ChestShop (low probability, but still)
    Also - did you try the new lockette? (Updated one)

    Could you tell me what exactly error do they get?
    What is on your sign?
    Also, you might want to update ChestShop
  23. Offline


    I've found the plugin that is in conflict with CS: Minecart Mania
  24. Offline


    Oh right - I'll check it.
    However, are you sure it's that plugin's fault?
  25. Offline


    Hey is there a permission node that allows certain people to "rob"(open) the shop if they aren't the owner. Becuase i and using the heroes plugin and am hoping to ad a thief class that can actually steal things.
  26. Offline


    I have tested every single plugin i have alone with CS and all my plugins except for minecart mania and no problem. The issue (users cannot create shops because "you don't have permissions in that chest!") happens only with the suit of minecartmania, that is what i know.

    So until a solution is made i will disable minecartmania, i prefer shops than fancy controls over minecarts, or get back with falsebook minecart system.
  27. Offline


    Nah, there isn't. It would be more of a PermissionAbility (or however that's called, I reckon something like this)
    You should just give ChestShop.mod permission for that ability - mods are able to destroy shops and rob them, but they aren't capable of creating admin shops (afaik)

    Hmm... Weird, I'll test that - really thanks for your help!
  28. Offline


    im using Permissions Ex and iConomy.
    Now i installed Chestshops and it used to be fine.
    After 30min - 1h chestshops doesnt work anymore.
    i deleted the chestshop folder and it works.
    now after 30min-1h the same problem comes...
    asked irc but no one knows a solution.
  29. Offline


    What exactly is the issue?
    What error do you get?
  30. Offline


    thanks that should work
  31. Offline



    I didnt get any errors ingame.
    But if i create a sign about a chest (shop sign) a shop wont create...

Share This Page