[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. Offline

    HaxtorMoogle

    permissions with this plugin are totally messed up
    People without the permission or the permission - can still make shops... for free... and i get this error when they do
    Launching minecraft server...
    craftbukkit.jar
    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.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.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 by: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
    at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:90)
    at sun.reflect.GeneratedMethodAccessor264.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)
    ... 10 more
    Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.towny.exceptions.NotRegisteredException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 15 more
     
  3. Offline

    Lahvicka

    Test plugins " bpermissions " and it also did not work .. and what you sent also did not work . but thanks for trying..
     
  4. Offline

    where

    Tried that jar, nothing changed. :( Protection enchants still won't sell, and all other enchants and items sell perfectly fine.
     
  5. Offline

    THG3

    Acrobot

    I have all worldguard integration in your config disabled yet users are still not able to create shops in worldguard regions they are listed in.
     
  6. Offline

    Acrobot

    Lahvicka
    If you're using bPermissions, to negate node you have to add this as a permission for your default group (without parenthesis):

    "^ChestShop.shop.create"

    Lahvicka
    Update your Towny.

    where
    Hmm, can you tell me what enchantment exactly is not working?


    THG3
    What error do they get?
     
  7. Offline

    where

    Any enchanted item that has any type of protection enchantment on it.
     
  8. Offline

    THG3

    Acrobot

    "You can't create shop here!"
    Again - Both worldguard options are set to false.
     
  9. Offline

    Acrobot

    THG3

    Hmm, this doesn't sound like a worldGuard protection then, do you use Towny?
     
  10. Offline

    Will Battel

    Acrobot
    Hi, I am not sure If you saw my issue, but here it is,
    The buying/selling in my shops don't affect the buyer's balance, so i.e.:

    Player starts with $100
    Buys something for $50
    Still has $100 after

    I am using iConomy and I watched videos and it just won't... how to say it... Link to the plugin's money. And yes I changed it in the Config.yml to iConomy as the preferred plugin.


    So if you know how to fix that please tell me :)
    and P.S., i am on a Mac so i can't go into the ChestShop.jar file
     
  11. Offline

    Acrobot

    Will Battel
    I'd just re-download iConomy, and could you post your config on pastebin.com?
     
  12. Offline

    Peipei

    Does anyone know if there is a way for me to see a list or log of all the purchases made in my server?
     
  13. Offline

    Acrobot

    Peipei
    If you've enabled logging to file, just look into the file.

    If not, just look into server.log for "[ChestShop]"

    If you've enabled logging to database, just look into the database.
     
  14. Offline

    Will Battel

    I already tried re-downloading iConomy, in the Consle it said : [INFO] [ChestShop] iConomy version 6 loaded.
    So it is linked, Which config should i post, ChestShop or iConomy?
     
  15. Offline

    Acrobot

    Will Battel
    ChestShop's config - I want to know if you've set any options that could take all your money back :p
     
  16. Offline

    THG3

    No towny, just WorldGuard. The msg is from your local.yml file.
     
  17. Offline

    Acrobot

  18. Offline

    kauangc0

    hey,i'm new here how i config permissions ???
     
  19. Offline

    THG3

  20. Offline

    Acrobot

    THG3
    Hmm... Could you PM me the IP to your server?
     
  21. Offline

    THG3

    Thank you for your help.
     
  22. Offline

    tyzoid

  23. Offline

    ReganMackin

    Hello, When someone try's to buy on mine. It says Essentials Protect Protection owner ReganMackin
    My server IP Is
    176.31.226.213:25597 24/7 join and try it. If you wish..
     
  24. Offline

    Acrobot

    ReganMackin
    Well, turn off the Essentials Protection then?
     
  25. Offline

    Crankmast3r

    So has anything been done about this yet im still having the same problem aswell...

    Thanks
    Crank
     
  26. Offline

    Acrobot

    Crankmast3r
    Well, it turned out to be a user-error...

    Are you sure that the region that the chest is in DOESN'T protect the chests?
     
  27. Offline

    Crankmast3r

    Yess 100% me and a mod just tried again to double check
     
  28. Offline

    Acrobot

    Crankmast3r
    Hmm, could you PM me the IP to your server then? :)
     
  29. Offline

    gerarddude5100

    I have tried everything to get this plugin working. But every time I try to use the plugin it says i have created a shop but when me of my friends right click or left click on the sign no text appears. not even the out of stock
     
  30. Offline

    Acrobot

    gerarddude5100
    Can you post the error that shows up in the console?
     
  31. Offline

    gerarddude5100

    no error shows up on the console it just does not work every time i try and use it. i have towny and other plugins that it has worked with before the update
     

Share This Page