[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

    Speedster159

    Well when ever i try to sell... 35:2 it shows on the sign...
    ========
    Username
    32
    45
    Wool:2
    ==============

    Never tried if i worked, but think it should say the wool color?
     
  3. Offline

    rodier

    there is only one id for vines - vine (106).
    but, I found if I make vines manually from tree with shears, they are different that ones created with /give command. And problem with chest shop is, it only knows vines created with /give. Players that come with vines from tree cant sell it.
    version:
    chest 3.22
    bukkit 112-something-b1240jnks
    iconomy latest 6.0
     
  4. Offline

    Acrobot

    @Sayshal
    Yeah - I'll yet to experiment with sign placement, I'll try doing that.

    @Lehl
    Poland

    @MabaSploom
    Nice idea :D

    @Serial1990
    Yeah, iConomy 6 sometimes has weird issues :/

    @ewplayer3
    @Ziden
    Could you try iConomy 5? It's probably iConomy 6 bug, so I'd reccomend to use 5.

    @Speedster159
    What @Jikarosa said :)
    @Jikarosa
    Thanks :)

    @Speedster159
    Wool:2 is fine, same is
    Red wool
    You can use, for example, green wool, etc.
    For coal: charcoal coal
    For log: Birch log, redwood (I think) log
    etc.

    @rodier
    Try doing /iteminfo when you're holding the vines. It'll tell you the id and damage value.
     
  5. Offline

    Ziden

    Do you know where can i download ico5 ?
     
  6. Offline

    ewplayer3

    @Acrobot
    I'll hunt down iConomy 5 and test it. I'll post back with results later today.
     
  7. Offline

    Sayshal

    I cant find iConomy 5 anywhere! Lol
     
  8. Offline

    Acrobot

  9. Offline

    Lehl

    @Acrobot ahh germany here;P uhm so could u fix anything ?
     
  10. Offline

    Acrobot

    @Lehl
    Sorry, not ATM, but still today. In 2-4 hours, I guess.
     
  11. Offline

    Ziden

  12. Offline

    kahlilnc

    Okay it works once again. I think it was the config. Like I was fiddling around with it before it was on my server. Like I put iConomy when it ask for what money you use??? Maybe that was the issue. :D But it works great now. 20TPS all day now
     
  13. Offline

    Lehl

  14. Offline

    Acrobot

    @kahlilnc
    I don't know - but I'm glad that you resolved the issue :)
     
  15. Offline

    RaesWolf

    is this updated for CB 1185 yet for 1.8mc?
     
  16. Offline

    ewplayer3

    @Acrobot
    I think I can report back now. As it turns out, I never shut off the permissions for the Essentials economy functions when I started using iConomy. I removed permissions to that function and the ChestShop plugin started working correctly regardless of the amount in my iConomy account. I'm not sure why this happened since I defined iConomy in the config for your plugin, but I suppose it could have been direct interference between Essentials and iConomy.
     
  17. Offline

    GECLAN Erik

    Would plugins that adds color to signs interfere with chestshops?
    F.example i add

    %a myname
    1
    B 10:5 S
    itemname

    %a is the color etc..
    would this work?
     
  18. Offline

    Acrobot

    @GECLAN Erik
    Nope, it wouldn't work. Colors take 2 characters - that's why I never added support for them.

    @ewplayer3
    Hmm - in updated version of ChestShop, this should work again. (Look into Register's repo - I fixed that bug)
    The preferred plugin just wasn't working.

    @RaesWolf
    Sure it is. It was one of the first plugins to update to 1.8 :)
     
  19. Offline

    Acrobot

    @Lehl
    It seems like 3co is just broken :/
    I recommend that you just download the iConomy 5 - no configuration needed.
     
  20. Offline

    Lehl

    i told ya already that iconomy fucks me upxD
    its not working with 90% of my plugins so no way i change all this for just 1 shop plugin;P
     
  21. Offline

    Acrobot

    @Lehl
    Hmm :/
    I have no idea then - it might be a problem with 3co, which is not supported now by plugin's creator.
    Also - I can help you choose replacement plugins, if you wish.
     
  22. Offline

    Lehl

    its not only choosin new plugins.. we would have to rebuild a whole shoppin center cus the vends would be useless then
    well why ico 5? why are there so many problems with 6? i will think about switching..
     
  23. Offline

    pSy

    Is it possible to connect one sign/shop to more than one chest, do get bigger stocks? Couldn't find something about that at the info text :D
     
  24. Offline

    Acrobot

    @pSy
    Not atm - this plugin uses signs only, no database. This has its downsides and upsides, this is a downside :/

    @Lehl
    Hmm - iConomy 6 causes a bit of errors. However, I don't exactly understand why 3co doesn't work, as /eco stats (or whatever it was called) returned true :/ Could you try giving some money to the player, exactly like his name is? (Case-sensitive) Then try shops - if it doesn't work, I have no clue.
     
  25. Offline

    tototo583

    - CraftBukkit git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    - ChestShop 3.22
    - Your economy plugin: iconomy (celty)
    - Permissions 3.1.6 (yeti)
    when a Moderator tries to sell or buy from a chest they cant get acess. it dosent matter what permission node i put in to dosent work here is my users.yml only Admins can because they can do any command
     

    Attached Files:

  26. Offline

    Acrobot

    @tototo583
    You need to have
    EXACTLY
    ChestShop.shop.buy
    and
    ChestShop.shop.sell
    nodes. CASE MATTERS.
     
  27. Offline

    Lehl

    @Acrobot all stuff im using are case sensitiv;P i dont use any shorts or only low letters^^ anyways thx for trying;P maybe ill try ico 5 today and see if its working
     
  28. Offline

    tototo583

    thanks but it still dosent work.
    it works for the Admins tho
    here is my groups.yml
     

    Attached Files:

  29. Offline

    Acrobot

    @tototo583
    What do you mean "can't get access"? Are you sure they are clicking the SIGNS, not the chests?
     
  30. Offline

    Lehl

    uhmm @Acrobot got a link for ico5?
     

Share This Page