[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


    How though?
  3. Offline


    Is there a page that lists all of the correct way to name the items? Some items I have to put for ex. Smooth Brick:1
    or Wood:3. It would be nice to get the correct names instead of this.
  4. Offline


    That is the correct name, otherwise it would be too long for the sign

    Delete essentialsprotect.jar
  5. Offline


    Do you now have to have permissions to let people use the shop
  6. Offline


    there was no error it just lets me create a shop but does not let me buy or do anything else
  7. Offline


    Trying to get this to work..

    1) Putting down a chest, putting in 64 diamonds.
    2) Putting a sign next to it with:

    S 5

    3) It says shop created and the final sign is:

    S 5

    4) I get the message "Shop has been created.."
    5) People right click the sign, get the error "You cannot buy here!"

    I been trying for 3 hours now to get this work. I gave the buyer OP so it's not the permissions I'm doing wrong.. Please help -_-
  8. Offline


    i guess the this build of chestshop is not compatiable with the new build of bukkit
  9. Offline



    Found a bug, when ppl sold monster eggs (with item id of course), their chest never got protected :/
  10. Offline


    Just do /iteminfo while holding the sign...

    Well, "S 5" means that people can ONLY SELL to the shop, not buy from it.
    It's from client's perspective:

    S 5 - sell price is 5
    B 5 - buy price is 5

    It is compatible, but you didn't give me sufficient information, for example server log, so I can't help you.

    What do you mean "their chest never get protected"?
  11. Offline


    i mean everyone can still open their chest
  12. Offline


    i have figured it out thanks!
  13. Offline


    Yes, that's the intended behaviour? The shop owner should be able to open their chest?
  14. Offline


    no i mean, for example there are Bob and Bill

    Bill make a chestshop that sells monster eggs, Bill should be the only one who can open the chest by default..

    The bug is, when bill sell monster eggs, Bob can still open his chestshop and take all of the items
  15. Offline


    Hello I saw that you have a lot of trouble to check but did you had time to test the itemID for the protect enchants?

    Thank you,


  16. Offline


    Hey, no, sorry, I forgot about it. Please don't be angry at me though :b , I restructured almost half the ChestShop code, so it works nicer now :)

    I'll test this now :)

    And it only happens when Monster Eggs are sold?
  17. Offline


  18. Offline



    Thanks a lot :)
    I'll test it and give you a feedback ASAP,


  19. Offline


    I'm currently using CraftBukkit 1.2.5-R1.0 with ChestShop 3.40, running off of iConomy and PermissionsBukkit and it seems that I'm having trouble with /iteminfo; All it spits out is some unhelpful text whenever a player attempts to use it.
    /csversion also does this, only printing out "/csversion" when used.

    I have taken a screenshot of this for the sake of clarity.
  20. Offline


    Hey I Run a Minecraft Server (Wonder Craft) and I been looking for a Shop Plugin I found ChestShop Really Nice Plugin when I use it It says unable To sell When im trying to Buy I tested it on other people it still says that I use PermissionEx LWC And Essentials and it still wont let me buy or sell
  21. Offline


    Huh... Try running 1.2.5-R1.3 (for example) to test if it still does that.

    What does your sign look like?
    Also, selling is left-clicking, buying is right-clicking the sign.
  22. Offline


    Hello when i change something in the Config file like setting from false to true i get this error:

    2012-05-04 11:26:22 [INFO] [ChestShop] Enabling ChestShop v3.4
    2012-05-04 11:26:22 [INFO] [ChestShop] LWC version 4.1.1 (b645-git-b24cc99e) loaded.
    2012-05-04 11:26:22 [INFO] [ChestShop] WorldGuard version 5.5.2 loaded.
    2012-05-04 11:26:22 [INFO] [ChestShop] iConomy version 6 loaded.
    2012-05-04 11:26:22 [SEVERE] [ChestShop] WARNING! Your spawn-radius in bukkit.yml isn't set to 0! You won't be able to sell to shops built near spawn!
    2012-05-04 11:26:22 [SEVERE] Error occurred while enabling ChestShop v3.4 (Is it up to date?)
    at com.Acrobot.ChestShop.Config.Config.getDouble(Config.java:41)
    at com.Acrobot.ChestShop.Config.Config.getDouble(Config.java:37)
    at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:63)
    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(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
    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)

    I have Craftbukkit 1.2.5 - R1.0
    iConomy -6

    Thank you
  23. Offline


    Yeah, I know it, but it only happens when you turn website generation on.
    Just ignore it for a moment :p
  24. Offline


    When people spam right click on the signs, it drastically lags. Anyway to set a delay of some sort?
  25. Offline


    No dice. r1.3 didn't fix it and it still spits out the same thing.
  26. Offline


  27. Offline


    Re-downloaded and reinstalled. Error still persists.
    Are there any known mod conflicts that could cause this?
  28. Offline


    Possibly because it's partially used?
  29. Offline


    i saw 253 pages of comments and i didn't want to look for this. how do i make it so i can create double chests i didn't see anything in config, no permissions, nothing. Thx in advance.
  30. Offline


    Should be able to by default
  31. Offline



    It works very well! Thanks a lot for your help,


Share This Page