[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

    Musaddict

    Acrobot I think something is wrong with your sell permission node. If I give my mods ALL permission nodes, they can't sell items to admin shops (and also, my default group with the "chestshop.sign.sell" node can't sell either). It seems as tho only OP's can sell to admin shops. I'm running CB1.2.3-R0.2, and ChestShop 3.39.
     
  3. Offline

    Acrobot

    lordkalem
    Do /iteminfo, you will find out the enchantment code.

    Ebins
    You can also do /iteminfo while holding the item in your hand :)


    Musaddict
    From OP
     
  4. Offline

    Ebins

    Acrobot, thanks a lot for your help. I was able to put in the pet shop. My players and I really love this plugin, thank you! :)
     
  5. Offline

    Acrobot

  6. Offline

    Musaddict

    lol, that would explain it ^^ serves me right for not reading.
     
  7. Offline

    VADemon

    Musaddict
    Maybe I'm missing something but ChestShop's nodes aren't "chestshop.sign.sell" :
    ChestShop.shop.create - lets you create shop
    ChestShop.shop.buy - lets you buy from shops
    ChestShop.shop.sell - lets you sell to shops
    etc.
     
  8. Offline

    Musaddict

    Sorry, misquoted it on the forum. I made a plugin that uses sign shops too, and the permission node I have for that it uses "colorkeys.sign.use". Got them mixed when writing this query, but not in-game when I experienced the problem. Acrobot's solution worked (they were unintentionally being protected by Bukkits spawn protection)
     
  9. Offline

    tincopper2

    I didn't give people permission to make shops, but they still can.
     
  10. Offline

    Elements11997

    I gave people permission to make shops, but they still can't, help?
    Minecraft: 1.2.4
    Bukkit: 1.2.4R0.1
    Chestshop: 3.37
    help please
     
  11. Offline

    VADemon

    tincopper2
    It's impossible. I guess you gave them the ChestShop.shop.* permission. You have two ways to resolve that issue:
    a) give them separated permissions: only ChestShop.shop.sell and ChestShop.shop.buy
    b) negate the permission node (depending on your permissions plugin): -ChestShop.shop.create (likely you have only to place - at the beginning of the node)

    Elements11997
    Didn't you forget to set it in currently world/global?
    Just add ChestShop.shop.create to the users group. If this won't work, please make sure they aren't trying to make shop near to the spawn point or just send us your permissions config.
     
  12. Offline

    tincopper2

    • No need to respond so harshly.
    Not possible, and your guessing is fairly inaccurate, I only gave them access to ChestShop.shop.sell, and ChestShop.shop.buy, and both were not in any way related to ChestShop.shop.create, the way I fixed it was by removing the permission node which was obviously given to them by default from the chestshop plugin, I gave them the node -ChestShop.shop.create, try to have at least the basic knowledge of this plugin before you go off attempting to help people and make their attempts at having a server worthless you piece of shit. Yes. You're the worst horrible piece of shit one could find on the internet- a newb.
     
  13. Offline

    VADemon

    tincopper2
    lol I failed really, sorry for that
    Should be "-ChestShop.shop.create"
    Nice trolling though, bro :)

    PS: Corrected the post for other people.
     
  14. Offline

    Elements11997

    Don't listen to tincopper2, he's just a dick
    http://pastebin.com/gSmTUL8h
    here's my permissions, and in Builder, they get to create a shop, but whenever they try to build a shop, it says "unable to build a shop here" and it is about 500 blocks away from spawn
     
  15. Offline

    tincopper2

    Don't listen to Elements11997, he is just another peasant bowing down at my feet again.
     
  16. Offline

    Mistercmd

    Personally I think is a good thing to have but i hate filling the chests up each time but I let me defaults be able to make a store with this plugin because I hate filling up chests but if they want money i don't think they care much. But I use the buy/sell signs because once you make the sign you don't have to like refill a chest it just keeps selling or letting ppl buy when ever. What I don't like is what I've said and I think you should be able to sell items with this plugin and it adds that items to the chest.
     
  17. Offline

    VADemon

    Mistercmd
    If you're admin you don't even have to fill them up! Just use Adminshop instead!

    Elements11997
    To be really sure about spawn go to bukkit.yml (in the folder with craftbukkit.jar) and change spawn-radius to zero: spawn-radius: 0

    But I'm not as good as Acrobot in error codes, so he may resolve your problem :) wait for him

    Acrobot
    The newest russian translation for v3.39: http://pastebin.com/x0H8V0LG
     
  18. Offline

    Elements11997

    Set spawn-radius: 0 doesn't work
     
  19. Offline

    Acrobot

    tincopper2
    It's a superperms feature. To disable it, either:
    - use a negative node, for example in bPerms you should add ^ChestShop.shop.create, in PEX -ChestShop.shop.create.*
    - open ChestShop.jar with WinRAR/7Zip, open plugin.yml and change "default: true" to "default: ops"

    Also, please don't call people who try to help you " the worst horrible piece of shit "

    Elements11997
    Well, that means that you have either WG or Towny protection turned on.
    If you want to create shops anywhere, turn them off.
     
  20. Offline

    Elements11997

    I just put /region flag __global__ chestshop allow
    know your commands to your own plugin acrobot
     
  21. Offline

    Acrobot

    Elements11997
    Excuse me, but you stated that your Builder group "can't create shops anywhere".

    I couldn't suggest flaging the region, because you didn't say you used WorldGuard...
     
    Epics likes this.
  22. Offline

    Gbagley2

    Hey, first time trying this plugin, so idk if im doing anything wrong, but no one can buy or sell items, i have the permission on for that group. i also have the create shop on and that works fine.

    I have no WG, Towny and my bukkit spawn protect is 0, im using Group Manager for permissions.
     
  23. Offline

    Acrobot

    Gbagley2
    Do you get any errors in the chat/console?
    Have you got any economy plugin, such as iConomy or BOSEconomy?
     
  24. Offline

    Gbagley2

    I got no errors and im using Essentials Econ.
     
  25. Offline

    Flash619

    I am using version 1.2.3 R0.2 b2060 of bukkit
    I am using chest shop version 3.39
    I am using PEX Permissions.

    I have a problem where every time I make a shop, and right click it, it only opens the chest and does not allow me to buy or sell from it. I setup everything properly, and it was working a week ago. I'm not entirely sure as to what had changed. I "in an attempt to fix it" upgraded to the latest ChestShop version but found the same issue.

    If you need any more info I would be glad to list it. :)

    Other plugins: Essentials, LWC, Falsebook, iConomy, Vault, Tree Assist, Command iConomy, and Grief Prevention.
     
  26. Offline

    sticky55

    like potions will those work ?
     
  27. Offline

    tincopper2

    Sorry, he wasn't being motivational, in fact, he almost put me back a little. I can't ever stand that.
     
  28. Offline

    ShineKia

    Is there a function where you can create a sign board to indicate whether the stocks in the shop are in stocks or out of stocks above the shop? Like what this guy does in the video
     
  29. Offline

    WingedSpear

    Same issue, i made an admin shop for sell stuff and its not working, nothing happen, i just set the sign and i dont get any msg, it was working b4 1.2.4, i updated and this happen =/
     
  30. Offline

    Mrchasez

  31. Offline

    VADemon

    Flash619
    You can't buy/sell from your own shops!
    sticky55
    Yes. Just find out their IDs via /iteminfo (you must hold the potion in your hands before entering the command)
    ShineKia
    Acrobot said he will add this feature in ChestShop 4
    WingedSpear
    try /plugins if ChestShop is red then it's not working. But it MUST work with 1.2.3 (tested yesterday)
    Mrchasez
    Many people reported that. Try to increase SHOP_INTERACTION_INTERVAL

    tincopper2
    I'm sorry for that but it was pretty late (2 AM in my country)!
     

Share This Page