[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


    Had that before and it still did not work. :(
  3. Offline


    Hmm, you should ask @codename_B then. He probably knows more about bPermissions than I do.
  4. Offline


    You can check the particular permission nodes with /permissions haspermission playername permission.node

    That gives debug information too, as to where the actual issue is. (only works for online players)
  5. Offline


    Hello, this is my first post on this forum, I suspect it wont be my last considering I am hosting a BukkitServer..
    However; I wanted to set up shop for some items but I am unsure of what the names of some items should be: For example; Wooden Planks wont work, it says invalid name..

    Also my effort to sell Stone Bricks was halted when it appeared to be thinking I was trying to sell Stone Stairs..

    What should I do?

  6. Offline


    my friends cant sell to me can u guys help me
  7. Offline


    Just do /iteminfo (or /iinfo - a shorter version)
    It'll tell you the ID, name and the data value (remember, you don't need full name)

    Any errors?
    Maybe it's because of spawn protection?
    If so, go to bukkit.yml and change spawn-radius to 0.
  8. Offline


    Command does not work for some reason.
  9. Offline


    We've a problem on our server, i gave everyone the permission for buy, sell and creating a chestshop, but only everyone can buy, noone can sell, exept of the admins.
  10. Offline


    Spawn protection. Go to bukkit.yml, change spawn-radius to 0.
    G4meM0ment likes this.
  11. Offline


    Thank you very much! :D
  12. Offline


    Changed it to that, still doesn't work.
  13. Offline


    Could you link me to your permission file on pastebin.com?
  14. Offline


    Please please please have a check to stop sell price being lower then the buy price and stop people making bad shops by mistake and not only losing all there money but also all the stuff in all of there shops.

    On my sever the person that ran the biggest shop owners made a mistake when changing one of his shop signs and came back the next day with no money and all of his shops sold out. It took the economy on our sever weeks to get back to normal.
  15. Offline


    I have the same problem i am using groupmanger at the mo any help[/CODE][/COLOR][/B][/COLOR][/SIZE][/LEFT][/quote]
  16. Offline


  17. Offline


    First of all, super plugin, it makes my server :)
    then over to the problem.... added a mod with new blocks, and cant seem to get those to work in chestshop... got all the id's, and can use the /give command succesfully, but would prefer to be able to add these items to my shop as well. Any chance i can add those items myself somehow?​
    - CraftBukkit: 1337
    - ChestShop: 3.24
    - Your economy plugin: iConomy 6
    - Have you got any Permission plugin? GroupManager
  18. Offline


    Can't use the mob with new block, as it's incompatible with Bukkit :/
    I'll try adding Spout blocks, but it seems like they use a totally different system of storing the items :/
  19. Offline


    Anyway to disable this from people in Creative? Some people exploit it by putting a shop then spawning the items and putting it in the chest...
  20. Offline


    Well... thanks for trying Acrobot :)
  21. Just don't give them the permissions for Creative world.
    If you don't want let them take items into normal world use MultiInv: http://dev.bukkit.org/server-mods/multiinv/

    By the way: which permissions plugin are you using? If it's PEX I could give you some examples.
  22. @Acrobot
    2 ideas for CS 4.
    1. You wanted to add some features that require a database. I would say make it for users optionally (ofc it's optionally!) but let them decide theirselves whether they use databases or not (make aeven more options).
    1.1 Permission to add a shop to the DB (to get extra functions)
    All Admin Shops will be added automatically
    If the extra functions will be very good, you may to add a price that user must pay to add the shop to DB (different permissions for this and "free"-adding to DB)
    2. ChestShop automatically chooses the item that will be bought/sold. All user has to write is quantity and price. (If there're more than one items in a chest then choose randomly or so...)

    And I have 1 question for you:
    Is there a "global" ID for all types of a block? Ex: LOG:* - birch wood, normal wood and redwood? Also the same with WOOL, COAL, Saplings, etc.? Because it would really help to collect donation for "green green forests".:rolleyes:
  23. Offline


    does the chestshop.mod allow them to edit the contents of a chest?
  24. If you can open the chests then you can also edit all you want inside it.
  25. Offline


    The Database thing will be a ChestShop plugin. (You know, ChestShop is a plugin, and it will have its own plugins)
    So yeah - it will be highly configurable.

    For the item - right, I even considered multiple things in a shop. You just scroll though the available things by scrolling the mouse. (If this isn't in any plugin yet, you heard it - it was in ChestShop first :p)

    The global id doesn't work with ChestShop 3, it should however work with ChestShop 4.

    Ehh... I didn't really start the work on ChestShop that much - I am trying to make a framework for it.

  26. Offline


    - CraftBukkit version- 1317
    - ChestShop version (type /csversion in chat) - 3.24
    - Your economy plugin (iConomy? BOSEconomy? other one?) - iConomy
    - Have you got any Permission plugin? Which one? - PermissionsBukkit
    I gave my default usergroup the node chestshop.shop.* and that should give them all the user commands. But when they go to buy/sell from a shop, they get the error in chat: [Shop] YOu do not have permission to do that! ​
    or something like that.​
    I however, when I deop myself/ put myself in default user group can buy/sell just fine! (Also, at least I, can create shops just fine when deoped/de-admined...)​
    How do I fix this?​
  27. Offline


    I'm using BukkitPermissions, what is the permission node to disable it?
  28. ChestShop.shop.create - lets you create shop
    ChestShop.shop.buy - lets you buy from shops
    ChestShop.shop.sell - lets you sell to shops
    You need to disable these permissions for creative.
  29. Offline


    It needs to be in correct case.
    is what you're looking for.
  30. Offline



    like that?

    Thats what I have... :( Any other suggestions?
  31. Offline


    Can you:
    - post a list of your plugins?
    - paste your config on pastebin.com and link me to it?

Share This Page