[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


    Okay I've checked my file, and I have one permissions file which is bpermissions and still people are getting the you don't have permissions, and I've typed the correct info in the permissions file.
  3. Offline


    chest shop is the most recent i think i just started the server back up a few days ago dont know the exact one on the zip it says chestshop3 and i have tried it in both op perms and permission systems both where tested by default players and every time the shop was able to be opened and items taken out
  4. Offline


    My players can't place a double chest, any ideas why? It's just saying that they not permitted to do that :(
  5. Offline


    i was wondering if anyone has like a general list of items with prices.both buying and selling

    sort of like a census on like "stone is this much" and "glowstone is this much"
  6. Offline


    PLEASE RESPOND i changed the settings and everything and people that are not op can only sell not buy PLEASE HELP. And i dont want to give everyone op
  7. Offline


    I set it up and everything but no one can buy only sell. The only people who can do both is ops. And i dont want to op everyone
  8. Offline


    I may be re-posting but when will this plug-in be updated?
  9. Offline


    Since I got the annoying - but afaik harmless - java io error message and found no solution I have created mine:

    I just fired up a server for the usage.blockface.org to provide a fake .php file. Since I have no any control on the blockface.org I have to do a local change on my server.
    On a UNIX machine edit the /etc/hosts file and add the following line: usage.blockface.org
    On a Windows machine edit the %SystemRoot%\Sytem32\drivers\etc\hosts file (it is a simple text file) add the same line to it. Save it and be happy.
    Important: you have to do it on your server only! No change on the client machine required.

    For me it was faster and easier to create a workaround than to find the solution if any. Please check and advise if would help to others. If so then feel free to use.

  10. Offline

    Lake Avenger

    Yeah people, i am having some strange errors while enabling and disabling ChestShop. Here it is the log file: (sorry for my bad english, i am brazilian lol.)

    while enabling:

    Show Spoiler
    [SEVERE] Error occurred while enabling ChestShop v3.34 (Is it up to date?): special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<reader>", position 43
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98)
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
    at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:63)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at org.bukkit.util.config.Configuration.load(Configuration.java:92)
    at com.Acrobot.ChestShop.Config.ConfigObject.reloadLanguage(ConfigObject.java:42)
    at com.Acrobot.ChestShop.Config.ConfigObject.<init>(ConfigObject.java:25)
    at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:48)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:977)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    aand while disabling:

    Show Spoiler
    [SEVERE] Error occurred while disabling ChestShop v3.34 (Is it up to date?): null
    at com.Acrobot.ChestShop.ChestShop.getPluginName(ChestShop.java:159)
    at com.Acrobot.ChestShop.ChestShop.onDisable(ChestShop.java:75)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:232)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:998)
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
    at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
    at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:185)
    at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:384)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:463)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    Thanks for reading. (aand sorry for my bad english)

  11. Offline


    Hi, I have Bukkit v. 1.1-R3 (1846)
    Chestshop v. 3.34

    I create with admin (OP) admin shop:
    Admin Shop
    B 10:10 S

    (only sign) this is ok, but when i click on sign with normal player (non-op) so chat write msg for me "You dont have permissions to do that"...

    My config for per.ex:
    default: true
    - modifyworld.*
    - commandbook.home.*
    - citizens.blacksmith.use.repair
    - ChestShop.shop.*
    its all... Why is not working plugin on my server? :(

    Thank You for all helps!
  12. Offline


    This is a common error I got when I had a mac user edit my yml files with a standard mac text tool. I'd recommend doing one of the following:

    1. Ditch your mac as it is not a gaming machine anyway.

    2. Get a new editor - I use notepad++ but im not on a mac so yea.

    3. find a way to get your editor to stop being retarded.

    This also applys to those that have this error while not on a mac, something you typed into the config yml was not recognized.

    As for the second error I'm not entirely sure what that is from. Make sure your using the right version for your RB of bukkit.
  13. I have a question regarding tax. It appears as though I have it set up correctly, but it's functioning in a weird way. I have the tax set up to 10% and I expected that 10% of the sale would go to the "server account" and the remaining 90% would go to the seller. However it appears as though 10% goes to the server account and 100% goes to the seller.. is this as designed?
  14. Offline


    Hi I just got this and WHY DOESNT IT SHOW UP ON PLUGINS I HAVE???? I put the .jar file into /plugins folder but its undetected/being ignored! WHY is it doing this???????????????????????!!!!!!!!!!!!!!!!!!!!!!????????????????!!!!!!
  15. Offline


    Wowzers, I spent a lot of time trying to fix CHEST SHOP... IT seems it is incompatible with PEX 1.8 but works with PEX 1.7
  16. Offline


    In towny you can make a shop go bankrupt and lose their plots if they sell to many items, can you work with towny people to fix this problem? or create a buffer?
  17. Offline


    also stated this on dev
  18. Offline


    Sorry, I don't know of any.
    Instead of replacing it, you can talk to its developer on dev.bukkit :)

    I am pretty sure that there is another permission plugin that conflicts with bPerms. Can you post a screenshot of your plugins folder?

    Same as the previous answer - I am pretty sure that you've got another permission plugin, not necesarrily used, which clashes with your plugin.

    Can you re-download the plugin and then check if the issue also happens, when for example you lock the chest with LWC?

    What is the exact error?
    The plugin only shows "You don't have permission to do that" when the 2nd chest is protected.

    Hmm, I don't have a server for a long time, but I also think it's a bit server-dependant. Prices change, like in real life economy, so you can't really set fixed prices all the time.

    Go to bukkit.yml, change spawn-radius to 0.

    I'm sorry, but doesn't it work already, without changes?

    o.0 Blockface.org?
    That isn't in ChestShop - the stats server I use is metrics.griefcraft.com
    From your error I can say that's bPermissions that causes that error, not ChestShop, but still - thanks for clearing that up :)

    @Lake Avenger
    Your config isn't encoded in a propper way. Try re-saving it in UTF-8

    @Hamburger Helper
    Well, from the source code (at the moment I don't have access to my PC, just github) I can see that I lower the amount added to someone's account by tax amount, but I may be wrong. Please remind me about this if it's really broken :)

    No clue, are you getting any errors during the startup?

    Ok, I'll look into that, but it's more of a ChestShop problem. I'll try to make some limit in the config, that if the money is lower, it won't work anymore.
  19. Offline


    We are using LWC to protect our chests =/
  20. Offline


    PLEASE RESPOND i changed the settings and everything and people that are not op can only sell not buy PLEASE HELP. And i dont want to give everyone op
  21. Offline


    Chest Shop won't work anymore :( When I click the sign nothing happens and ive done everything correct
  22. Offline


    This. Hasn't worked since 1.1 for me.
    Works for OPs, but not people with the proper permission.

    Figured it out.
    PEX 1.8 broke it.
    I went back to PEX 1.7 and it works fine.
  23. Offline


    Is there a way to make signs colored with this plugin? I'd really like to be able to because honestly colored signs take priority over this plugin.
  24. Offline


    Seconded, solved it for me too, thx
  25. Offline


    Enjoy, this plugin basically runs my server. <3 you acrobat :3
  26. Offline


    I installed it exactly as you said. Set up the Admin Signs like you said and all i get when trying to buy or sell is. "You cant buy here, You cant sell here"
    there are no permissions its default to op.
    How do i fix this?

    CB 1869
    CS 3.34
    No permissions
  27. Offline


    Posted a comment already, thx for atleast replying. Its a shame that a plugin as versatile as odditem doesnt get updated nearly as often as it should.
  28. Offline


    Here is my plugins folder:


    I have removed the chestshop and iconemy for now, so until it's fixed I will replace them into the folder.
  29. Offline


    Is there a way i can set it up like this?


    Or is this allready possible ?
  30. Offline



    Hope you're enjoying your skiing :cool:

    This is going to sound EXTREMELY SILLY but I finally figured out the problem. My user who was assisting me with the testing was clicking ON THE CHEST instead of the sign! Of course they don't have permission to the chest with the plugin's built-in protection AND LWC running! Once they started clicking on the sign it all worked flawlessly.

    So lesson learned - make sure you're assistants understand your directions 110% and as usual, if you want something done right do it yourself! Thanks again for your work on this plugin and help troubleshooting as I look forward to using it on my server for a long time to come.........pending updates ;)

    ~ TSRDM
  31. Offline


    Does this require permissions or can it be set to OP. i dont feel like setting up permission because there arent alot of people on my server so its not a big deal.

Share This Page