[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


    The 1st one - you have an old config.
    The 2nd one - you have one outdated permission node.
    3rd one - are you sure you're using 2.2?
    4th one - what CB version do you have?
    5th one - try /chBuy and /chSell
    6th one - what shows up when they try to buy?
  3. Offline


    Members cant buy from Shopy by me..
    But i have this on the GroupManager in Essentials:

    - iConomy.access
    - iConomy.list
    - iConomy.payment
    - iConomy.rank
    - iConomyChestShop.shop.sell
    - iConomyChestShop.shop.use

    please help!
  4. Offline


    - iConomyChestShop.shop.use

    change to iConomyChestShop.shop.buy
  5. Offline


    Thanks for the fast answer!!!
    I have downloadet the Chest Shop Version 2.2 now.
    Ther 1st one is now correct i think.
    Not to the permission.
    I cant find the newest Permission..omg i searched for 3 hours and dont find anythink. Do u can send me
    a link or someone else?
    3st. yes now!
    4st. sorry but whats CB? :D
    5st dont work
    6st -> nothing
  6. Offline


  7. Offline


    I mean Permission node, you should delete the "iConomyChestShop.shop.use", as it's not used anymore.
    CB = craftbukkit. type /version in chat and tell me the B<number>

    If chBuy and chSell don't work, then try the above.
  8. Offline


    okey i donwloadet the newest
    Permissions and IConomy chest shop.
    My version is:
    This is in Chat:
    "git-Bukkit-0.0.0-646-gb61ef8c-b670jnks (MC: 1.4)
    again, thanks for the fast answer!!!
  9. Offline


    Okay, you've got CB670 -> that's good.

    Do you get any errors in console?
    Does it work now?
    What other plugins do you have?

    I reccomend installing OddItem :)
  10. Offline


    Just a quick feature request, it would be nice if it logged the transactions into a database, then I could make a quick php script to let my users see how their shop is doing. An in-game way to query that would be nice too, but not as necessary.
  11. Offline


    It logs it into flat-file.
    You can make php script of this too :)
  12. Offline


    Yeah, but its not as easy to parse out the data so I can let people type in their username to only show their name, or a date constraint.
    I just thought it would be useful to let people see who is buying and selling from their shops.
  13. Offline


    I have installed now.
    But its dont work for me and all the other User and Admins!
    The Plugin dont work anymore!
    I cant create a Chest Shop!!
    I send u my configs

    Chest Shop:

  14. Offline


    i get this :( :mad: Help please?
    20:28:54 [SEVERE] BLOCK_RIGHTCLICKED loading iConomyChestShop v1.0a6 fixed editi
    on (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
            at com.Acrobot.iConomyChestShop.iConomyChestShop.onEnable(iConomyChestSh
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
  15. Offline


  16. Offline


    i cant find the newest. You said at ure post download it down...
    where is it????
    Help me :'(
  17. Offline


  18. Offline


    I have unpacking this zip and put it in the plugins folder.
    Dont work...
    my Chestshop config:
    And Promission config:
    Don't work...
    you can come to our server and look..
  19. Offline


  20. Offline

  21. Offline


    One of my users has a name that is 16 characters, his name gets chopped off from the sign after he places it and is unable to open his own chest after (we use LWC too). An admin had to smash the sign so he could access it again.
  22. Offline


    I can't really do anything about it... :/
  23. Offline


    I can't decide to use this or LocalShop... >.>
  24. Offline


    Current Server and Plug-ins:

    CraftBukkit 670
    Permissions 2.6 (As per the readme note)
    iConomy 4.6.5
    iConomyChestShop 2.2

    If someone is not an admin they are unable to use the signs

    This is what happens

    Messages in game:

    Action: Right-click
    "[Permissions] You can't buy from shops!"

    Action: "/buy"
    "[Shop] Mode set to buying!"

    Action: "/sell"
    "[Permissions] You can't sell to shops!"

    Action: Left-click
    No response


    The signs are set up correctly:

    B $:$ S

    and it works for all the admins on the server



  25. Offline


    Really thanks for every information :)

    Your problem is in Permissions.
    I don't know if the Permission nodes are case-sensitive.
    Try changing it from "iconomychestshop" to "iConomyChestShop"
    Also, your group is called Builder and is not default, is this ok?
  26. Offline


    Thx @Acrobot now work <3

    finalgamer ;)
  27. Offline


    You were correct about the case sensitive permissions. As soon as it was changed everyone had the rights.

    I am encountering an issue with the permissions of users... (Please note this was also the Builder group, I just changed the name in the permissions and reassigned everyone).

    Everyone can make a sign and everyone can make an admin shop while setting the prices.

    They are unable to destroy the signs(including their own) after the shops are made

    Here is a copy+paste from the permissions/world.yml -- I just recently added the # to the iConomyChestshop~ to prevent abuse while the issue is sorted out.

    Right before you responded I hopped on to the IP posted from MicroxD and asked if they had gotten their issue resolved and how. They passed a link that was given to them back on to me that is the current version installed now.
  28. Offline


    is there a way to set this plugin to show how many of something was sold from a chest? users on my server sell stuff and i can't track how much of something was sold. ex. GLASS sold for 100 when really what was sold was 64 GLASS. being able to see this data would help me in tracking price per 1 of any given item. mostly for stats tracking really. also being able to set a chest to do a trade between players would be nice as well, this would help to keep players from being swindled. :)
  29. Offline


    @Acrobot I know you've been busy, just wanting to see if you got a chance to look at my request.

  30. Offline


    So... is it possible to create a chest that functions like an Admin shop, but goes to a specific account? Im an admin on my server, and wish all the funds from these chests to go to the "Bank" account... but I want to use Admin Chest so I do not have to keep the chests constantly filled, or have to use a plugin such as InfChest to keep them full.

    If not... is there a way to make it so that the shop sign can be placed on the front of the chest, so I can use the other sign commands (Infchest) to fill the chest?
  31. Offline


    I have tried to make it, unfortunatelly, at the moment it fails for me, because it gives "fresh" tools instead of used ones. If it's ok for you, wait for the next relase.

    Why don't you try making a double chest?
    iConomyChestShop's sign can be placed on just one part of the chest, and it will still work. Why don't you put the InfiniChest sign near mine, on the second part of the chest? :)

Share This Page