[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

    oclaim

    I have a little question, when I put a sign with all the information for the shop it say:

    Sign is in old format, please update!
    What I do ? I realy want this plugin because 38 player what exhange !
     
  3. Offline

    LucidLethargy

    Any chance on an eta for a fix to this, or a reason not to downgrade back to a version that supported it?

    Love your work either way, this mod is well loved by my server :p
     
  4. Offline

    Kainzo

    *prays for an update for 600RB*
     
  5. Offline

    Acrobot

    @Kainzo
    Sure, it'm gonna code it when I get home. (about 5 hours)
    Also, 2.0 has OddItems working now :)
    The only things until relase is:
    • Actual buying and selling
    • Maybe noID
    • if I can - lever for redstone power.
     
  6. Offline

    saftb1

    acrobot i started a conversation with you can you please reply to it and my pm with in your profile post's
     
  7. Offline

    AZUMIKKEL

    Yesterday or Monday I extracted the Alpha 6 to my server, I can rememeber this clearly.
    Although there's some bug not allowing me to modify plugins while the server's running, so I must've overseen the silent error.
    It works, thank you, and sorry.
     
  8. Offline

    Acrobot

    Okay, version for CB600 is up!
     
  9. Offline

    TheRock

    got an error with alph.7

    server log says
    Code:
    [SEVERE] PLAYER_INTERACT (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_INTERACT
        at com.Acrobot.iConomyChestShop.iConomyChestShop.onEnable(iConomyChestShop.java:66)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:79)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:60)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  10. Offline

    Acrobot

    @TheRock
    You have old CraftBukkit
     
  11. Offline

    TheRock

    mate can you make a version for < 600 .. cause essentials didnt work with that.. for now
     
  12. Offline

    Acrobot

    Alpha6 is for <600
     
  13. Offline

    TheRock

    yes but there isnt chbuy and chsell ;)
    essentials eco conflicts with normal sell and buy of iconomychestshop
     
  14. Offline

    Nurgo

    I saw that you removed the automatic filling of the last line.
    It was a very important feature!
    Most players are now unable to use the plugin, because most players don't know the exact object names and don't know where to find them.
    And when the typed name is incorrect, no error message is displayed, many users are using invalid names and are wondering why they don't sell anything.
    I hope that you will restore this feature soon!
     
  15. Offline

    Acrobot

    @Nurgo
    Wait for 2.0, please.
    It will add features like: item aliases, showing what item you have in hand - name, aliases and showing item names by id, automatically changes id to material name etc...
     
  16. Offline

    Nurgo

    Thanks for your reply, it's a great news :)
    Keep up the good work!
     
  17. Offline

    anonymous

    Feature request: The ability to make admin chests not fill up. So items basically disappear into thin air. My admin shop is just used for resources to be sold and every time I log on I get spammed with "EMPTY THE CHESTS!"
     
  18. Offline

    Magesblood

    Yes!
     
  19. Offline

    Iqualfragile

    Code:
    11:33:08 [SEVERE] BLOCK_RIGHTCLICKED loading iConomyChestShop v1.0a6 fixed edition (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
            at com.Acrobot.iConomyChestShop.iConomyChestShop.onEnable(iConomyChestShop.java:59)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    ...
    craftbukkit 602
     
  20. Offline

    Acrobot

    @Iqualfragile
    You're using an outdated version, 1.0a6 fixed version?

    @anonymous
    Admin shops do not fill.
     
  21. Offline

    Iqualfragile

    yes i am using v1.0a6
    i am using the up-todatest wget-friendly version i can find.
    aditionaly i am running

    ps: now i am using v1.0a7
     
  22. Offline

    Acrobot

    @Iqualfragile
    wget friendly download URL changed really long ago.
     
  23. Offline

    Danzzz

    could u possibly make the downloads abit clearer dont hav a clue what one 2 download for the newest one ? can u delete the older versions ?
     
  24. Offline

    anonymous

    errr they fill for me >.>
     
  25. Offline

    Acrobot

  26. Offline

    Danzzz

    Thnx mate i just think its kinda bit 2 like confusing maybe its just me ;D
     
  27. Offline

    Bubbleguts

    um i got the new version but when i try and make a shop nothing happens it wasnt doing this befor
     
  28. Offline

    KeithGB

    Same as bubbleguts. /buy and /sell work but creating and right-clicking do not.

    Just downloaded the new craftbukkit build to accomodate MC1.4Beta and am using a7 of ChestShop.

    Code:
    [INFO] [iConomyChestShop] version 1.0a7 initialized!
    2011-04-01 01:18:11 [INFO] [Permissions] version [2.5.3] (Phoenix)  loaded
    2011-04-01 01:18:11 [SEVERE] BLOCK_PLACED loading iConomyChestShop v1.0a7 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_PLACED
        at com.nijikokun.bukkit.Permissions.Permissions.onEnable(Permissions.java:149)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at com.Acrobot.iConomyChestShop.iConomyChestShop.setupPermissions(iConomyChestShop.java:46)
        at com.Acrobot.iConomyChestShop.iConomyChestShop.onEnable(iConomyChestShop.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:264)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:225)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:391)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  29. Offline

    ziggo0

    I need alpha 6 for #556 and you took it down :(
     
  30. Offline

    matymathew

    Same as bubbleguts and keithgb cant make new shops
     
  31. Offline

    ShaDooM

    Same here
    CB 556

    Suddenly nobody can create shops anymore

    edit:

    Just some chunks seem bugged... it works in some but not in all :S
     

Share This Page