[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

    zingo1zang

    Can you make it so you can put the signs in other users names?

    I've gotten into a situation on my server :X.
    One of the best admins (Named anastara) was going to be off for a while. Her area is not worldgaurd protected. Lo' and behold, I hold my best pick, left click the sign to sell, and already break it. If i fill it back in with her name it reverts to mine.
     
  3. Offline

    kevin3220

    Hi,

    I have a problem i have installed chestshop plugin.And it is working for all classes of players.But how can i set this plugin that it only works for moderators vips and owners.so that new registred players can not to their own shops?


    Sorry for my bad english
     
  4. Offline

    Epics

    Member:
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    VIP:
    - ChestShop.shop.create
    Moderators:
    - ChestShop.admin - Only if you want them to be able to make unlimited signs without having a chest on the sign.
     
  5. Offline

    Acrobot

    Kainzo
    Epics
    Vault is already supported and used if found :)

    Sleaker
    Yeah, I've got a R5-ready code, but it was just a configuration change, so I don't release it widely until R5.

    zingo1zang
    You can already do that if you have ChestShop.admin permission

    kevin3220
    "Why can my players buy/sell/create shops even if they lack the necessary permissions?

    Well, it's a superperms (system that Bukkit uses) feature - those are default permissions. You need to negate them (refer to your perm plugin's documentation)"
     
  6. Offline

    Manuel-[Owner]

    I can sell but cant buy. Cant buy as op either any fix??? Do i need Permissions or i can use groupmanager??|​
    V​
    - CraftBukkit version (type /version in chat)1.1 R4
    - ChestShop version (type /csversion in chat)3.35
    - Your economy plugin (iConomy? BOSEconomy? other one?) IConomy
    - Have you got any Permission plugin? Which one?GroupManager
     
  7. Offline

    Epics

    The plugin is compatible with GroupManager. Are you using IConomy 5 or 6?
     
  8. Offline

    Acrobot

    Manuel-[Owner]
    Maybe go to bukkit.yml and change spawn-radius to 0?
     
  9. Offline

    HerobrineX

    so which do u recomend using? vault or register?

    Maybe my problem has something to do with my permissions plugin not working b/c it never works either
     
  10. Offline

    Kainzo

    Yeh, we had some miscommunication
     
  11. Offline

    TheJJ103

    Hey! Sorry if this has been answered, and i kinda need to know as soon as possible ^^ but how does one has a potion to a shop ID? kinda making us mad. :/

    Suggestion?
    Log all the potions as a certain id in the the coding (ex: HealthPotII)
    The the plugin will recognize what it is, and add it ^^
     
  12. Offline

    Epics

    The plugin can read the item list from OddItem located here...
    http://dev.bukkit.org/server-mods/odditem/
     
  13. Offline

    Acrobot

  14. Offline

    AlexMcM99

    12:50:36 [INFO] [ChestShop] Loading ChestShop v3.35.
    12:50:36 [SEVERE] Error occurred while enabling ChestShop v3.35 (Is it up to date?): org/bukkit/util/config/Configuration
    Help Please!
     
  15. Offline

    phondeux

    Are you using a supported version of bukkit?
     
  16. Offline

    AlexMcM99

    Im not sure?
     
  17. Offline

    Manuel-[Owner]

    I was using
    I was using 5 but i changed to 6 hoping that would fix my problem
     
  18. Offline

    Manuel-[Owner]

    Im getting this error in the consle ever time i go to use the buy on a admin or normal shop

    [Server] INFOat com.Acrobot.ChestShop.Listeners.playerInteract.onPlayerInteract(playerInteract.java:81)
    28.02 20:39:13 [Server] INFOat com.Acrobot.ChestShop.Shop.ShopManagement.buy(ShopManagement.java:24)
    28.02 20:39:13 [Server] INFOat com.Acrobot.ChestShop.Shop.Shop.buy(Shop.java:57)
    28.02 20:39:13 [Server] INFOat com.Acrobot.ChestShop.Economy.Economy.hasEnough(Economy.java:48)
    28.02 20:39:13 [Server] INFOat com.Acrobot.ChestShop.Economy.Vault.hasEnough(Vault.java:22)
     
  19. Offline

    CJS

    How do you have different types of saplings and wood etc. It shows up as different but it gives you the same.
    Please help
     
  20. Offline

    Epics

    Are you using the correct damage value? This works fine for me.
    I.E
    34:4
    4 would be the damage value. Find the values @ http://www.minecraftwiki.net/wiki/Data_values

    iConomy5>
    As for the code, are you using the recommended build? If you're using dev builds please search through the last few pages and look for the dev build by Acrobat. Otherwise, Acrobat!
     
  21. Offline

    Acrobot

  22. Offline

    dmmayo

    do the permissions nodes work with PermissionsBukkit?
     
  23. Offline

    raidersin2004

    I'm having trouble restricting chests past just OPs. Permissions are set up right, but OPs can still open chests. On my server, all my trusted friends are OPs for time and tp commands, but I don't want them able to steal from the chests. Any help?
    Using bPermissions if that helps.
     
  24. Offline

    nggmc

  25. Offline

    raidersin2004

    Didn't 100% help (or at all for that matter), but I'll keep looking there as well, Thanks!
     
  26. Offline

    andriuxasa

    Why my players cant sell items too admin shop???
    **Edit Duh i just need to read more info ... :D EVERYTHINGS FINE. Great plugin you made
     
  27. Offline

    Acrobot

    dmmayo
    Why shouldn't they?

    raidersin2004
    Well, that's Bukkit that does that. It grants OPs EVERY permission. You'd have just to deop them and use bPermissions for the admin group (that's what permission plugins are for)
     
  28. Offline

    KakusCraft

    been using it for a long time..

    great plugin !
     
  29. Offline

    Acrobot

  30. Offline

    ximnotyoux

    can you pleas make a signshop plugin with time
    like they have to wait for 20seconds to use the sign again
    contact me at [email protected]
    if you want anything in return for it
     
  31. Offline

    Acrobot

    ximnotyoux
    Just change the SHOP_INTERACTION_INTERVAL in config to 20000 (for 20 seconds, 20 * 1000)
     

Share This Page