[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

    Rekorderlig

    Sry x)
    It is my server, i put myself as Op, im currently using:
    iConomy
    iMonster
    AppleTreePlugin

    The annoying part is, everything else works, and the only thig i kinda need/Want now is this Plugin xD
    But can't seem to get it to work :/
     
  3. Offline

    itorrent

    Also i don't know why so many people are having trouble with this plugin. Everything works perfectly except the diamond bug (which he is fixing atm). be sure to use a recommended craftbukkit build and everything should be fine :) And also make sure that ur plugins are compatible with ur other ones.
    [MERGETIME="1299948496"][/MERGETIME]
    which version of iConomy? And also u should use Permission Plugin:
    http://forums.bukkit.org/threads/ad...ow-with-real-multiworld-permissions-522.5974/
    Which can be very usefull to set what players are allowed to do :)
     
  4. Offline

    Rekorderlig

    Im using the latest of iConomy, wich is: 4.4.6

    I tried Permissions, but since im not so much of an experienced "coder/etc" i could't really get it to work :/
     
  5. Offline

    itorrent

    Im using iConomy 4.2, which works fine. And it seems like iConomy also needs Permission to work. or u have to make all players on ur server OP's (in ops.text).
    So download Permission (its easy to understand after a while) and open the "config.yml" file with notepad++
    found here: http://notepad-plus-plus.org/
    Don't use tabs in the file, or it will render it broken and the plugin wont work. The Permission nodes can be found on this page.

    The so called "Nodes" are a singel command line, which tells the server what commands a certain group can do.
     
  6. Offline

    Rekorderlig

    Yeah, i really tried with that, but i cant figure out exactly where to put the codes for Permissions like this:
    iConomyChestShop.shop.create - creating a shop
    iConomyChestShop.shop.use - using the shop
    iConomyChestShop.shop.sell - selling to shops
    Where do i put thoose under default?
     
  7. Offline

    Moe041991

    What CB Build are you using itorrent?
     
  8. Offline

    itorrent

    I'm using #527.

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&e'
                suffix: '&f'
                build: true
            inheritance:
            permissions:
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tpahere'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'lwc.protect'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.use'
                - 'iConomyChestShop.shop.sell'
                - 'jail.command.status'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'essentials.chat.shout'
        Awesome:
            default: false
            info:
                prefix: '&d'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
        Moderator:
            default: false
            info:
                prefix: '&3'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
               - 'essentials.setwarp'
               - 'essentials.kick'
               - 'essentials.ban'
               - 'essentials.unban'
               - 'essentials.tp'
               - 'jail.command.jail'
               - 'jail.command.unjail'
               - 'jail.command.jailcheck'
               - 'jail.command.jaillist'
               - 'jail.command.status'
        Admin:
            default: false
            info:
                prefix: '&5'
                suffix: '&f'
                build: true
            inheritance:
            permissions:
                - '*'
    
    
    users:
        itorrent:
            group: Admin
            permissions:
        simsalace:
            group: Moderator
            permissions:
        mosh12:
            group: Moderator
            permissions:
        fulafisken:
            group: Admin
            permissions:
        GAZ_MAN_432:
            group: Moderator
            permissions:
    This is what my permission file looks like now.
    And oh, u need to change the name of the "config.yml" to "the name of ur world.yml" :)
     
  9. Offline

    Moe041991

    I did use 527 as well. Had always an EVENT error.
    2011-03-12 18:18:52 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to iConomyChestShop

    Now i updated to the latest reccomended Build.
    Still same error.
     
  10. Offline

    Shenlong

    Don't mean to be a bother or anything, I think my suggestion may have gotten missed though [​IMG].
     
  11. Offline

    Rekorderlig

    Thank u! i knew about the name changing, but not how to put in the codes, but now that works! :)
    Still getting the outdated sign thing thou :/
     
  12. Offline

    itorrent

  13. Offline

    Rekorderlig

  14. Offline

    itorrent

    Try to disable iMonster, it fcked up my server when i used it :)
    I think its not compatible with iConomy 4+
     
  15. Offline

    killerx20102

    Can any one help me? If only I enter:
    killer20102
    5
    3
    DIRT

    Is there always: [Shop] Sing is in old format, please update!

    Can any one help me?
     
  16. Offline

    @vatare

    thanks it works now , but not the sell ?
     
  17. Offline

    Rekorderlig

    That dident work :/
    danm... xD i need this Plugin, but nothing sems to work :/
    hmm..
     
  18. Offline

    Acrobot

    @Shenlong - no, it wasn't missed, it WILL be done :)

    For this plugin you NEED to have Permissions.

    @Rekorderlig
    You need to change the signs from
    Code:
    Your_name
    Quantity
    Price
    Item
    
    TO

    Code:
    (your name, you can leave it blank)
    Quantity
    Price for items you sell:Price for items you buy
    Item
    
    like

    Code:
    AcrobotPL
    3
    15:10
    wood
    
    And, I don't know if iMonster doesn't work, try without it and with it.
     
  19. Offline

    Chris Lewis

    Ok... this may sound strange but is there way to create a "fake" user with an account?

    Basically I want to create a user called "server" that is meant only to allow people to be able to sell items to the server, thus getting more money into the economy. give it millions of dollars and as people find gold it would allow them to sell to server....

    Also i would need to be able to create a shop using this fake user as the seller... Im at a loss if there is any way to do this...
     
  20. Offline

    Acrobot

    @Moe041991
    That's strange now, could you provide me with ip address?

    @Chris
    Yes, there is, but it involves pirated minecraft so I won't help you with this, sorry
     
  21. Offline

    itorrent

    Ohh guys, a little side note. Build #532 of CraftBukkit kills the server chat for me. I cant even control the server via console :/ Just so u know :)

    @Rekorderlig
    i forgot to ask about the sign format, hehe...
    Btw where u from? ur name sounds swedish:)
     
  22. Offline

    Chris Lewis

    OH! doh! of course! that makes perfect sense..... of course i would never use that method....
     
  23. Offline

    Rekorderlig

    Yeah :p im from sweden :D Good guess!
     
  24. Offline

    itorrent

    There are 2 "modes" u have acces to. U can change mode by either typing "/sell" or "/buy". | selfexplaining? not? well read this: when u do "/sell", u will be able to sell to chests. And when u do "/buy", u will be able to buy from chests :)
     
  25. Offline

    Acrobot

    New version!
    It has built-in protection, fixes item names and probably some more bugs are fixed.
     
  26. Offline

    Chris Lewis

    Actually.... since im running my own server this is possible without the "pirated" version. However, I wanted to give you special thanks because you gave me the idea how to do it.

    Simply put your server in online-mode: false
    open minecraft and put a ranom name and password in it.
    you will play in offline mode and then you have a character called "Player" that will of course need to be whitelisted
    login to the server and create the shops
    turn the server back into online-mode:true
    use your regular admin account to log in
    set the "Player" account money to what you want
    Presto, you are done setting up a "server" account for people to sell gold to in exchange for coins!

    Only downfall of this is that if there is actually a minecraft account with the name "Player" and they find the IP of your server they could log in. However this could be counteracted with a good router, just log their mac address if they show up on your server and block it out in your router. This solves all problems, and lets be honest the liklihood of someone having that account and finding your IP is slim to none.
     
  27. Offline

    Moe041991

    85.131.147.234:25565

    I need your ingame name for whitelist though.
     
  28. Offline

    Shenlong

    Cool thank you! Can't wait!
     
  29. Offline

    killerx20102

    I WorldEdit and more plugins for it and if I still
    Permissions Permissions istalliere then is not how I do it?
     
  30. Offline

    itorrent

    @Acrobot
    Here are some more things that doesn't seem to work:
    • FLOWER
    • ROSE
    • LAPIZ LAZULI
    (so far)
    i will update later on :)
     
  31. Offline

    Acrobot

Share This Page