[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

    ShootToMaim

    I'm glad to see that you have my plugin, NoOrbsPlease.
     
  3. Offline

    Graysonw

    I just did, still doesn't work:(
     
  4. Offline

    Cartman34

    It seems to do not work with new CraftBukkit, we are unable to see/buy.
    In console, we got exception:
    EDIT/ I don't really know for selling, i will try later.
     
  5. Offline

    Grey_M62

    Hey. I was wondering if there is a way to change the name of "Currency" when you buy or sell. (Helpful with MultiCurrency)
    Also, with MultiCurrency, can you specify what currency to use?
     
  6. Offline

    VADemon

    @Grey_M62
    Ehm, I didn't ever use MultiCurrency but does "0.94" work? Or something like this?
    @ShootToMaim
    idk why there're 3+ plugins to remove orbs. Doesn't WorldGuard have this option too? So why should we install additional plugins?
     
  7. Offline

    chisox8

    ya, it helps my server run lag free! Thanks!
     
  8. Offline

    Tanite

    Wouldn't y0u just give the ChestShop.shop.* node to applicable groups but only for the survival world? I'm pretty sure bP can do per-world permissions.
     
  9. Offline

    Acrobot

    @Cartman34
    Have you got ANY economy plugin loaded?

    @Graysonw
    Hmm, could you make a screenshot of the sign?
    Also, could you paste your permissions file on pastebin.com?

    @Grey_M62
    Nope - unfortunately, unless MultiCurrency changes the way it works, it is impossible.
     
  10. Offline

    RugRats

    Will this work with 1.0.0?
     
  11. Offline

    Acrobot

  12. Offline

    ShootToMaim

    Maybe because you only want a simple plugin to remove orbs, and not this huge plugin that lags the server...
     
  13. Offline

    ShootToMaim

    No Problem :p.
     
  14. Offline

    Joeyyeah

    i have Iconomy but when someone want to open my ChestShop, there is an error: No Conomy plugin found... HELP PLS
     
  15. Offline

    Acrobot

  16. Offline

    Epics

    Hi,

    I was wondering if you could make it so that player shops could only be made in a specific region.
    I love the idea of the players having a player market, but some exploit it to protect their chests.

    Thanks,
    Epics
     
  17. Offline

    Kirbyflys


    Ah ok, thanks! :D
     
  18. Offline

    Acrobot

    @Epics
    Yep, totally in ChestShop 4 :)
     
  19. Offline

    paunk

    can you make this compatible with permissionsex ?
     
  20. Offline

    Epics

    Does it have an ETA?
    Don't mean to be pushy, just can't wait!

    Thanks,
    Epics
     
  21. Offline

    Acrobot

    @Epics
    No ETA, sorry.
    I am trying to make it as good as it can be. You can watch the progress here:
    https://github.com/Acrobot/ChestShop4/commits/master

    I don't have much time, so it IS a bit slow, but believe me - it'll be 4 times as good as previous ones. There will be an API, custom plugins, etc.

    @paunk
    It is already compatible.
     
  22. Offline

    Epics

    Can't wait. Maybe you could implement something to the extent that "Showcase" has by being able to display the items?
    Maybe have it read off the items.db in the bukkit/ folder itself too, so that server hosts can edit and put in their own custom names vs your dedicated names (Some things like "Sulphur" and "PISTON_STICKY_BASE" bother me.
    But keep up the good work, I've used your plugin for a solid 3-4 months.
     
  23. Offline

    NEO

    @Acrobot

    Seems theres no way to sell or buy pistons. Using ID 33 or 34, or just the word piston.
     
  24. Offline

    Acrobot

    NEO likes this.
  25. Offline

    paunk

    @Acrobot

    oh my bad sorry... it works now
     
  26. Offline

    ibreaktoucher

    is it compatible with 1.0.0 ?
     
  27. Offline

    Acrobot

  28. Offline

    Moe041991

    @Acrobot:
    Hey, I have request. Iam using this Plugin since the very beginning. Iam also using Towny. What i really would love is some sort of sales and/or shop taxes. Maybe as some sort of plugin.
    I'd make it myself (since i can understand that it is a very particular request), but my java skills are very basic.
    Would this be a possible and easy feature to implement?
    Sincerely
     
  29. Offline

    Acrobot

    @Moe041991
    You can already do the Shop taxes thing :p
    ATM, it's not possible to implement this in other way than re-making the plugin. However, this'll change with ChestShop 4, which will use API.
     
  30. Offline

    sobul21

    Hi guys, I need help with server economy account. Maybe I don't know it exactly works or I make something wrong...I create Admin shop it works fine, then I set name of server economy account, but I don't see any changes. So I don't if it works. And if it works where all money goes ? How I'll find how much money is on that account? :(

    I use BOSEconomy plugin.

    Thanks for help :)
     
  31. Offline

    saminc

    Hey there, just wondering if it's possible to set a limit to how much of an item I buy? So say I want to buy just 200 Cobblestone, then stop buying after I get that much. :)
     

Share This Page