[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


    Thanks :)

    Well, that depends on your economy plugin, really - I've got no idea which one you're running.
  3. Offline


    I'm using iConomy and ChestShops together, and it tells me that my shop was successfully created but my friends can't buy from the shop, yes, the sign is set up and the chest has stuff in it, oh, and they are right clicking the sign.
    They have the following permissions:
    and I have these
    What am I doing wrong?
    - rawr =D
  4. Offline


    You gave me too little information, but let me take a wild guess - you get an error in console when they are clicking and your iConomy plugin is bugged.
  5. Offline


    No errors in the console... which version of iConomy should I be using?
    Here's the sign set-up:
    - rawr =D
    btw, I am using Lockette, should I lock the chest?
  6. Offline


    Maby your chest is out of items?:)
  7. Offline


    - rawr =D
  8. Offline


    Acrobot Chest shops are a bit bugged in 3.43. Players can buy from an admin shop even if they don't have enough money and still get all the items.

    If the player is out of money, they can't buy from the shop. But if he has some of it, not all of it, but some of the amount required, he can still buy it and get the stack.
  9. Offline


    And what exactly happens (what message do people get) when they try to right-click the sign?
    Oh, also - which CraftBukkit version are you using?

    That's why it's a test build - thanks, fixing that now (however, when I was testing, it was working fine, weird) :)
  10. Offline


  11. Offline


    I had a derpy moment; i didn't have vault installed.
    Sorry for wasting your time and thank you for trying to help =]
  12. Offline


    Don't know is it iConomy bug or ChestShop.
    When I make account name like "test test" (space between words) I have infinite money, I can buy anything from shop. But when i have name "test_test" or "testtest" all ok... Please fix that.. :(
    Or there is any plugin to kick/ban players with this nicks?
  13. Offline


    Will we see broadcasting shop creation in the next version?
    And instead of the top line changing colors, maybe the line with the item name/id (same concept, configurable colors for in stock, out of stock, and admin shop)
  14. Offline


    Firstly - this is a bug in iConomy.
    Secondly - your authentication plugin should already do the name filtering, not iConomy.

    Lastly - why don't you set your server to online-mode? I know, you will reply that some of your users haven't bought Minecraft, but I feel that if you can buy a computer, you should also buy a game that you play for long hours.

    No problem :p

    Hmm, I don't know, this is really easy to implement now :p
  15. Offline


    How to filter with xauth? Please help :\

    EDIT: Fixed.
  16. Offline


    please kisokos25 is my name....
  17. Offline


    Again, you need to tell me what economy plugin you are running! ChestShop is NOT an economy plugin, you may be running for example Essentials or BOSEconomy or even other plugin.

    I've got no idea, I've never managed an offline-mode server.
  18. PD : I am french, my english level is bad, i use translator for speak with you.
    Hello developer ChestShop. Again thank you for this plugin, I can make a suggestion. I have a server which is French PvP (Player V Player), players use the chests chestshopfor stacked items (especially potions), the cares of this stack is that once stackedpotions are used in fight as a "machine gun".
    Thank you for this bug resolved.

  19. Offline


    Hey hey.

    What CraftBukkit version are you running?
  20. @Acrobot 1.2.5-R4.0
  21. Offline


    ok when i try clicking to buy or sell it doesnt sell or say anything..
    how can i fix this?

    Attached Files:

  22. Offline


    How do the conditions of the shops work? Where can they and where can't they be placed. Here is what I was trying to do, assuming it would work but it did not.
  23. Offline


    Hello. I'm trying to set up a market but players cannot place chests/signs because I'm protecting the are with WorldGuard. How can I allow players to place chests on protected ground without letting people break other player's chests.
  24. Offline


    Hmm, this should work. Check if there isn't any sign on the other side of the piston.

    Well, I only use Bukkit's function for that. Try the test version and tell me if it works.
  25. The latest test version does not solve this bug. Please fix this bug :( !
  26. Offline


    Does this not work with Heroes? Whenever i add heroes plugin to my server this plugin always fails to start up. Heres my error:

    [SEVERE] Error occurred while enabling ChestShop v3.45 TEST BUILD (Is it up to date?)
    java.lang.NoClassDefFoundError: com/herocraftonline/heroes/Heroes
    at com.Acrobot.ChestShop.Dependencies.initializePlugin(Dependencies.java:94)
    at com.Acrobot.ChestShop.Dependencies.load(Dependencies.java:34)
    at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:66)
    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:386)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:262)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:244)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:375)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:362)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ClassNotFoundException: com.herocraftonline.heroes.Heroes
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 13 more

    As you can see im using the latest test build, although this happened with the latest normal build also. Im using 1.2.3-R3 and essentials groupmanager

    EDIT: Nevermind i got it working. It simply does this when you have heroes and heroes fails to start. For me because i didnt have a default class
  27. Offline


    Hey, I am wondering... I know how to make and use chestshop and all of that... But one thing I'm wondering... How do i get money to buy the things... Do i have to do something special.. I have to mine a special ore or something.. And yeah.. i can get things and lay them out for sale... but at the end.. no one have no more money... so i am wondering where the source of the money.. where do i find or get money..? :p please answer
  28. Offline


    I found a bug, all players without having the permission "ChestShop.shop.create" and with "-ChestShop.shop.create" can create a shop too!
    What can I do?
  29. Offline


    Not a bug in ChestShop, but in PEX.

    Instead of "-ChestShop.shop.create", use "-ChestShop.shop.create.*"
  30. Offline


    Hello, can anybody suggest how I might make shop transactions show up in my iConomy transaction log please? I have tried changing a number of setting in the config, but as yet have not found a way do so. Any help apprecited.

Share This Page