[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


    git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC 1.7.3)
    Latest version of iConomy
    Latest version of LWC

    I have a store set up with a bunch of admin shop chests, but only ops can sell to them. Is that normal behavior?
  3. Offline


  4. Offline


    We're a couple hundred blocks away from the spawn. I had Shop 0.2 before, and the other admin (who hosts the server on his PC) said he removed it before he installed this. The users can create their own shops/sell things in their own shops, and they can buy from the Admin Shop, they just can't sell to it. I used /cremove in LWC to remove protections from the signs as well.
  5. Offline


    What happens when you try to sell to the shop?
  6. Offline


    Nothing. No text on the screen, no transfer of items or money, and nothing in the console. Our full plugin list is:

    git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC 1.7.3)
    iConomy 5.0.1
    ChestShop 3
    MyWarp 2.0Dev

    Right clicking signs buys as normal, but left clicking does nothing, either with an item in hand or just a fist. We just uninstalled and installed a fresh download and still the same thing. Not using Permissions of any kind. Ops can sell to the Admin Store just fine, but non-ops can't.
  7. Offline


    That really looks like a spawn protection, REALLY.
    Go to bukkit.yml, turn spawn-radius to 0, turn OFF and ON the server :)
  8. Offline


    Wow Acrobot, I'm retarded. I forgot that the spawn point had been moved with a plugin since we started the world, and the second time you said spawn protection it clicked in my head and I was like "Oh wow, I'm a dumbass!" Thanks man, plugin works great. :)
  9. Offline


  10. Offline


    I cant get it so people can buy or sell to admin shops "You don't have permissions to do that!".
  11. im having some trouble taking down a missplaced admin shop and im a op
  12. Offline


    Is there a way to upgrade from 2.75 to 3.0?
    Or are the DataBases taken as they are?
  13. Offline


    Im getting pissed off about this
    for some reason it keeps saying
    No_selling_to_this_shop: "Shop owner doesn't want you to sell here!"
    No_buying_from_this_shop: "Shop owner doesn't want you to buy here!"
  14. Offline


    Hi i got every time that error:
     [SEVERE] Error occurred while enabling ChestShop v3.0 (Is it up to date?): com/google/common/collect/Lists
    java.lang.NoClassDefFoundError: com/google/common/collect/Lists
        at com.Acrobot.ChestShop.Listeners.pluginEnable.<clinit>(pluginEnable.java:34)
        at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:52)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists
        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)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    i have the updated version of craftbukkit,enssentialgroupmanager and chestshop
    pls help me
  15. Offline


    What are your Permissions?
    What is your plugin version?

    Something is wrong with your 3rd sign line.
    I bet it's something like
    B:5 S:5
    that's bad. You should do:
    B 5:5 S
    (B and S can be on either side of the price and of the colon)

    Thanks, fixed now. Apparently I have used the wrong import :p
  16. Offline


    Gnarch, its me again.
    Got no permissions, Bukkitversion unknown (works with Minecraft 1.7.3), got the Chestshop Version on top of the side and BOSEconomy.
    Same error as every time:
    couldn't pass event SIGN_CHANGE
    couldn't pass event BLOCK_BREAK
    and so on and so on.
    Every time a thing of Chest shop chould do ANYTHING an error occurs.

    Thanks for helping.
  17. Offline


    PLZ help me i got 24/7 survival server and premissions Lwc and many other plugins but i installed chestschop and it works perfect for admin now i did premissino nodes create-sell and i forgot buy but that worked all than i seen i forgot buy and put it in i start up server and hole premissions is fuking 20 errors a second plz help me
  18. Offline


    Could you please give me the ALL errors?

    Can you give me at least one error? It may be just Permissions config corrupted (you have got tabulator or something) or just unrelated, for example bugged map.
  19. Offline


    CB: 1000
    CS: 3 Beta 11
    iConomy (Eruanna)
    Permissions (TheYeti) 3.x
    Issue: when a user tries to use a shop I make (NOT an admin shop), it says that they are not allowed to buy here (sounds like a region issue, but it isn't WorldGuarded or anything). If this has a very simple fix, please excuse my ignorance :p
  20. Offline


    Something wrong with your 3rd line.
    You probably have something like B:5 S:5
    It's B 5:5 S
    (B and S can be on either side)
  21. Offline


    Couldnt pass event PLAYER_INTERACT to chestshop.
    Couldn pass event SIGN_CHANGE to chestshop.

    and much unreadable at net.minecraft.server and so on...
  22. Offline


    I have ChestShop 3 and my permissions are,
    - 'choptree.chop'
    - 'dwarfforge.use'
    - 'dwarfforge.destroy'
    - 'firelord.sword'
    - 'firelord.pick'
    - 'inv.allowtools'
    - 'lockette.user.create'
    - 'fight.user'
    - 'Chestshop.shop.*'
    - 'wolfpound.use'
    - 'slowhealth'
    - 'iConomy.access'
    - 'iConomy.payment'
    - 'iConomy.rank'
    - 'towny.wild.*'
    - 'towny.town.new'
    - 'towny.town.claim'
    - 'towny.town.resident'
    - 'towny.spawntp'
  23. Offline


    Those aren't full errors.
    Full errors are from "Couldn't pass" to the end of the paragraph.

    You probably have got
    B:5 S:5 on 3rd line.
    It's actually B 5:5 S
    (B and S can be on either side)

    Just upgrade.
    Database table changed from ics_transactions to cs_transactions

    Just sneak and destroy it?

    It's case-sensitive
    It's ChestShop, not Chestshop
  24. Offline


    Might want to change the gray text. Sure it is fancy, but it is very inconvenient. Other than that, great job.
  25. Offline


    Oh, ok.
    I thought it's a nice color (it is readable on my PC).
    I'll leave it for now, maybe change it later :)
  26. Offline


    That means, i can just rename the Database, and everything works fine?
    I'm asking, because i don't want big Servercrashes if i can avoid it.
  27. Offline


    Oh yeah, I can read it too but.. http://contrastrebellion.com/ :p
  28. Offline


  29. Offline


    How do I create an Admin Shop?
    Where is the line in the config that specifies the name of the Admin Shop?
  30. Offline


    ADMIN_SHOP_NAME: "Admin Shop"
    Just put it on the first line of the sign (case and spaces don't matter)
    Masterkillr2 likes this.
  31. Offline


    I can't find the line in my config.
    I just added it but it still doesnt work.
    Does this plugin actually work for Bukkit version 1000?
    I have ChestShop v2.4
    I cant update because i rented a server and so I cant update it.
    I do not use any Permissions plugin,everyone is admin on the server.
    Having personal buy/sell chests totally works,but I can't even create an Admin Chest

Share This Page