[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


    Hmm, that shouldn't be the issue.

    Hmm - I wanted the custom signs to be a part of a future update - when I'll re-write the plugin.

    For the tax - thanks for reminding me - I forgot to add it :p
  3. Offline


    sorry if this is asked before, but does this plugin spawn the items in the chest by itself. or can i lets say: make a shop and go mine coal, and sell the coal. and when the coal runs out i need ro replenish the stock of coal myself? (and does the sign update the item count?).

    i.o.w. i am looking for a shop plugin where i can sell my own mined items (in the way your plugin does), is this the plugin i am looking for? :D
  4. Offline


    If you use "Admin Shop" - it has unlimited stock. (But you need to be admin to make it)
    For the normal shops - it uses the items in the chests.
    You can either buy or sell items, but remember - people need to buy from it/sell to it.
    Admin Shops provide "server shops" - unlimited stock, no chest. If someone sells to them - the item vanishes, if someone buys from them - you get item from nowhere :p

    Just look on youtube, search for "ChestShop" - few tutorials can come up, maybe they'll explain it to you better than me :)
    dkeulen likes this.
  5. Offline


  6. Offline


    You've got bPermissions - it's an permission plugin. Try running it without bPermissions, also, re-download the plugin :)
  7. Offline


    Thank you for this Plugin!
    But can you include a function to limited the number of Shops of a Player?
    Or maybe im don't see the function :eek:?
  8. Offline


    Nope - this would require a database :/
    I am planning to make ChestShop 4 very. VERY customisable - for example, this could be possible :)
  9. Offline


    dziekuje za ten niesamowity plugin dzieki i pozdrawiam Spajder
  10. Offline


    I usually resolve my own problems, but this has stumped me! :eek:

    - CraftBukkit 1185
    - ChestShop 3.21
    - Your economy plugin iConomy
    - Have you got any Permission plugin? Permissions 3.1.6 (Yeti)
    Won't let me create any types of shop, admin or otherwise. I am an OP on my own server, and have been struggling with CS for a couple months, through about 4 different types of permission plugins. No matter what I do, I can't get anything on CS to work!
  11. Offline


    Hmm, I really don't know. Are you sure you
    - aren't running multiple permission plugins?
    - are creating shops properly? (can you say what does your sign look like?)

    Dziękuję, także pozdrawiam :)
  12. Offline


    Confused :S not effectign anything jjust comes up with this error every now and then I notice it says towny But i dont use towny :S i use world guard/edit

    [SIZE=3][FONT=Lucida Console][COLOR=rgb(255, 255, 255)]2011-09-26 20:48:16 [SEVERE] Could not pass event SIGN_CHANGE to ChestShop[/COLOR][/FONT][/SIZE]
    [SIZE=3][FONT=Lucida Console][COLOR=rgb(255, 255, 255)]java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/object/TownBlockOwner
    at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:93)
    at org.bukkit.plugin.java.JavaPluginLoader$35.execute(JavaPluginLoader.java:483)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1045)
    at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.towny.object.TownBlockOwner
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    [SIZE=3][FONT=Lucida Console][COLOR=rgb(255, 255, 255)]at java.lang.ClassLoader.loadClass(Unknown Source)[/COLOR][/FONT][/SIZE]
  13. Offline


  14. Offline


    Hi and thanks for your awesome plugin !
    I search to create a mossy stone brick shop but I don't have the ID or the true name of this block.

    Thanks !
  15. Offline


    Re-download please :)

    Hey :)
    The id is 48, and the name is:

    So, you can f.e. type in "mossy" and it should work fine :)
  16. Offline


  17. Offline


    can you make this compatible with iConomy 6 or is it already compatible?
  18. Offline


    Oh, just type in 98:1 or SMOOTH_BRICK:1, smooth_b:1 or something like that :p

    Already compatible.
  19. Offline


    Thanks ^^
  20. Offline


    how come when someone sell diamonds the money doesn't go to there account?
  21. Offline


    - Broken economy plugin
    - Old ChestShop version
    - The shop buys everything for free
  22. Offline


    You should make the plugin where you can link chest and have a sign above a chest in your house, and it goes to the shop automatically. I think this would by an amazing plugin after that! I hope you get that feature.
  23. Offline


    Yeah, I would - if I re-coded the plugin, which will eventually happen :p
    At the moment, it doesn't use any database to store the shops, so it's really impossible, but should be possible in the future :)
  24. Offline


    This is a little far out there. But would it be possible to make this react with NPC's from citizen mod instead of signs? Or make it configurable?
  25. Offline


    Ok thank you, I will wait for ChestShop 4 :)
  26. Offline


    I have tryed to run it wihtout
    and while I am using it I can make shops but not buy from them. I can also take paid for making shops :) I am going to try redonwload if you think that will help
  27. Offline


    This doesn't seem to work for wilderness, Or is spose too?
    If not could we have that option also please?
    #Do you want to only let people build inside shop plots?
  28. Offline


    This seems like nice plugin but will probably give some problems when i try to left click a sign and forgetting that i am in creative mode. :p
    Even in survival i (as admin) often enter creative mode to help people out that have been griefed. Sometimes i forget to disable it. :p

    Other people also need to remember which button to press or they might just accidentally sell instead of buy things. :D

    Also wouldn't it be better to automatically protect the sign and chest/double-chest without having to need LWC or Lockette? Just make the creator of the shop the owner and the only one able to destroy + open it.
  29. Offline



    Is there a way to make shops not owned by players (accesable by all players) and with an infinitife stock? Actually like an Admin shop but accesable by all players. Is this possible?

  30. Offline


    I have no idea then. Maybe it's the old CraftBukkit?

    What exactly do you want implemented?

    Admin shops are. It's only named like that because it's CREATED by an admin. Every player can access it.

    Yeah, it sometimes causes problem with Creative :p
    I often do it with doors too :p

    Also - the chest and sign ARE protected, even without any protection plugin. I have created an built-in protection system, that is almost always active (You can disable it in the config - USE_DEFAULT_PROTECTION)

    Chests, signs and the block the sign is on are immune to
    - explosions (creepers, tnt)
    - block destroying (player, maybe enderman? (I have no clue how Bukkit implemented it))
    - pistons (both sticky and normal)
  31. Offline


    Oh nice. Thanx for the info.
    When i read the description i thought i needed an extra protection plugin.
    I don't think the description is very clear about that. (or i missed something)

    I was planning on installing Lockette anyways but it seemed unnecessary to create a shop + protect it when it could also be automatically protected.

    Now all i need to get this survival world with economy working, is a plugin that allows me to set game-modes different between worlds. Lets see if Multiverse has updated.

Share This Page