[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


    Yep. Exactly the same as how it works with chests, but for dispensers. Does it search nearby blocks for the sign? If so, we can put the 'programming' sign under the dispenser block and the normal sign/identifier/etc. next to the dispenser itself.
  3. Offline


    I mean you would need to click the sign anyways, so why don't you just use admin shops without any chest (It works like that since 2.3 I think)?
  4. Offline


    BIG BUG:




    thank you
  5. Offline


    Please don't write with all-caps.
    Also, they can't, unless you gave them iConomyChestShop.shop.* permission, which containts iConomyChestShop.shop.admin
  6. Offline


    You know, I honestly had no idea we could do that. I put this plugin at the request of a user, and always thought it required a chest to work!

    Any chance of linking signs at some point? Would be nice to have a 'clean' conversion sign on one side of a block (that a player sees) and one containing the text for the plugin on the other side of the block, hidden away.

    Conversion Point
    Click to convert
    your gold into
    Mr_Fj likes this.
  7. Offline


    Could be possible, however, it could be malicious (Someone makes a CraftBook [door] sign, and on the other side there is iConomyChestShop that sells dirt for 10000)
  8. That's exactly what I need for my server, as well! :)
  9. I can see how that could be annoying, but my server doesn't use Craftbook, so it wouldn't be an issue for me ;)
    You could make it so people can turn the feature off if, for example, they have Craftbook.
  10. Offline


    Yeah, I second this. Maybe a configuration option that is turned off by default, so the admin has to consciously activate it?
  11. Offline


    Chestshop is compatible for bukkit 714 ?
  12. Offline


    Why are you even using CB714? It is outdated and bugged.
  13. Offline


    can you add multiply items to the chest? for a massive shop?
  14. Offline


    Any help for my iron_ingot / coal bug?
  15. Offline


  16. Offline


    bug report
    cb 711
    permissions [ADMN/DEV] Permissions v2.7 (Phoenix) - Now with real MultiWorld Permissions [733]
    config http://pastebin.com/73fksPzU
    bug description
    item dupe one of my mods made a video of it
  17. Offline


    @Acrobot. That was fast, thank you! :)
  18. Offline

    City Builder

    I can't seem to find if I already mentioned this, but there seems to be a problem with making chests who's item names contain more than a certain amount of letters. When I do this for those items that have like 18 letters in their name I get kicked off my server.
  19. Offline


    whats ur bukkit build#?
  20. Offline


    i continually get the message you do no not have permission to buy from shops yet I have set up permissions. CB Build 733, latest Permissions and iConomy Chest Shop
            default: true
                prefix: ''
                suffix: ''
                build: true
                - 'lwc.protect'
                - iConomyChestShop.shop.create
                - iConomyChestShop.shop.buy
                - iConomyChestShop.shop.sell
                - iConomyChestShop.shop.iteminfo
                - iConomyChestShop.*
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.light-switch'
            default: false
                prefix: 'Mayor'
                suffix: ''
                build: true
                - Builder
                - 'lwc.mod'
                - 'jail.command.jail'
                - 'jail.command.unjail'
            default: false
                prefix: 'President'
                suffix: ''
                build: true
                - '*'
    Do I need to update any other plugins or the permissions and iConomy Chest Shop config files?

    Edit: I removed the quotes on purpose to see if it would change anything.
  21. Offline


    The quotes must be there.
    Also, probably your config is bugged, it seems fine for me.

    Gonna look at it, thanks!
  22. Offline


    Really thanks for the video and your feedback, 2.53 fixes it!
  23. Offline


    I don't use LWC for the shop since it would take away from the Limits on chests, and I use regular protection. I just wanted to know how it works without using LWC

    Also, nag nag to make the average price trendy thingy. :)
  24. Offline


    Works great without LWC, players get a 'Dont steal' message when they rightclick a chest used as a shop.
  25. Offline


    Oh sure :p
    How do you want it to look?
    Tell me how here or in PM.
  26. Offline


    2011-04-27 22:41:01 [SEVERE] Could not pass event SIGN_CHANGE to iConomyChestShop
    java.lang.NumberFormatException: For input string: "B 10"
    	at java.lang.NumberFormatException.forInputString(Unknown Source)
    	at java.lang.Integer.parseInt(Unknown Source)
    	at java.lang.Integer.parseInt(Unknown Source)
    	at com.Acrobot.iConomyChestShop.SignManager.onSignChange(SignManager.java:93)
    	at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:376)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:900)
    	at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    CB 735
    Chestshop: 2.53
    Lwc: 2.3x

    I don't really know what happened I just saw this error in the console, if i found out what caused it or if its non-functional anymore I will edit this post.
  27. Offline


    It shouldn't be like this, but you're writing "B 10:0 S" on the 3rd line instead "10:0", right?
    NVM I know what's wrong, just write "10:0" for now, I'll fix it tomorrow.
  28. Offline


    Yeah I finally found the user on the server who made the shop.
    He was typing the whole thing just like u said.
    If he just writes 10:0 (as its supposed to be) no error appears.

    But I still think this error never appeard before (i just updated to 2.53)

    the user just told me when he wrote it with B 10... it didnt say "Chest successfully locked" when he wrote it without B or S it says the chest is locked...
  29. Offline


    Yeah I know, I failed at checking the price. I just check the "x:x", not B and S. As I said, I'll fix it tomorrow (I have to learn for test @ school)
  30. Offline


    Take ur time its not critical :)
    thanks for the quick support and

    Good luck for ur test
  31. Offline


    Getting this error after updating to your latest .jar:

    Using LWC and iConomy 709 (Not been updated yet) And using 7(threethree) (my three key has just broke xD)

Share This Page