[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. @noxiw
    (Acrobot:) You need to change your spawn-radius to 0 (in bukkit.yml), or move the shops out of the spawn

    I don't think it's ChestShop. I would talk to the devs of Essentials. But looks like you set up wrong permissions.
  3. Offline


    Yes, I am replying to myself. For any of you who had the same problem as me, you need to make sure your LWC and ChestShop plugins are up to date, updated my LWC from 3.54 to 3.58, and I think what fixed it was when I updated my ChestShop to 3.30. Hope this helps someone.

    Happy Bukkiting
  4. @Leespiker
    I would update to LWC 4.* because in 3.5* is a bug with single chests - people can steal from it in an unprotected region.
    Sry for offtopic.
  5. Offline


    Yep, update the CraftBukkit build.

    Well - you don't need the spaces.
    So just do:

    Hmm... So it's not a ChestShop's problem, the system can't find that path. Have you tried creating the folder?

    Are you sure you are creating the correct sign, not the Essentials' one?

    Sorry, that's GroupManager's fault. It seems like you declared your Guest group 2 times in groups.yml

    Yep yep, like @VADemon said - go to bukkit.yml, change spawn-radius to 0 :)
  6. Offline


    Yea I just recreated the folder and it seems to be working.... Weird how it was there but until i recreated it, it wouldnt work :confused:.
  7. Offline


    I had my groups.yml attached. There is only one Guest... which is where my confusion stems from
  8. Offline


    Yeah, lol. But I'll fix that.

    Hmm - I didn't use GroupManager before, but if the Guest group is defined both in Groups.yml and Global groups.yml, won't that conflict?
  9. Offline


    - CraftBukkit version (type /version in chat) 1597
    - ChestShop version (type /csversion in chat) 3.30
    - Your economy plugin (iConomy? BOSEconomy? other one?) iConomy
    - Have you got any Permission plugin? Which one? PermissionsEX
    Whenever I try to buy stuff from someone else's shop it says, "Cannot buy here!"
    I am op and the owner and I have the ChestShop.admin permission node for me.
    So why is it that I cant buy stuff?
  10. Offline


    Cannot buy here = Your 3rd sign line is wrong.
  11. Offline


    Does Chestshop support two chest with on sign?
    Or is it only one chest and a sign above?
  12. Offline


    Nope, it supports only one chest.
    However, it supports multiple signs with one chest.
  13. Offline


    ok so 17:2 does work, but it turns up with "LOG:2" on the chest shop sign, we can buy and sell through it now, but its hard to see what the name of the stuff is
  14. Offline


    You can just do /iteminfo to find out what is the item you're holding.

    The economy account of yours/the player you're buying from doesn't exist. If you have iconomy, just do /money create nameOfTheAccount
  15. Offline


    yea sorry the problem was i forgot to add iconomy plugin
  16. Offline

    Matt Gill

    Do protected regions with World Guard have a flag to let people use shops now? My players can't sell to an admin shop at my protected spawn. I couldn't find anything on the World Guard wiki.
  17. Offline


    This plugin doesn't support Permissions 2.x/3.x anymore ? :\
  18. Offline


    I installed the new version and its not working for the new items it wont show item ids from using /iteminfo for some reason
  19. Offline


    Hey ,

    an little error on CB 1597 and Chestshop 3.30 , iconomy 6.0.8b

  20. Offline


    - CraftBukkit 1597
    - ChestShop 3.30
    - Your economy plugin iConomy5
    - PEX-Permissions Plugin
    Problem: When you buy different items with the same id, it overrides it (so if you buy 5 red wool and then 30 green wool you have 35 green wool) (or you buy 30 white wood and then 30 red wood and you have 60 red wood)
  21. Offline


    It doesnt work why doesnt anything work ??????:mad:
  22. Offline


    - CraftBukkit
    version git-Bukkit-1.0.1-R1-b1597jnks

    - ChestShop
    version 3.3

    - Your economy plugin
    iConomy 6.0.8b

    - Have you got any Permission plugin? Which one?
    PermissionsBukkit 1.2
    If I add a sign side by side, the shop said it is successfully created and the player is charged for it but the sign fails to work. I will add a screenshot to try to explain what I mean. The cobblestone sign doesn't respond to any clicks but the dirt sign continues to work fine.

    I was expecting to have a double chest linked to two signs above it. I take it that this is not possible? If not, can you make it so that the shop fails to create so the player doesn't lose any money and also so that there are no bugged/failed shops on my server.

    Screenshot (open)
    Screenshot (open)
    Screenshot (open)
    Screenshot (open)

    P.S I have no clue why four spoiler boxes come up but screenshot is in the last one. Also can't edit them out for some reason.
  23. Offline


    @Matt Gill
    No, it's not WorldGuard. It's probably your bukkit's built-in spawn protection. Go to bukkit.yml, change spawn-radius to 0.

    It still supports them.

    Which bukkit version?
    Which ChestShop's version?

    Hmm... I'll check it.

    WHAT doesn't work?

    Well, you can link multiple signs to one chest. It should work fine. I'll check it.

    It seems like your CraftBukkit is bugged.
    It seems to report that the sign has got null text on the sign, which can't happen normally.

    What are you writing on the sign?
  24. Offline


    bukkit 1597 chestshop version 3.0
  25. Offline


    I made a server setup from scratch and the double sign seems to be working now, so im guessing it was a different plugin interfering.

    But I do have another concern. I rent a server from multiplay and when I install this mod there are two folders created called "iConomyChestShop" and "ChestShop". The ChestShop folder seems to be the active one as the log file is written to that folder and the changes I make to the iConomyChestShop don't do anything. I can delete it but it makes iConomyChestShop folder everytime I start server. Is there suppose to be two folders? or should I ask for support from multiplay?

    I looked at clanforge and the version of ChestShop (v3.29 (iConomy v6.x) ). In-game it tells me version 3.3.
  26. Offline


    You've got 2 plugins - iConomyChestShop and ChestShop.
    Just delete the old version, iConomyChestShop.jar

    Try /icsversion in-game. If it responds, it means that the iConomyChestShop is ALSO installed.

    Hmm, it works for me. Make sure you downloaded it right and restarted the server.
  27. Offline


    i have. and i can use the itemids from the wiki and some things work with the new /iteminfo its mainly enchanted items that dont from what i noticed.
  28. Offline


    Hmm... Enchanted items work for me.
    Although it depends on how you use it - so, what are you doing with /iteminfo?
  29. Offline


    No one on my server besides me which i havr the - '*' node can sell items but they can buy items
  30. Offline


    I seem to be having a problem with users getting a "You don't have permission to do this" message when they try placing a shop on a pre-privated chest (LWC)... When they remove chest protections it is fine. This is more of just an annoyance than anything, with the amount of people that report this on a daily basis :p How can I fix this?
  31. Offline


    i jsut hold the item in my hand and type /iteminfo as normal

Share This Page