[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


    Trying to set up a shop near spawn with common stuff thats free, but for some reason users can't buy from it.. I've tried setting the purchase price to: free, "free", and FREE and neither seem to work. They can buy from chests that have a price and I have ChestShop.shop.* in the group everyone is in using PermissionsEx. No errors, the only message they get is "You can't buy here!". Using 1060 CB, latest version of this plugin and of PEX. Also, just incase this is relevant.. latest version of iConomy 5 as well.

    Right now the sign is set up like:

  3. Offline


    Worked, thank you.
  4. Offline


    It's "B free" on the 3rd line :)
  5. Offline


    Awesome, I'll try that. Not sure why I didn't :p

  6. Offline


    Would there be any way to make it so you can have it so u can allow certain other players to access chests? For instance if a group of guys are running a shop, only one player can actually access shop for restock, etc. Just a way to add another check for player names assigned to the chest, take into consideration, thanks!
  7. Offline


    can you make a store where they can sell and buy any ammount of that item
  8. Offline


    ok thanks, will check it out :)
  9. Offline


    ok i tested it, right now, duplication didnt happened :), but i still get no permission to make this type of shop, i use PEX (PermissionsEx)
  10. Offline


    What other plugins are you running?
    There will be a conflict if you run, for example PeX and Permissions 2/3 at the same time.
    Just make it sell and buy by 1. There will probably be a command to buy multiple times.

    It already checks it, but I'll tweak it.
  11. Offline


  12. Offline


    Unfortunately, that's an error with CraftBukkit and it's related to pistons :/
    I'll check what I can do about it.

    EDIT: By the way, are you running the latest version?
  13. Offline


    Is there some issues with lwc and chestshop toghether? sometimes i cant place chests it says the air get locked i wrote in lwc thread but didnt get any answers
  14. Offline


  15. Offline


    Try the newest one then.

    That's a bugged chunk - something wrong with CB. Restart (turn off and on) your server. Unfortunately, this happens more often than it did before.
  16. If you destroy a LWC-protected block (for example chest), the chest will be destroyed but the LWC-protection will stay. So you need to remove the protection /cremove then destroy block and then build a shop.

    it says the air get locked
    One player destroyed chest/furnace but didnt remove the protection. So the air is locked.
  17. Offline


    i have a permission.yml in the main folder of my minecraft server, and its empty
  18. Offline


    That file somehow is supposed to be empty. Can you make a screenshot of your plugins folder?
  19. Offline


  20. Offline


    well if it does, how do I set it so other specific players CAN access, w/o giving the mod permission. I want them to only access specific chests etc.
  21. Offline


    Theoreticlly you can accomplish that by turning off default protection system.
    However it probably(!) doesn't work as well as I would like it to.
  22. Offline


    I think I will wait for an actual stable feature to be implemented first i think =). Is something like this a planned feature any time soon?
  23. Offline


    Yeah, I am thinking about it :)
    I am a bit (well, a lot) busy now, so I don't think I'll manage to do that this week :/
    I'll try to do it asap anyway :)
  24. Offline


    I see that iConomy 6 is in beta on BukkitDev. Will this be compatible and error free with iConomy 6 because it's compatibility is through Register? Thanks for the great plugin, Acrobot. It's a staple on my server.
  25. Offline


    ok wait
  26. Offline


    It is already working with iConomy 6 :)
  27. Offline


    I can use essentials to /give Birch, or /give Pine but I can't use chest shop to buy or sell these items with that name and they have no specific ID. Can this be corrected?
  28. Offline


    You can try:
    Birch log
    Redwood log

    Or just:

    (Just type /iteminfo to know what you're holding)
  29. Did you ever read wiki?
    Also normal wood's ID is: 17 or 17:0
    Pine's ID is 17:1
    Birch's ID is 17:2
    The same thing with Dyes, wool, saplings, coal, etc.
  30. Offline


    I've read the wiki, just that part never sunk in! Thanks.
  31. Offline


    That's great. I haven't updated to iConomy 6 yet because I'm waiting for a few other plugins to become compatible. It's good to know that ChestShop isn't one of them and it's ready to go. Thanks again for a great plugin and wonderful support.

Share This Page