[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


    Hmm - this sounds a lot like bugged chunk. Move about 60 blocks away - does it still happen? If not - you've got bugged chunk, and I can't really help you - it's Minecraft's/CraftBukkit's fault.
  3. Offline


    Any plans to ever add some kind of database to keep track of shops on the server? Like when they were created/last modified (items added/removed to/from chest by the owner). So then maybe if you click on the shop sign with a designated block/item it shows you some info. This would be great for getting rid of old shops of players who are no longer on the server.

    I use this plug in right now to manually check when the players have been on last, and if it's more than 3 months since they were online, I remove their shops.

    Maybe add something that works with that plug in? Like when you click a shop signs with a stick for example it runs the command /seen [first line of sign] and outputs the results?

    Not sure how many would appreciate this, but I think it would be a great add one to help organize marketplaces/shops.
  4. Offline


    I am planning to make ChestShop 4 modular - that'll allow it.
    And yes - thanks for the suggestion, surely many people will appreciate it :)
    imaxorz likes this.
  5. Offline


    Okay, my problem is that my players are only allowed to sell some types of items. But they can change themself those types. How can I force them to destroy old shops when they change? Because, for now, it seems to me after the shop is created, there is no verification from permissions to allow players to sell. I apologize, because I'm not quiet sure my english is good and you can understand my problem.
  6. Offline


    I don't exactly understand, sorry :/
  7. Offline


    Okay, My players can choose their job: Miner, hunter, farmer. So, this job implies what they can sold. Miner-> cobble, stone, iron. hunter-> gunpowder, rotten flesh... farmer -> wheat, cactus... BUT My players can change their job, and this change their permissions. So, if they were Miner and become hunter, they become able to sell gunpowder and can't sell iron. They can create Chestshop for gunpowder but not for iron. But their old chestshop aren't destroyed, and if they don't destroy them, they can continue to sell iron. Could you give me a solution, or show me I didn't see something which solve my problem?
  8. Offline


    Nope - not possible at the moment :/
  9. Offline


    it works fine with mine but no one can buy from my shop, it says "you dont have permission to do that!"
    please help me!
  10. Offline


    You use a permission 2/3 plugin (or the bridge), you should add ChestShop.shop.buy permission node.
  11. Offline



    its not working.
    how i can fix a bugged chunk?
  12. Offline


    How exactly are you setting up your shop?
    Do you set up with UPPER-CASE B or S?
  13. Offline



    I do it like that

    B 100:100 S

    The problem is if i delete the chestshop folder and restart. a new one will created and its all good.
    but 30min-1h later i got that problems.
  14. Offline


    Hmm - it's really weird, and the ChestShop folder has got nothing to do with it.
    However - it might just be the bugged chunk. If it ever happens again, can you make a video or at least screenshot of it?
    If you make a screenshot, please also give description of what you've been doing (right-clicking? left-clicking? destroying the sign?)
  15. Offline


    And how I can fix the bugged chunks?
    set up a new map?
  16. Offline


    Yeah - But if it still doesn't work in other parts of the map, it really means that it isn't a bugged chunk. Are you sure you are right- and -leftclicking the sign?
  17. Offline


    The new version of this plugin NO LONGER protects the blocks under admin shops. I just had to revert to my backed up version to fix this... so its within the new update. Not sure if you wanted it this way, but i suggest you have it protect them again.
  18. Offline


    Where can i find the last version?
  19. Offline


  20. Offline


    I see.
    If i install Chestshops it works fine.
    But if I restart my server, it doesnt work anymore.
    If I delete the chestshops folder it works fine...
    I use Permissions Ex, Essentials and iConomy.
    Are there any conflicts with iConomyChestshops?

    After restart if i want to make a shop it only be protected and wont become a shop.
    Doesnt matter if i click left or right.
    There isnt a message that i created a shop and i cant buy/sell from there.
  21. Offline


    iConomyChestShop is the old ChestShop plugin version, you should delete it. - this might have caused the problem
    Do you really mean "restart", or reload? Reload sometimes causes bugged chunks, fixed by restart.
    I bet it's the old iConomyChestShop's .jar that's causing this.

    Also, it's my 2000TH post, so you sir get some diamonds from me :)
    [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] x 100
    EDIT: @Orcem12 will get some too =D

    Thanks everyone for using the plugin, I am really happy because of this. Also - your feature request, some of them are VERY, VERY awesome - I love implementing them, but sometimes I don't have possibilities to do so :/
    Thank you again.
  22. Offline


  23. Offline


    not iConomyChestshops.
    Just Chestshop.
    I downloaded the new one here 2-3 days before.
    Doesnt matter if I reload or restart.
    Always the same problem.
  24. Offline


    Thanks :)

    I thought that you were running iConomyChestShop from this:
    "Are there any conflicts with iConomyChestshops?"
    Well, anyway:
    what plugins are you running?
  25. Offline


    Was my fault.
    I ment ChestShop.
    Actually i got

  26. Offline


    I would love to see it allow full chest shops not just one item.
  27. Offline



    I think i found the problem.
    I always had the german translation file.
    Something is wrong with that.
    Without that german file it works.
  28. @Spadow
    Do you have ä. ü. ö etc. in your translation? That could be a problem.
  29. Offline


    No, there wasnt any ä,ö,ü
  30. Offline


    When I use this plugin (which I have been since it first released), there is a problem. After I got this plugin back up on my server (after the 1.8.1 update) whenever a user buys something the server freezes for 3-5 seconds, and then the purchase is completed? Why is this, and if it can be fixed, how? Im using the latest version v3.24 on CB build 1240
  31. Offline


    Hey guys, would anybody be able to tell me if there is seperate permissions nodes for the 'admin shop' ability. Not for creating it, just for players who aren't OP to purchase from them. It seems that when I make an 'admin shop' that the admins can use them, but not the players :/ ironic. Can anybody help? The nodes that I have enabled are

    -ChestShop.shop.buy Are these the ones that should enable the 'admin shop' to sell and purchase from players?

    Also, with the 'admin shop', Do I need to have a chest underneath still? That may be the problem, seeing as I dont.
  32. Offline


    that would give a user permission to buy from an admin shop

Share This Page