[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

    Acrobot

    An easy way to create shops - no protection plugin needed!
    You don't need to be on-line to earn money anymore!
    [​IMG]
    I've put a LOT of effort into making this plugin,
    you can donate if you appreciate my effort =)

    Requirements:
    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    Optional:
    - 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


    Setup:
    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.

    Translations:
    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/


    Permissions:
    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:

    [​IMG]
    (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:
    [​IMG]

    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:
    [restricted]
    firstGroupName
    2ndGroupName
    3rdGroupName
    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)

    USING SHOPS
    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)

    DESTROYING SHOPS
    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)

    STOCKING THE SHOPS
    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?

    [​IMG]
    Changelog (open)

    Changelog can be found on BukkitDev - http://dev.bukkit.org/server-mods/chestshop/files/
     
  2. One way to limit them:
    Disable Chestshop's shop protect and limit protections in LWC (If you're using it)
     
  3. Offline

    assassin132132

    i just want ask what are premmissions
    i mean: - essentials.?
    beacouse im with essentials premissions :D
     
  4. Offline

    Frvwfr3


    Can you please link me to a iCo 5 download then?

    They have completely erased them all...
     
  5. Offline

    Acrobot

  6. Offline

    assassin132132

  7. Offline

    assassin132132

    @Acrobot
    i made that i wanted ty
     
  8. Offline

    Hopium

    @Acrobot its always the littlest thing :p capitalization fixed it, thanks man.
     
  9. Offline

    Acrobot

    @Hopium
    No problem :)
    Also, it automatically fixes it in new version.
     
  10. Offline

    Hopium

    lol idiot-proofing :D
     
  11. Code:
    2011-10-01 23:38:58 [SEVERE] Could not pass event PLUGIN_ENABLE to iConomyChestShop
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at com.nijikokun.register.payment.methods.iCo4.isCompatible(iCo4.java:54)
        at com.nijikokun.register.payment.Methods.createMethod(Methods.java:36)
        at com.nijikokun.register.payment.Methods.setMethod(Methods.java:66)
        at com.Acrobot.iConomyChestShop.iConomyChestShopPluginListener.onPluginEnable(iConomyChestShopPluginListener.java:27)
        at org.bukkit.plugin.java.JavaPluginLoader$46.execute(JavaPluginLoader.java:562)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:927)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
        at org.bukkit.Bukkit.reload(Bukkit.java:173)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    I get this error, while Bukkit tries to load ChestShop

    Craftbukkit version: git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    iConomyChestShop version: 3.22
    Economy plugin: iConomy 6.07
    Permissions plugin: Permissions 3.1.6
     
  12. Offline

    Acrobot

  13. Code:
    2011-10-02 00:20:51 [SEVERE] Could not pass event PLUGIN_ENABLE to iConomyChestShop
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at com.nijikokun.register.payment.methods.iCo4.isCompatible(iCo4.java:54)
        at com.nijikokun.register.payment.Methods.createMethod(Methods.java:36)
        at com.nijikokun.register.payment.Methods.setMethod(Methods.java:66)
        at com.Acrobot.iConomyChestShop.iConomyChestShopPluginListener.onPluginEnable(iConomyChestShopPluginListener.java:27)
        at org.bukkit.plugin.java.JavaPluginLoader$46.execute(JavaPluginLoader.java:562)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:927)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    No Ive got the newest version but still I get an error.
     
  14. Offline

    Acrobot

    @Freienstein
    It's impossible that you've got the latest version.
    The new version is called "ChestShop" - from your error I can see you're using iConomyChestShop - which is probably version 2.75
    Could you try removing your iConomyChestShop.jar and replacing it with the ChestShop?
     
  15. Argh ... head --> wall

    I realy forgott to remove the old .jar thanks for the (fast) help.
     
  16. Offline

    Acrobot

  17. Offline

    allisgood888

    When I sell or buy items to the shop, it doesnt deposit the money into iConomy (version 6). Btw, I do have iconomy selected in the config.
     
  18. Offline

    PeterGarfield6

    The permission nodes are not working. I use Chestshop.shop.* for my Builder ranks and they can't buy anything. Does it matter if the store is an Adminshop? I am using the latest version of build 1085 for Craftbukkit and Version 3.22 for Chestshop. I am using Permissions 3 and I am using iConomy. I have also tried doing the individual nodes, Chestshop.shop.buy, Chestshop.shop.sell, and Chestshop.shop.create.
     
  19. Offline

    Tactical_Toad

    Sorry about the long reply. But there is no console errors but when I disable the plugin, the server doesn't crash.
     
  20. Offline

    Tactical_Toad

    Buttonwarp, Citizens, Essentials, Factions, Falsebook, iChat, iConomy, Lockette, Log, McMMo, MyWarp, Permissions, Phatloots, Setrank, Showcase, Towny, VanishNoPickup, World Edit, WorldGuard And yes, Latest Version is installed.
     
  21. Offline

    Acrobot

    @allisgood888
    iConomy 6 fails. If you wish, install iConomy 5.

    @PeterGarfield6
    It's ChestShop - with uppercase S.

    @Tactical_Toad
    When exactly does your server crash? Do you use, for example, McMyAdmin?
     
  22. Offline

    tomnicklin

    Where can I get iConomy 5? its been removed from the website/forums now
     
  23. Offline

    Acrobot

  24. Offline

    tomnicklin

  25. Offline

    Switch0r

    Hey i love this plugin but how do i set a shop to sell a Mob_Spawner?
    Its not working on our server.
    It says: You don't have enough items to sell.
     
  26. Offline

    Acrobot

    @Switch0r
    Hmm, that's weird. You mean that YOU (as the shop owner) want to sell the mob spawner, or someone (you are the shop owner) should sell TO your shop?
     
  27. Offline

    Tactical_Toad

    My server crashes randomly, I disabled a bunch of plugins to find which one is causing them and this is getting quite frustrating. The server is still crashing but not nearly as much when I had ChestShop, And I am using Multicraft.
     
  28. Offline

    Switch0r

    Yep
    Server Shop
    1
    S 20
    Mob_Spawner
    Thats the only item that does not work or am i doing something wrong.
     
  29. Offline

    Deewon

  30. Offline

    allisgood888

    Where do I find iConomy 5? Can't find it.
     
  31. Offline

    kahlilnc

    Mm I was getting a big leak from this plugin causing it to lag and crash all the time. And sometimes wouldnt start due to it being stuck trying to load this plguin. . . Any ideas?
     

Share This Page