[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


    something that I would be interested in seeing is the ability to have 'mixed stock' chests. Mainly for example, I run a potions shop on my server, and when somebody places an order sometimes it takes a little while to get it. If they have three different kinds of potions, what I would like to be able to do is make a chest, put their order into it (all of the three types together) and put a single price, so when they buy it they receive the entire chests inventory. Another variant would allow them to receive one random item from the chest (which would be good for a giving tree style chest shop).

    Any possibilities or workarounds.
  3. Offline


    Bukkit 1.2.5 # 2155
    ChestShop 3.40
    2012-04-20 15:50:30 [SEVERECould not pass event SignChangeEvent to ChestShop
        at org
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1265)
    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:216)
    at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused byjava.lang.ClassCastExceptionorg.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
        at com
    at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    12 more
  4. Offline


    just put up to 6 chestshop's on each chest, that'll work the same as what you are saying
  5. Offline


    - CraftBukkit #2149
    - ChestShop 3.4
    - EssentialsEco with Vault
    - PermissionsEX

    On my server suddenly everyone can make signshops, even those without any chestshop permissions at all. And every time they make one, even though they shouldn't be able to, i get this error: "[SEVERE] Could not pass event SignChangeEvent to ChestShop"
  6. Offline


    The error you posted means that the block from SignChangeEvent isn't a sign -.-

    You need to post the whole error.
  7. Offline


  8. Offline


    Hey my members have permissions to build chest shops but when they try and build in my region flagged zones they get "No Permission" worldguard_integration is set to true x.x not sure what im doing wrong
  9. Offline


  10. Offline


    - CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
    - ChestShop version 3.39
    - Your economy plugin (iConomy? BOSEconomy? other one?) Iconomy
    - Have you got any Permission plugin? Which one? PermissionsEx
    Everyone can make chest shops even though I've added the chest shop create permission to a higher rank then the default.
  11. Offline


  12. Offline


    Yes I saw that. But based off that answer I still have no clue on how to go about fixing the problem :(

    Edit: Would it help if I showed you how I have my permissions set up?
  13. Offline


    Ehh... The easiest would be to open ChestShop.jar with WinRAR/7Zip, open "plugin.yml" and change ALL "default: true" to "default: ops"
  14. Offline


    Alright, I did that. However now my members can't buy or sell and my Supporter group can't create shops. Could you take a look at my permissions and tell me if they are set up wrong?

    Edit: I get the error in-game saying I don't have permission.

  15. Offline


  16. Offline


    Can someone help me with chestshop and towny integration.
    People can make shops in every plot in a town, they should only make shops in the shopplots.
    I have set this:
    #Do you want to only let people build inside shop plots?
    #If true, only plot owners are able to build inside a shop plot. If false, every town's resident is able to build there.

    Still it does not work, anyone have a solution here ?
  17. Offline


    Like click and drag? Or copy and paste the file contents?

    Edit: I went ahead and copied the info into the win/rar while it was open into the plugin.yml thing and then i put it back in the plugins folder - i'm still getting the no permission to do it.

    Edit: I'm leaving for work. I'll be back in approximately seven hours.
  18. Offline


    Hmm, I have no idea why :/
    Are you using the latest Towny version, at least

    It can be found here:

    Well, click and drag inside WinRAR's window, so plugin.yml gets changed, or just copy and paste its contents, if you like to :) Just make sure that the new plugin.yml inside ChestShop.jar is the plugin.yml I gave you.
  19. Offline


    Still not working :( Gotta run to work now.
  20. Offline


    Acrobot do i need to set something in towny settings to get it working ?
    I have Towny version
    I made a ticket with some errors
  21. Offline


    No, I told you - you need to update your Towny.
    I gave the link to it in the previous post.

    Version of Towny changed how plugins hook to it, so I couldn't make it compatible with both versions.

    Hmm, ok - give me your IP when you get back, and I'll help you as soon as I can.
  22. Offline


    Does this work with Essentials? Like the Essentials Iconnomy
  23. Offline


    Acrobot wich version of chestshop works on Towny ?
    Towny dev builds dont work with vault yet
  24. Offline


    Having a problem trying to sell a bow with Power, Punch, Flame and Infinity, I do /Iteminfo on it and its 261-btqo85 but when I make the chestshop its only give me a regular bow. What am I doing wrong?
  25. Offline


  26. Offline


    Yes it does thats what I'm using.
  27. Offline


    In CraftBukkit 1.2.5, im not getting this plugin loading at all..i mean, it doesnt work, and /plugins does NOT show ChestShop. Any ideas? (and yes ive restarted :p)
  28. Offline


    Do you get any errors in the console?
    Did you try regenerating the config?
  29. Offline


    Okay Thanks!!! I love this Plugin, but didn't wanted to get Iconnomy
  30. Offline


    No I dont get any console error with creating the Shop or buying, its just saying I bought one bow in console.

    Is there a list with these special codes?

    And if I made a tutorial vidoe could you put it under videos?
  31. Offline


    Yes, I can put it under videos.

    But, it kinda isn't the reply to you :p

    And there isn't a list of special codes.

    The reply to you was:
    "Is that a "natural" enchantment combination though?"

Share This Page