[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

    Acrobot

    @City Builder
    It won't get the item from the chest at the moment, but it may in the future.

    @kmzkamikaze
    Why would you want to disable this?
    I can make it work only on my signs, but why?
     
  3. Offline

    kmzkamikaze

    Because Craftbook requires blocks placed ontop of signs to work with certain things
    and by placing on signs i mean none shop signs. I love your plugin and this is the only problem i noticed =)
     
  4. Offline

    City Builder

    ok, what a bummer, that's a griefers paradise where as with the other version we were running it listed the item in the chest and I assumed that if it was not the right item in the chest it would not sell anything at all (other than the ink_sac problems)
     
  5. Offline

    Acrobot

    @City Builder
    I thought you meant the noID option :)
    It never sold anything else than the item on the last line.
     
  6. Offline

    City Builder

    Right, is that coming back? Where it only sells what is on the last line?
     
  7. Offline

    Acrobot

  8. Offline

    City Builder

    oh ok. So if the person doesn't get the correct name on the last line for example they put dart on the last line and the chest has dirt in it, then the shop won't sell anything, correct?

    We have search ID's plugin that all our users can use but I'm not sure how accurate it is on the names of the items.
     
  9. Offline

    sillyrosster

    So, the sell command doesn't work for Mods and lower, who don't have access to practically every command. I give the permission, but it doesn't work for them. Any solution?
     
  10. Offline

    Acrobot

    @City Builder
    2.0 will be relased in some minutes, I guess
     
  11. Offline

    cantim

    I am having the same issue
     
  12. Offline

    vhista

    Dam cannot wait until v2 is done, wd for an amazing plugin
     
  13. Offline

    Etsijä

    Hi, I have a feature request for the plugin dev:

    I am a moderator on our server, where I'm building an extensive metro system. People have so far donated me (for free) Iron for the project, and I'd like to set up an admin shop which would buy Iron from players - but so that I get the sold Iron for my project.

    At the moment, players can sell Iron to an admin shop - but the sold Iron doesn't gather to the chest, it just disappears. I'd like it so that when a player sells Iron to an admin shop, the server pays him money for that, and I can then go on and gather the sold Iron to my project from the chest.

    Could this be possible to implement?
     
  14. Offline

    Acrobot

    @Etsijä
    Just make an iConomy account "server" or something and set up the shop for it.

    2.0 will be relased soon!
     
  15. Offline

    Etsijä

    Awesome. Can't wait!
     
  16. Offline

    Pr4w

    Hey,
    Is it possible the change the text color of ChestShops' signs? :)
     
  17. Offline

    Acrobot

    @Pr4w
    Not at the moment, but probably in the future... :D
     
  18. Offline

    Moo Master

    YAY 2.0 IS OUT <3.

    Thanks, i hesitated to use the alpha, so i went with 1.x or something like that. Which didn't work xD.
     
  19. Offline

    Acrobot

  20. Offline

    UrbanX

    Good evening,

    your plugin works very well v1alpha6.

    Version 2 but can not make it work.

    When I do a command /sell or / buy nothing appears in the console but the game Ichat:

    ERROR-Please Notify admin-invalid config


     
  21. Offline

    Acrobot

    @UrbanX
    The config was updated, it is inside the .zip file
     
  22. Offline

    Etsijä

    Just one question: is 2.0 only compatible with 1.4 or does it support #602 too? (The last RB for 1.3.)
    I know it says 617 in the title, but for some other plugins, this info is actually misleading.
     
  23. Offline

    Acrobot

    @Etsijä
    2.0 was tested on 617 -> that's why it it in the title
    However, it should work on 602 too, but I am not sure.
    Feel free to test :)
     
  24. Offline

    UrbanX

    Effectivement il y avais eu une erreur dans mon config !

    Thank :D It's work .
     
  25. Offline

    Etsijä

    Thanks for the info Acrobot. Will certainly try! Does it now create the account for "Bank" automagically for MySQL?
     
  26. Offline

    vinzenco

    Dont work for me with CB 617 :(

     
  27. Offline

    Acrobot

    @vinzenco
    That's OLD VERSION...

    @Etsijä
    No, it doesn't create Bank account automatically, you can open a fake account though.
     
    vinzenco likes this.
  28. Offline

    PandaVidya

    i <3 2.0. works perfectly!
     
  29. Offline

    vinzenco

    @Acrobot


    Thx for Helping ... you mean old CB version or iConomyChestShop ?
     
  30. Offline

    Acrobot

    @vinzenco
    Old iConomyChestShop's version.
     
  31. Offline

    Godknown

    What?! I was just on here an hour ago and it's already updated. Love that about mods/plugins! ^_^
     

Share This Page