[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


    I've just told you... "Pistons use :6 data value for when they're held in hand. Also, it's "Piston Base"."

    So to sell, you need to use :6 data value.
    For example:

    Piston Base:6

    You can't.
  3. Offline


    Good plugin i recommend but Icant make my shops sell free stuff can u fix this
  4. Offline


    Thank you :> ive never spawned or dealt with non normal stuff so idk how that woks with the : and things
  5. Offline


    I put that and it still doesnt let me sell
  6. Offline


    My players are having issues buying item 98 (smooth brick), 98:1, 98:2 from Admin Shops as when they buy it gives them circle stone (98:3). I even tried the names, and the item ids nothing works. So when they go to buy Smooth Brick (98) from the Admin Shop it gives them Circle Stone (98:3) instead. Help! :(

    CSVer: 3.42
    CraftBukkit Ver: 1.2.5 R4.0
  7. Offline


    Sorry, but I can't read your mind. You must tell me the details. What do you mean by "can't create"?

    Search first, please. This is fixed in the test version.

    "Doesn't let me sell"? What do you mean by that? What happens when you do /iteminfo while holding the piston?
  8. Offline


    ok i figured it out it was 33:7 not 6
  9. Offline


    Oh, sorry then - maybe Notch changed something in the new Minecraft version :p
  10. Offline


    All right this is really crazy, I have read all your guide, and I've tried everything but I have the same issue like Niggerbob.

    I dont want all my users to create shops, so I gave - -ChestShop.shop.create.* that permission node to them. But they are still able to create Shops.

    I also tried going to the plugin.yml and change default: true to default: op.

    This fixed one of the problems, but then higher rankers cannot build shops which is frustrating on my part, and yes I gave the permission nodes to them.

    I really don't know what to do at this point, and also, I've tried setting this up on the config file, where you need xxxxx amount of money to create shops. I set the def. price at 5000000000 but it doesn't charge the users when they create a shop :/

    Here is my pex file, just the default rank.

    Permission plugin: PEX
    ChestShop: Latest Version

        default: true
        prefix: '&7[Unbound-Souls]&f'
        suffix: '&f'
        - modifyworld.login
        - lwc.protect
        - scrollingmenusign.user
        - modifyworld.blocks.interact.*
        - mywarp.warp.sign.warp
        - modifyworld.items.drop.*
        - modifyworld.digestion
        - modifyworld.items.pickup.*
        - scrollingmenusign.execute.elevated
        - towny.chat.town
        - towny.chat.general
        - modifyworld.chat
        - -iconomy.accounts.*
        - iconomy.*
        - modifyworld.chat.private
        - bankcraft.use
        - heroes.bind
        - essentials.kit.rpg
        - essentials.kit
        - towny.town.plot
        - AJLM.hidequit
        - AJLM.hidejoin
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - towny.town.spawn.town
        - towny.town.spawn.ally
        - towny.town.spawn.nation
        - spout.plugin.ignorespoutcraft
        - modifyworld.vehicle.destroy
        - modifyworld.vehicle.enter
        - modifyworld.interact.*
        - modifyworld.vehicle.collide
        - -ChestShop.shop.create.*
  11. Offline


    Oh well... That's why I don't like PEX. If you've already changed "default: true" to "default: op", you can remove the "-ChestShop.shop.create.*" permission, and just give your players ChestShop.shop.create permission :p
  12. Offline

    Deleted user

    "You can't buy here!"
    What's up with this? I checked the FAQ, and it said to make sure my 3rd line is correct. Here's my sign:
    1. AdminShop
    2. 1
    3. B 5|5 S
    4. Diamond

    For the | on the 3rd line, I used Shift+[\ button].

    CraftBukkit Version: 1.2.5-R4.0
    ChestShop Version: 3.42
    Economy Plugin: iConomy
    Permissions: PermissionsEx
  13. Offline


    Well, it's a colon, not a vertical line.

    2. Admin Shop
    3. 1
    4. B 5:5 S
    5. Diamond

  14. Offline

    Deleted user

    Oh. Thanks :D.
    One more thing. Can you add a feature where you can have a "free" shop?
    1. [Free]
    2. 1
    3. Diamond Sword

    Only players with the permission ChestShop.shop.free can use it. This would be great for donators/VIP's on servers.
  15. Offline


    Well, you can already do that.

    You need to put a [restricted] sign above the shop sign (this might change in the future, though!).
    Then, just give your users ChestShop.group.groupName permission, where groupName is one of the names on sign:

    2. [restricted]
    3. firstGroup
    4. secondGroup

    (This will let ChestShop.group.firstGroup and ChestShop.group.secondGroup buy from shop)

    2. Admin Shop
    3. 1
    4. B free
    5. Diamond
    Deleted user likes this.
  16. Offline

    Deleted user

    You're awesome.
    1 last thing. Lockette integration :D.
  17. Offline


    I finally found a solution, and I guess I want to share this with ppl.

    Instead of changing the "default:true" change it to "default:false" this made it so that newcomers cannot create shops.

    Now, if you are new, go ahead and make a separate rank, for mine is VIP.

    I give my VIPs ChestShop.shop.create.* and now they can create Shops.

    for the default, I gave them the permission to sell/buy.

    Now I'm happy :)
  18. Offline


    Okay so everywhere i look it tells me ChestShop can sell enchantments and place them directly on items, but nowhere can i find how to do this? So how do I do it?
  19. Offline


    There is a lockette integration already. I have no idea, though, why Acru has ChestShop on the list of "incompatible" plugins, when, in fact, it works...

    Haha, nice :)

    No, ChestShop can't sell enchantments. ChestShop can only sell enchanted items.
    Deleted user likes this.
  20. Offline


    Well I just went on Craftium and they only use ChestShop, and I also just did it on my server. ChestShop is the absolute only shop plugin that we both have installed. So why did this work?


    Do you know what plugin that is?
  21. Offline


    No idea, but it's not ChestShop.
  22. Offline


    So... when I try to set a price for shovels, it will just revert to the "makeup". Example, I make the sign and say "Stone Shovel", it will immediately revert to "stone".
  23. Offline


    Ehh, I believe it's not ChestShop's issue, which CS version are you running?
  24. Offline


    ahh yes i remember this. open up your chestshop.jar with something like winrar and in there is plugin.yml change to the things i put arrows on and it should work :)

        description: Gives access to all ChestShop permissions
        default: op
            ChestShop.shop.*: true
            ChestShop.admin: true
        description: Gives access to all user ChestShop permissions
            ChestShop.shop.create: false <----------
            ChestShop.shop.buy: true
            ChestShop.shop.sell: true
        default: true
        description: Allows the user to create a shop that sells and buys any item
            ChestShop.shop.create.buy: false <-------
            ChestShop.shop.create.sell: false <-------
  25. Offline


    I believe what iliketrains meant was he probably cant put up a sign for Buying at 0 price
  26. Offline


    Well, that's actually obvious. The question is - what happens when he tries to do that?

    And yeah - thanks for explaining :)
  27. Offline


    Well i remember when i tried it it said u can buy or sell here. then i asked if u could make freee stuff a posibility and u said no lol
  28. Offline


    why do u need lockette intergration other players cant open each others chesthops unless they have the permission node for it
  29. Offline

    Deleted user

    Didn't know that :p. I'm a noob at ChestShop.
  30. Offline

    Deleted user

    Can you pretty please make a [Free] feature? :D. It looks nicer than a shop with 0 as a value for the Buy and Sell. :).
  31. Offline



Share This Page