[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

    SneakyToe

    The plugin seems not to be loaded, although if I remove the plugin folder of it it generates a new one..
    Do I have to restart the server in order to get this to work is is a /reload just fine?

    And yeah, I need support! I can't make shops, iConomy is working but ChestShops is not.. :(

    Using this format on a sign:
    Line1: <BLANK>
    Line2: 64
    Line3: 10:5
    Line4: Stone

    EDIT:
    /iteminfo is neither working..
     
  3. this plugin dosnt work for my i creat a shop done
    than will buy a another player with iconemyshop permissions und is say
    you dont have permission to do that
    i use this plugins:
    chestshop,worldguard,borderguard,essentials,worldedit,sipmlesave,milkadmin,groupmanager,mothernature,openinv,permissions,thunderjoin,iconemy,dynmap,essentailsspawn,prefixer
     
  4. Offline

    vapid2323

    Just saying the Role based protection works fine in 1.7.2!
     
  5. Offline

    SneakyToe

    How did you get yours to work? Mine wont load, my iConomy works but not this plugin..
     
  6. Offline

    Jan0499

    Yea, only admins can buy/sell/create.
    I've used iConomyChestShop.shop.buy, ChestShop.shop.buy and aConomyChestShop.shop.buy

    I read my console and nothing seems to be wrong.
     
  7. Offline

    vapid2323

    I have it setup where all ranks have the following (I am using the BETA):
    ChestShop.shop.create - creating a shop with any item ChestShop.shop.buy - buying from shop ChestShop.shop.sell - selling to shop ChestShop.command.iteminfo - /iteminfo command
    And thats it.
     
  8. Offline

    SneakyToe

    Mine still doesn't work.. I don't get any config in the BETA one.. Just the .HTML files..
     
  9. Offline

    Acrobot

    @SneakyToe
    The beta one auto-generates the config file.

    @Jan0499
    Do you get "You do not have Permission"?
    If so, type in /icsversion or /csversion and tell me what it says.

    @Lordgizmo
    Permissions and groupManager? Well, whatever. Just add those Permissions to your Permissions/groupManager config:
    Code:
    ChestShop.shop.*
    
    @SneakyToe
    Do you get any errors in console?
     
  10. Code:
      Builder:
        default: false
        permissions:
        - ConomyChestShop.command.iteminfo
        - ConomyChestShop.shop.buy
        - ConomyChestShop.shop.create
        - ConomyChestShop.shop.sell
        - ConomyChestShop.shop.use
        - ConomyShop
        - essentials.afk
        - essentials.home
        - essentials.msg
        - essentials.sethome
        - iConomy.access
        - iConomy.list
        - iConomy.payment
        - iConomy.rank
        inheritance:
        - default
        info:
          prefix: '&2'
          build: true
          suffix: ''
    @Acrobot in the group manager permissin i ave the permmissions write right i use beta 3 und read the readme ^^
    but dosnt work why? ic can post my permission

    i delet the permission plugin
     
  11. Offline

    Acrobot

    @Lordgizmo
    Okay, please post the permissions, also, please download ChestShop BETA 7. Please. I fixed a lot of errors with Permissions in it.
     
  12. Code:
      Builder:
        default: false
        permissions:
        - ConomyChestShop.command.iteminfo
        - ConomyChestShop.shop.buy
        - ConomyChestShop.shop.create
        - ConomyChestShop.shop.sell
        - ConomyChestShop.shop.use
        - ConomyShop
        - essentials.afk
        - essentials.home
        - essentials.msg
        - essentials.sethome
        - iConomy.access
        - iConomy.list
        - iConomy.payment
        - iConomy.rank
        inheritance:
        - default
        info:
          prefix: '&2'
          build: true
          suffix: ''
    ok hier my permission for users
    and i hvae beta 7 ^^
     
  13. Offline

    SneakyToe

    I get this:

    Code:
    2011-07-04 07:09:05 [INFO] Starting minecraft server version Beta 1.7.2
    2011-07-04 07:09:05 [INFO] Loading properties
    2011-07-04 07:09:05 [INFO] Starting Minecraft server on 50.23.249.196:25566
    2011-07-04 07:09:05 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
    2011-07-04 07:09:06 [SEVERE] ebean.properties not found
    2011-07-04 07:09:06 [INFO] DataSourcePool [ChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-07-04 07:09:08 [SEVERE] FATAL: DataSourcePool [ChestShop] is down!!!
    2011-07-04 07:09:08 [INFO] Reseting DataSourcePool [ChestShop] min:2 max:20 free:0 busy:0 waiting:0 highWaterMark:0 waitCount:0 hitCount:0
    2011-07-04 07:09:08 [INFO] Busy Connections:
    
    2011-07-04 07:09:08 [SEVERE] Could not load 'plugins\ChestShop.jar' in folder 'plugins':
    com.avaje.ebeaninternal.server.lib.sql.DataSourceException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
     
  14. Offline

    Fetrimo

    Does it work on 1.7.2 ?
     
  15. i dont now by my in mom not ^^
     
  16. Offline

    Acrobot

    @SneakyToe
    Please removeyour bukkit.yml file and move your server to somewhere without special characters, fe. C:/Server

    @Lordgizmo
    It's not "ConomyChestShop".
    It's ChestShop, so it should be:
    - 'ChestShop.shop.*'

    @Fetrimo
    Yes, it does.
     
  17. ok thanks its work fine with 1.7.2 and beta 7 ^^
     
  18. i found a bug item 17 wooden is of shield LOG
     
  19. Offline

    Acrobot

    @Lordgizmo
    Because item nr. 17 is a LOG?
     
  20. Offline

    Jan0499

    I have permission, but nobody else does.

    Version: 3.00 BETA 7
     
  21. Offline

    Acrobot

  22. @Acrobot item 17 ist wooden holz
     
  23. Offline

    Acrobot

  24. ok but why stand wenn i writ by item 17 LOG ?? its wooden or must write a another id??

    ^^ ah sry i have found my mistake
     
  25. Offline

    skaneboys

    I cant buy stuff D: this is my group:

    Code:
      Builder:
        default: false
        permissions:
        - ConomyChestShop.command.iteminfo
        - essentials.afk
        - essentials.back.ondeath
        - essentials.chat.shout
        - essentials.compass
        - essentials.home
        - essentials.kit
        - essentials.mail
        - essentials.mail.send
        - essentials.msg
        - essentials.sethome
        - essentials.suicide
        - essentials.unlimited
        - essentials.warp
        - essentials.warp.list
        - essentials.worth
        - falsebook.blocks
        - iConomy.access
        - iConomy.bank.access
        - iConomy.bank.join
        - iConomy.bank.leave
        - iConomy.payment
        - iConomyChestShop.shop.buy
        - iConomyChestShop.shop.create
        - iConomyChestShop.shop.sell
    
     
  26. - iConomy.bank.access - iConomy.bank.join - iConomy.bank.leave - iConomy.payment - iConomyChestShop.shop.buy - iConomyChestShop.shop.create - iConomyChestShop.shop.sell

    this is wrong write it chestshop not iconomeychestshop
     
  27. Offline

    Jan0499

    That's weird... yesterday I had that in but it didnt work. Now it works... :D oh well
     
  28. Offline

    skaneboys

    Doesnt work :(
     
  29. use chestchop beta 7 its works fin for my bukkit server
     
  30. @Acrobot
    I wanted to say that the plugin is what really horny and I wish more such plugins so perform their functions
    again thanks to the plugin developer
     
  31. Offline

    Acrobot

Share This Page