[ECON] ChestShop 3.50 (iConomyChestShop) - Chest&sign shop for economy plugins [1.5.1]

Discussion in 'Plugin Releases' started by Acrobot, Feb 12, 2011.

     
  1. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)


    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 =)

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

    Bulgarian - Muff1Ncho
    Czech - LordPgsa
    Chinese (Simplified) - tab415263
    Danish - blasterweb
    Deutsch (newest) - xGhOsTkiLLeRx
    Dutch - marinus15
    French- Chbrams
    Hungarian - Anachen
    Italian - Massimo1993
    Korean - Zwing87
    Norwegian - _AlexN_ and TheUnkownGamer
    Polish - Holls1
    Portugese (Brasil) - FelipeMarques14
    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]

    This post has been edited 210 times. It was last edited by Acrobot May 15, 2013 at 6:59 PM.
  2.  
  3. Offline

    yafos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm trying to have this plugin run smoothly with my essentials.sign permissions... but it's not working out. When I install this plugin, my essentials perms for signs do not work at all. Anyone have some suggestions? I don't have any other economy plugin. Just essentials =)
  4. Offline

    Xayges

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, sorry, but I was wondering if you could like type /findshop <item/itemid> then you can get some coordinates for shops that sells the item.
  5. Offline

    rustymyers

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, thanks for the plugin. It's very nice and working well on my setup, except for one thing. Is it possible to make shops that sell items for no value? I'd like to set up a sign at spawn to hand out torches and other items. If I set the B price to 0, it says I can't sell here. If I set the B price to > 0, it works as expected.
  6. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Boris
    Nope, not possible.

    @yafos
    Sorry, no idea, but Essentials Protection was reported as the problem sometimes.

    @ffline
    It's a feature that was requested, but I can't do it now.

    @rustymyers
    Yes, set the price to "free".

    For example:
    Admin Shop
    1
    B free
    Diamond

    Unfortunately, you can't set the price to 0 because of an ancient signs :p The "0" indicated no buying/selling.
  7. Offline

    dehcarim

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how can i make this restrict? i sow this in tutorial but not understand... i put the permissions in groupmanager... but every one in every group (even the ones i dont put the permissions...) can make a chestshop... and in config folder of chestshop plugin, i dont find any of "groups" or "restrict" /... can u guys help me?
  8. Offline

    koyaanisqats1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello! Buy/Sell function not works - i am pressing left mouse button... and nothing! for a long time - will destroy the sign! I have:
    PermissionEX,
    last version of iConomy,
    CraftBukkit 1.3.1-R2,0;
    3.46 chestshop.
  9. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  10. Offline

    koyaanisqats1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, usual survival mode
    I can make a little video to show

    This post has been edited 1 time. It was last edited by koyaanisqats1 Aug 25, 2012.
  11. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @koyaanisqats1
    Hmm, it would be better if you posted any errors you got in the console.
  12. Offline

    koyaanisqats1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    this only
    16:27:38 [INFO] [ChestShop] Enabling ChestShop v3.46
    16:27:38 [INFO] [ChestShop] iConomy version 6 loaded.
    but when reating a chop there is a text "[shop] shop successfully created", like all is good

    This post has been edited 1 time. It was last edited by koyaanisqats1 Aug 25, 2012.
  13. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @koyaanisqats1
    Hmm... You can post the video. It's hard to think of anything that wouldn't work :/
  14. Offline

    tetryds

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is it possible to add the option to buy a command using a sign?
    and then allow only ops to create command signs
    for example:
    Adminshop
    1
    B 20
    /repair

    would repair the item you are holding when you left click it
    and
    Adminshop
    1
    b 20
    /time day
    would set the world time to day

    if its impossible, is there any plugin that could do that for me?

    yours is pretty awesome, thanks a lot!

    This post has been edited 1 time. It was last edited by tetryds Aug 26, 2012.
  15. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @tetryds
    Sorry, but it probably won't come. This is an item shop plugin, not command shop - unfortunately, I think that there isn't any plugin like that.

    Of course, the situation may change with ChestShop 3.50 API - someone could just create a custom plugin for ChestShop, that does that.
  16. Offline

    tetryds

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what about written books?
    i dont know if they work on normal shops but failed when trying to sell any on adminshops
  17. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @tetryds
    If they have a damage value - they work, just do /iteminfo and put that information on the sign. But it can only sell one particular book.

    This post has been edited 1 time. It was last edited by Acrobot Aug 26, 2012.
  18. Offline

    dehcarim

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how can i make this restrict? i sow this in tutorial but not understand... i put the permissions in groupmanager... but every one in every group (even the ones i dont put the permissions...) can make a chestshop... and in config folder of chestshop plugin, i dont find any of "groups" or "restrict" /... can u guys help me?
  19. Offline

    DaveRyan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is a wonderful plugin! However, is there any plan to to have some way to indicate how full a chest is for that shop?

    I'm looking for a visually quick way to determine which shops are empty/full etc. I was thinking the best way would be to have the letters on the sign be Green, Yellow, or Red.

    Green = The chest is 50% or more full.
    Yellow = The chest is Less than 50% Full.
    Red = The chest is empty.

    Any thoughts?

    This could also be done with characters.

    (H) = Half or more full.
    (L) = Less than 1/2 Full.
    (E) = Empty.

    Plenty of space on the 2nd line where the stack ammount is currently set.
  20. Offline

    deathdragonaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @DaveRyan: I posted a similar idea half a year ago, read from "AND" http://forums.bukkit.org/threads/ec...onomy-plugins-1-3-1.4150/page-195#post-859627

    A %-Value would be more exact or a comparison of free and used slots like 9/54. I have a big Storage for all the players on my server where they can exchange materials etc, and it's very unclear to see which chest is full and which is emtpy. Checking all those by opening is not much fun ... ^^ And im the only person who is able to, so others have absolutely no idea about the stock.

    In my humble opinion this is one of the most important to-do's!
  21. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @DaveRyan
    Well, there are always some plans :) It is possible to do that in ChestShop 3.50 :)

    The red/yellow/green suggestion is really nice :D

    @deathdragonaw
    Hmm... I'll concentrate on that, then! :D
    deathdragonaw likes this.
  22. Offline

    deathdragonaw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    alright :D how can i get notified about news regarding this changes in the plugin? I could also test dev-versions on an extra server if it's necessary
  23. Offline

    facerollaaa

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey i was wondering if there's anyway i can create a market for players to make chest shops where all they had to do is place the sign on the wall. The only problem is the market is in a safezone and it has the place and destroy restriction on. Is there any way i can set the market up where they are able to place a sign while keeping those restricitons?
  24. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @deathdragonaw
    Just look on this thread or watch the repo on github.
    All the versions which are masked as "TEST VERSIONS" are public test versions - I am waiting for bug reports before the are "official"

    @facerollaaa
    Sorry, but I think that ChestShop plugin can't do anything about the building restrictions.
  25. Offline

    facerollaaa

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok thankyou
  26. Offline

    MJohnny09

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    CraftBukkit version: Bukkit-1.3.1-R2.0-B2340jnks - ChestShop version 3.46 - Your economy plugin Mineconomy - No unless Essentials counts I can create shops, but I can't buy. When I try to sell 1 cobblestone, and I have 64, it says I don't have enough. (I am using Vault as well)
  27. Offline

    RasCas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Regarding worldguard flag.
    I want to have a market place for players and some Admin Shops around the world.
    If i flag the marketplace, do the Admin Shops outside the region still keep their function?
  28. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @MJohnny09
    I believe you might have your sign wrong. Check /iteminfo and if it is the same as name on sign.

    @RasCas
    Admin Shops function normally. The flag is only used for shop building.
    RasCas likes this.
  29. Offline

    RasCas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hm, not quit what i exspected. It seems as if you do not need chestshop.create permission anymore. Even Players without this permission are able to set up a shop in the region with chestshop allow.
  30. Offline

    MJohnny09

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    My sign setup:
    AdminShop
    1
    B 2:1 S
    Cobblestone
  31. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @MJohnny09
    Hmm... Seems just fine. Are you sure you didn't press the right mouse button? Right mouse button is buy, left is sell (unless you specified otherwise in the config)
  32. Offline

    MJohnny09

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Acrobot
    Yea I haven't changed the config and it still doesn't buy or sell. I thought the economy part of essentials might be causing problems so I gave myself money on that too, but it still didn't work. Is there something I have to configure to pick which currency it uses?

    This post has been edited 1 time. It was last edited by MJohnny09 Aug 31, 2012.

Share This Page