[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


    to get it straight. you place stuff in the chest. You put the sign up and it'll sell the stuff out of the chest while you get money.

    Another question.
    "the last line will show up what was taken last time as the first item from chest!"
    I guess its a lack of english, but i dont really get what the last line will show.
    Can you explain it for an idiot like me [​IMG]?
  3. Offline


    When starting the sever i get this error:

  4. Offline


  5. Offline


    @Red00 - no, but I will code it just now!
    Also, it won't place the block anymore! :)
  6. Offline


    Same Error as bentzilla!


    Plz help us! =)

    Greetz Nepper
  7. Offline


    Hmm, update CraftBukkit.
  8. Offline


    Thanks 4 the update mate.
    Did notice one bug, if you have all setted true:
    useID: true
    noID: true
    sell: true

    You place block inside write at the sign,

    It replace 1 with STONE but you can't buy/sell from/to the shop.
    If i not placed any blocks inside and wrote the same it worked.

    If you have sell true, can you also "buy" from the shop or is it just sell then?

  9. Offline


    2: You can't buy from the shop where you sell items, but you can buy from other shops.
    1. I'll test that
  10. Offline


    You mean user created shops? like:

  11. Offline


    Newest update fixed that,


    should work with everything on true

    And you can't buy from shops where the 1st line is "buy"
  12. Offline


    Nice you was fast to update. Like that :)
    Ok thank you for the reply. That was what im hunted for.
    If i turn sell to off the the buy shop are buy shops (not sell).
    Why not have sell shops (sell) buy shops (buy with unlimited stock from "server") and user shops if left blank or username on 1st line. Maybe an idea?

  13. Offline


    Hmm.. wait for plugin update?
    or is that a conflict with other plugins?

  14. Offline


    Is there anyway you could post an older version, perhaps on that would work with craftbukkit 325?
  15. Offline


    I get SEVERE: Could not load plugins\iConomyChestShop.jar in plugins: null when i start my server up.

    how do i fix this?
  16. Offline


    I'm sorry to say, that now the "noID: true" doesn't work now after the last update 0.71.
    Doesn't write a name on the sign. Use ID: false.

    useID: false
    noID: true
    sell: true
    distance: 1
    position: 'DOWN'
    --- merged: Feb 21, 2011 6:55 PM ---
    What version of Bukkit do you use?
  17. Offline


    How did you get iConomy to work with build 402?
  18. Offline


    Works for me.

    @Everyone with Could not load plugins\iConomyChestShop.jar:
    Update your CraftBukkit

    iConomy works perfectly for me, CraftBukkit 402.
  19. Offline


    Not for me.
    I do like this;
    Putting stone (id 01) in the chest,
    write at the sign:

    It does not put STONE or ID at the last row.
    Hmm.. :p

    Sorry might not work 4 Buy shops when you have sell enabled. Hehe :p
    My fault. :)

    Should be nice tho if it did, then you can place a chest with empty last line and the first user who comes there are controlling what he are going to sell to it. Might be an idea.
    Thans anyway for the great update mate.

  20. Offline


    Ugh, because it's a buy sign?
    You can't just buy anything.

    No problem :p
  21. Offline


    can I send you my log?
  22. Offline


    Sure, but please update to the newest versions of iConomy and Permissions and then try it :)
  23. Offline


    I did, Permissions works but iConomy gives me strange errors.
  24. Offline


    Okay, send the log
    Also, please send iConomy and Permissions configs :)
  25. Offline


    It works for me with the latest rev of craftbukkit.
    This server is running Craftbukkit version git-Bukkit-0.0.0-437-g9de610a-b405jnks (MC: 1.2_01)
    Ver: 437.
    Ignore this error:
    2011-02-21 20:03:47 [WARNING] Using the stupidly long constructor com.nijikokun.bukkit.iConomy.iConomy(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of iConomy to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-21 20:03:47 [WARNING] Plugin 'iConomy' (ver 2.0) is registering events before it is enabled. It may be misbehaving and the author needs to fix this.
    2011-02-21 20:03:47 [WARNING] Plugin 'iConomy' (ver 2.0) is registering events before it is enabled. It may be misbehaving and the author needs to fix this.
    2011-02-21 20:03:47 [INFO] [iConomy] version [2.2] (Aime) loaded
    2011-02-21 20:03:47 [WARNING] Using the stupidly long constructor com.afforess.minecartmaniaadmincontrols.MinecartManiaAdminControls(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of Minecart Mania Admin Controls to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-21 20:03:47 [INFO] Hint! It's probably someone called 'Afforess'
    2011-02-21 20:03:47 [WARNING] Using the stupidly long constructor com.nijikokun.bukkit.Permissions.Permissions(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of Permissions to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-21 20:03:47 [WARNING] Plugin 'Permissions' (ver 1.0) is registering events before it is enabled. It may be misbehaving and the author needs to fix this.
    2011-02-21 20:03:47 [INFO] [Permissions] version [2.0] (Handler) loaded
    Nothing is wrong, but the plugin creator need to correct that; Nijikokun

    Seems to be a common error on 400+
  26. Offline


    Should I send it as a .zip, and where should I send it? Sorry, I'm really new to this forum.
  27. Offline


  28. Offline


    Zip, rar, pastebin, anything will do :)
  29. Offline


    Acrobot, do you think of adding trade signs also?
  30. Offline


    Uh, how would they work? I will try to include selling and buying in one sign :)
  31. Offline


    Nice :)
    I mean:
    Acts as a sort of trade chest. The create deposits items or money, and sets an exchange rate. Other users can then trade with the sign based on the original parameters.
    Takes the form:
    # ItemA OR $#
    # ItemB:# OR $#:#
    The second line specifies the item to be traded with the sign. Players will trade ItemA for ItemB. The number prefixing item specifies the quantity per trade: for example, 3 dirt for 1 stone. Currency can be used in place of the item and quantity parameters on lines one and two. The value following the colon specifies how many of ItemB should initially be deposited. For example, a user looking to buy 30 dirt at the price of 30 dirt for 1 stone might create the following sign, depositing 10 stone:
    3 dirt
    1 stone:10
    The fourth line will automatically be populated with the name of the benefactor. When the benefactor right-clicks the sign, rather than commencing an exchange, the sign will be destroyed, and any remaining items or profits held by the sign will be dropped for the user to take.

Share This Page