[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

    Crankmast3r

    i have all my perms set but seems i am the only one that can use shops no one else on the server can hen they click the sign it just removes the text on the sign till they relogin
     
  3. Offline

    Epics

    I was just taking a shot in the dark, no need to be sorry!
    I found it out.
    You put "Free" on the line. Nothing more, nothing less. :)

    It just has some bugs, I'm unaware of which specifically, but I know ChestShop conflicts with it somewhat. If it is crashing your server I recommend you increase the delay in your ChestShop configuration to take less of a toll on your server.
    Code:
    SHOP_INTERACTION_INTERVAL: 100

    Sounds like they're in creative, perhaps you have the setting
    Code:
    IGNORE_CREATIVE_MODE: true
    Set to false.
    Maybe try setting it to true and run the test again.

    Thanks,
    Austin
     
  4. Offline

    MrGKanev

    No i have never installed it but the shop was working 2-3 week ago before i updatet the server but i don't have the old server files.
     
  5. Offline

    gunxzcoler

    can i ask you Acrobot how do i get the money to buy the item and if there a command that add money too answer me in a private chat thanks for reading it i hope you will help me
     
  6. Offline

    Kainzo

    The exploit existed in cb++ and cb, Acrobot - just to warn ya :p
     
  7. Offline

    Acrobot

    Kainzo
    Afforess
    Thanks
    :)

    jackks
    Well, it would be
    B free

    gunxzcoler
    You need an economy mod, such as iConomy or BOSEconomy.

    In iConomy, to add money you do

    /money grant someNick 999

    where 999 is the amount and someNick is the nickname.
     
  8. Offline

    Mrchasez

    When ever someone sells like 7 stacks of an item, The server freeze's and kicks people
    Look

    http://pastie.org/3637456

    We use iConomy 6
    Why is this happening
     
  9. Offline

    Acrobot

  10. Offline

    Epics

    The API was deprecated and was removed. Try installing Vault and see if that solves your problems, all it is is a connector between economy-using plugins. :)

    Acrobot
    I hope I'm doing an okay job, if you feel I'm not the best just let me know bud. I'm trying!
     
  11. Offline

    Acrobot

    Epics
    You're doing an amazing job :)
    I really, really have to thank you for it - I sometimes reply to people to add something to your message, but you do a great job :)
     
  12. Offline

    Epics

  13. Offline

    PeterGarfield6

    Using chestshop.shop.* doesn't allow my users to buy or sell.
     
  14. Offline

    Epics

    Are you using PermissionsEX? If so, you can't use the parent nodes. Use the child ones.
    Code:
    chestshop.shop.buy
    chestshop.shop.sell
    
     
  15. Offline

    godslam

    Installed this and I only only sometimes buy and never can I sell.
    Fixed it. Just derped and didn't add a colon in-between B and S.
     
  16. Offline

    Acrobot

    Epics
    Awesome, thanks :)
     
  17. Offline

    Tim_Tijger

    Epic :D Can you also translate it into dutch:) Or the creeper will explode XD....[creeper]
     
  18. Offline

    Acrobot

  19. Epics
    PeterGarfield6
    He should be able to use the parent nodes with PEX. The problem is (afaik newest PEX isn't case-sensitive anymore) that the permissions (in old versions of PEX) are case-sensitive.
    Code:
    chestshop.shop.*
    Doesn't equal to
    Code:
    ChestShop.Shop.*
    Remember this.
     
  20. Offline

    Epics

    I couldn't remember if it was ChestShop or PEX that fixed the case sensitivity, thought it was ChestShop :p
     
  21. Offline

    Acrobot

    Epics
    Well, ChestShop checks for both lower- and upper-case nodes :p
     
  22. Offline

    Epics

    So, technically speaking, the lowercase parent node SHOULD work.
     
  23. Offline

    HunterT

    Can you add a Delay on buying/selling? I run on a hefty server ( see below ) and when kids start selling/buying nonstop very fast, the server drops in performance. Or is there a fix for this?
     
  24. Offline

    Epics

    Code:
    SHOP_INTERACTION_INTERVAL: 100
    #(In 1/1000th of a second) How often can a player use a shop sign?
     
  25. Offline

    FearGrump

    How do you use the web statistics for chest shops? I could not find any instructions to it.
     
  26. Offline

    Epics

    Turn it on in the config, it generates to your HTML folder, copy paste the HTML files to your website.
     
  27. Offline

    lordkalem

    can you make it so that we can sell enchanted items in next update. they dont need to be seperate shops for each enchantment just have them all in one general group for each item.
     
  28. Offline

    Ebins

    Is there any way you can add in a feature where players can purchase mob eggs? They want a pet shop, and I can't get it to work as is. Maybe I'm missing something?
     
  29. Offline

    Epics

    [​IMG]


    383:dmgvalue as item id.
     
  30. Offline

    Ebins

    Thanks! :)
     
  31. 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.
     

Share This Page