[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


    What can it be that i can sell items but cant buy?
    I have the latest PEX Version 1.18 and the latest Chest Shop Version 3.35
    If i left klick the shop it works but rightklicking it, do not perform any action, no error message, no comment nothing. Whats wrong?

    Using bukkit R4.

  3. Offline


    - Are you in creative mode?
    - Did you try going to bukkit.yml and changing spawn-radius to 0.
  4. Offline


  5. Offline


    Ok, next question, which may not pertain to this directly. Now permissions like bukkit.command.time.set won't work for my non-OPs... and ideas?
  6. Offline


    Quick question, how do I take away permissions from certain players? The actual Permissions guide gives no more info than that certain plugins should have 'plugin.true' or 'plugin.false' as their permissions (as far as I know). I'm not sure if this would work - is there a way to take away specific permissions from players?
  7. Offline


    Probably a careless mistake but I cannot get admin shops to work, i can create them but nobody can buy or sell from them, and there is either a 'you can't sell here' or no response if i do either a price on the sign or list the item as free. permissions seem to work and i am clueless..... plz help

    i am using the basic bukkit permissions
    i just downloaded the new version of bukkit and your plugin
    i am getting no error messages on my log
    and i am really annoyed at how i can't figure this out :(


    I have played around with it and have found that free admin shops don't work.... why?

    and can you do subscript values?
  8. Offline


    I have no clue, it's not ChestShop's issue :/

    Depends on the permission plugin.
    PEX and GroupManager - add a new permission with '-', like:
    - -ChestShop.shop.create

    bPermissions - same, but add the permission with '^' before the name.

    To create a "free" shop, you must specify WHAT is free.
    On the 3rd line put "B free" "S free" or "B free : S free"
  9. Offline


    18:13:50 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R6-2-g653ab03 (MC: 1.2.2) (Implementing API version 1.2.2-R0-SNAPSHOT)
    18:12:59 [SEVERE] Error occurred while enabling ChestShop v3.36 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getSoftDepend()Ljava/lang/Object;
    at com.Acrobot.ChestShop.ChestShop.getDependencies(ChestShop.java:149)
    at com.Acrobot.ChestShop.Listeners.pluginEnable.initializePlugins(pluginEnable.java:37)
    at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:54)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:249)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:231)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:369)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:420)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Would fix that, but github doesnt appear to be up to date?
  10. Offline


    Do you have an update for [1.2] ?
  11. Offline


    At the moment I DON'T have an 1.1R5/1.2 version, because I'm working on fixing a bug in Bukkit.
  12. Offline


    LWC or Lockette,
    both great plugins
  13. Offline


    r u going to make one?
  14. Offline


  15. Offline


  16. Offline


    Any ETA? :D
  17. Offline


  18. Offline


    hey, this looks like an awesome plugin but is there a way to make it so some signs only sell and some only buy? I just would rather have separate areas.
  19. Offline


    Of course :)

    For example, a sign that only sells logs for 5 dollars each.

    B 5
    As you can see, the 3rd sign line says that when people Buy 1 log, they pay 5 dollars.

    You can also make sell-only shops.

    S 5
    Same as before, but this time people can only Sell logs for $5 each.
  20. Offline


    Now that ChestShop doesn't support permissions 2/3 does that mean it won't work with PermissionsBukkit? It's the only perm plugin I understand, and i'd rather not have to switch to bPermissions or PEX
  21. Offline


    Thank you so much! i will definitely be installing this!
  22. Offline


    Is this working with R6?
  23. Offline


    "[ECON] ChestShop 3.36 (iConomyChestShop) - Chest&sign shop for economy plugins [1.1-R6/1.2]"
    Yep, it does. If you're using Vault, make sure to update.

    Well, PermissionsBukkit isn't P2/3, right? So it should work fine.
  24. Offline


    Alright thanks, is there a [info] that appears when starting the server that says what permission plugin chestshop hooks into?
  25. Offline


    Nope - ChestShop doesn't hook into any permission plugin. It uses the "SuperPerms" framework, which means that I can only do player.hasPermission("somePermission") in my code, and it will tell me if the player has the permission. I don't know which plugin gave him that permission.
  26. Offline


    Ok Thank's but can you please PM me when you have the new 1.2 Up to date :)/Thanks
  27. Offline


  28. Offline


    Can you link me the R6 CraftBukkit? /Thanks
  29. Offline


    Oh I am sorry i didnt look here:
    [ECON] ChestShop 3.36 (iConomyChestShop) - Chest&sign shop for economy plugins [1.1-R6/1.2]
  30. Offline


  31. Offline


    Works, awesome!

Share This Page