[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

    Acrobot

    An easy way to create shops - no protection plugin needed!
    You don't need to be on-line to earn money anymore!
    [​IMG]
    I've put a LOT of effort into making this plugin,
    you can donate if you appreciate my effort =)

    Requirements:
    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    Optional:
    - 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


    Setup:
    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.

    Translations:
    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/


    Permissions:
    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:

    [​IMG]
    (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:
    [​IMG]

    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:
    [restricted]
    firstGroupName
    2ndGroupName
    3rdGroupName
    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)

    USING SHOPS
    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)

    DESTROYING SHOPS
    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)

    STOCKING THE SHOPS
    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?

    [​IMG]
    Changelog (open)

    Changelog can be found on BukkitDev - http://dev.bukkit.org/server-mods/chestshop/files/
     
  2. Offline

    Togakure321

    oh haha my bad
     
  3. Offline

    LlmDl

    Acrobot Any reason why I wouldn't want to use your test versions? I saw a signevent error which afaik was the first time it's happened.
     
  4. Offline

    bigbend

    See my post on BukkitDev

    wslauson/bigbend
     
  5. Offline

    Acrobot

    LlmDl
    As far as I know, they are more stable than the non-test version, however I'm trying to release a bug-free version :)
     
    LlmDl likes this.
  6. Offline

    xynade3

    can I sell written books, like in a library?
     
  7. Offline

    Acrobot

    xynade3
    Unfortunately, no. There is no API for books in Bukkit yet.
     
  8. Offline

    archlinux

    EASY DUPE BUG.
    create a shop, put the item quantity: 70
    when you buy from the shop you will receive 2 packs instead of 70 items.

    v3.50 t0038 - TEST VERSION
     
  9. Offline

    Acrobot

    archlinux
    Wow, you're right. Please submit it as a ticket, and I'll investigate it ASAP.
     
  10. Offline

    archlinux

    Acrobot

    Could you please make a emergency fix ? My servers are all OFFLINE due to this BUG.
     
  11. Offline

    Acrobot

  12. Offline

    Stekarnflame

    Hello, I got a problem with the Adminshop.
    People can sell items to the adminshop without having anything of the item. They can just spam left click and get infinity money. Anyone got an solution for me?
    Please PM or Reply on this post.:confused:
     
  13. Offline

    Stekarnflame

    Nvm, I think it's working fine with the new update :)
     
  14. Offline

    mrsquirrel_dh

    I have a problem, the admin shop used to work but has stopped working and doesn't recognize essentials economy and i don't know why.
     
  15. Offline

    Acrobot

  16. Offline

    Caia

    hello, i have build a Mall in my server with many shops. my problem is if i type in a sign 383:50-66 there stand not the name only MonsterEgg:50-66..it will be nice if you can change it :)
     
  17. Offline

    Acrobot

    Caia
    Hey - that's exactly what it is, enchanted monster egg :D It can't fit anything else on the sign. To change item names, use OddItem combined with ChestShop.
     
  18. Offline

    Falloutx360

    Probably aware of this by now, All items fixed by anvil= can be sole to shops infinite times without the item disappearing, it's really ruining servers that don't know about it =P

    Thanks for your time
     
    Acrobot likes this.
  19. Offline

    xc0216

    I need help, I can't get a shop to buy or sell. All I can do is make a shop that does nothing! :'( Any help would be greatly appreciated!
     
  20. Offline

    Acrobot

    xc0216
    Well, you firstly need to sell us what are you exactly doing. Step-by-step.
     
  21. Offline

    sfmplayer

    Finally a update!
     
  22. Offline

    Mortalsinn

    Nevermind - I read back and the found out how to fix the dupe bug - Thank you :)
     
  23. Offline

    Thronk

    Updated to latest and can't seem to sell items to players in the admin shop, players right click with nothing indicating, no errors, no chat. Just nothing. Permission node is still the same as before chestshop.shop.* for them.

    Edit- All shops, player made too.

    Never mind sorry, seems STICK_SIGNS_TO_CHESTS: True was causing this problem, may be a lockette conflict. I set it back to false.
     
  24. Offline

    Acrobot

    Thronk
    Yeah, it might be possible that it's a lockette conflict, because it also sticks signs to chests.
     
  25. Offline

    The Troller

    umm where do i out %amount in the local.yml please help
     
  26. Offline

    rickyjumb

    I can't make a shop that sell items that have an id with ":" like colored wool, the dark, red and white wood and other things that have and id like 5:1,5:2. When i use this id the shop display air:1 or ink sack:3. I've tryed to write with spaces but it still doesn't work.So i try to use the name of the item but when i type the name it say that i have entered an invalid item name. What do i have to do?
    PS: This thig doesn't happen with the normal items and blocks that have an id without ":"
     
  27. Offline

    Acrobot

    The Troller
    What? If you have plugins/ChestShop/local.yml, just remove the %amount from it. If you don't have it, just leave it as it is.

    rickyjumb
    - Which ChestShop version?

    What do you mean by "doesn't work"?

    5:1 should turn into Wood:1
     
  28. Offline

    WoodenAxe

    Is there any plan for dealing with item data on things like books and fireworks and combined enchanted items? I'm not sure what "dealing with" would mean. Ideally some way to allow them to be sold but that seems unlikely with the scope of this plugin.
     
  29. Offline

    whodaman81

    I am getting this error: http://pastebin.com/AEkemNS4

    My bukkit version is: 1.4.6-R0.3-b2568
    My ChestShop version: 3.46

    Please help me figure out what these console errors are.
     
  30. Offline

    Acrobot

    WoodenAxe
    The plan currently would be to save the item data in a local SQLite databse (nope, not going to change that to MySQL or anything, this shouldn't be tampered with) and just putting something like the enchantment code on the sign :)
    It's complicated, though, so please be patient :)

    whodaman81
    Update ChestShop.
     
  31. Offline

    mrksmn

    hello,
    i can only create bread shop. it works good. players can buy bread. players cant break sign or chest.
    it doesn't work when i create other shop.
    example: when i create diamond shop there is writing "shop succesfully created" but other players cant buy or sell... and players can break my sign and chest.. please help...

    18:06:07 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.6-R0.3-b2586jnks (MC: 1.4.6) (Implementing API version 1.4.6-R0.3)
    18:06:42 [INFO] ChestShop's version is: 3.50t0041
    economy plugin : essentials
    permission plugin : none
     

Share This Page