[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


  3. Offline


    I got this but found it came from the plugin signtrader which i had installed also
  4. I can't use it, why? ...
    When I do /create or /use, nothing..
    Help me please !! Thank you :)
  5. Offline


    just set up the sign as described. When the player right licks they buy it. Pretty simple and yet so great.
  6. Offline


    Oh... I wish my players licked my signs :(
  7. Offline


    Nice, ID are alot easier however i still cant get it to sell color wool, only gives white.
  8. Offline


    Also, mr or miss developer. You're sure you can't add a file that converts text to id's?...
  9. Offline


    yea, look around and find an items.db and use that please :3

    And fix colored wools xD
  10. Offline


    Going to load this tonight.. looks good so far.
  11. Offline


    Small question. How do I protect signs?
  12. Offline


    lol, read up.
  13. Offline


    Can someone help me? Its not working :/ idk whether its a problem with iconomy or this plugin. the only commands related to iconomy that working are /money and /money ?

    any help
  14. Offline


    does it sell and buy or only sell?
  15. Offline


    doesnt work on build 325. if the user doesnt have the permissions it shows the message permissions blah blah blah.
    but if they do have the right permissions it doesnt do anything.

    nvm didnt realize that the ID number was used by default.

    this is EXACTLY what i wanted in my server.

    i dont want the players to have an infinite pool of items to buy.

    thank you!
  16. Offline


    This works fine with Worldguard when people setup their shop in their areas.
  17. Offline


    Any errors?...
    The iConomy core only gives you those commands, but when you download this plugin it should work fine.
  18. Offline


    I got this working great, but players can destroy the signs?.... Is that just me?
  19. Offline


    You have to use LWC for protections.

    Worldguard regions have also been said to be working fine.
  20. Offline


    When i start my server i says iConomyChestSrop enabled in the cmd
    But right after that it says iConomyChestShop permission systen not enabled

    Why is that, anyone help?
  21. Offline


    a possible solution to the offline character permission check:
    only check creator permissions at creation, and if they have the correct permissions, store the sign/chest location in a sqlite db, or a csv, or w/e your persistence style preference is
    then when the buyer right-clicks on the sign, check the persistence file for the validation

    just an idea....

    you might also use point/command style setup
    step 1: place chest
    step 2: point at chest
    step 3: type /somecommand
    step 4: place sign

    you could have the /somecommand flag the player to set their next sign to be attached to the chest
    this way you could put the chests in a quadruple thick obsidian vault of gtfo, and have the signs out front
    EDIT: do NOT use /shop for this, i will rage at you for being the third econ plugin to do so....
    EDIT 2: better idea, have the player wack the chest with the sign before placing it, gets rid of /command usage.

    excellent work so far though, i have been waiting for one of these....
  22. Offline


    Is it possible to make this without needing to put the item type on the sign? So vendors could just stock it with whatever they want and the plugin reads what is removed and charges the player who removes it if they are not the vendor? I feel like that would be a lot more versatile and user friendly.
  23. Offline


    Hey, is it possible when you write ID on sign, it automatically transforms to name?
    So it will be more easier to find stuff.
  24. Offline


    I've got a terrible headache at the moment, so I'll update the plugin when I can :)
    @Arisilde - I think I'll make it optional, so you could edit config file if you want to do it that way :)
    @Mercury - Transforming to name wouldn't work, because it currently works incorrectly :/
    @sharef - the SIGN.CHANGED event doesn't work at the moment, so I can't check if someone placed a shop sign, but I think I can use the commands :)
    @iFooZy - you probably don't have Permissions plugin.
    @Nate - you could use worldGuard for protecting the shop
    @uncovery - it currently does only sell, I'll make it buy things in future releases :)
    @iSushi - the text-to-id is broken at the moment, could ANYONE tell me how to use
    for (Material m : Material.values()) {
                if (m.name().toLowerCase().startsWith(name.toLowerCase())) {
                    return m.getId();
    so it starts at the last index and goes to the first?

    I'll fix the coloured wools soon, it gave me NullException last time, but I think I know how to fix it.
  25. Offline


    i don't think you would need a sign changed, you can check sign content which works fine
    use onleftclick (i'm not in bukkit yet, comming from hmod)
    check item in hand == sign and block hit == chest
    store position of chest
    then flag the player so the next sign, regardless of content is the shopsign
    if they do incorrect syntax, tell them that their a nub and try again :p
  26. Offline


    The Item ID doesnt seem to work for me at the moment mate. :/
    Is it working for everyone else?
    I think I'm doing it right..

    Doesnt seem to work :O​
  27. Offline


    Did you download the version 0.2, and did you paste everything to /plugins folder?
    Also, be sure you have "useID: true" in your plugins/iConomyChestShop/config.yml
  28. Offline


    no no errors. just nothng happens :/
  29. Offline


    I just reinstalled the plugin and it worked, thanks anyway.
  30. Offline


    Can you use this to sell stacks of items? For instance, if I want to sell cobblestone it would be too expensive at 1 coin per unit.

    Oh, also if you could make this work like the old iTrade plugin (with stock and buying) it would be AMAZING. Simply put, I want to make my banks work again, where you put gold ingots in chests, then poof you have some coins when you click the sign!

    So selling would be nice, but selling to the SERVER would be awesome :)
  31. Offline


    could you setup alternative location options for the sign such as in front of the chest? That would be great!

Share This Page