[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

    Procrastination

    148 recipes
    16 achievements
    08:43:06 [INFO] Starting minecraft server version Beta 1.6.6
    08:43:06 [INFO] Loading properties
    08:43:06 [INFO] Starting Minecraft server on *:25565
    08:43:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-892-ga9ddbaa-b935jnks (MC: 1.6.6)
    08:43:06 [SEVERE] ebean.properties not found
    08:43:06 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]


    Latest CB Recommended build. Just stops there.
     
  3. Offline

    Rizzak

    :mad: Still doesn't work for me. The Plugin doesn't even get enabled. ? Òó
     
  4. Offline

    litsche

    where can i download the version for 860 ?
    pls :D
     
  5. Offline

    WhosDaMan

    Does this work for 935?
     
  6. Offline

    Twisted420

    hi i have this plugin and have it all setup permissions and all work, when a play tryes to use the shop it says his inventory is full even when it isnt any help would be cool
     
  7. Offline

    magicmoment

    i need 860 too. :)
     
    litsche likes this.
  8. Offline

    belven

    Why is no-one getting this right. It accepts IDs instead of the name and tools do work if you put the id not the name like:

    Belven
    1
    20:0
    270

    This works fine to sell 1 wooden pickaxe for 20 coins :)

    But could i please have an example admin sign?
     
  9. Offline

    Felonu

    An admin sign for the same stuff you had will be
    AdminShop
    1
    20:0
    270
     
  10. Offline

    florida121895

    MAJOR PROBLEM PLEASE HELP:

    I decided what the heck? I will try Beta 3 on my server. PLAYERS DON'T HAVE BUYING PERMISSION? WHAT THE HELL?
     
  11. Offline

    i3w

    I can't get this to work on 935, I can make a ChestShop but my users can't. Here's my permissions for that group:
    Code:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
            - lockette.user.create.*
            - iConomy.access
            - commandbook.who
            - commandbook.time.check
            - commandbook.say.me
            - commandbook.msg
            - iConomyChestShop.command.iteminfo
            - iConomyChestShop.shop.sell
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.create
            - iConomyChestShop.shop.create.<id>
            - iConomyChestShop.shop.exclude.<id>
            - iConomy.bank.access
            - iConomy.rank
            - iConomy.list
            - iConomy.payment
            - iConomy.bank.access
            - iConomy.bank.main
            - iConomy.bank.main.view
            - iConomy.bank.join
            - iConomy.bank.join.multiple
    Am I missing something?
     
  12. Offline

    JagerPrime

    @i3w

    Remove the iConomy before each "ChestShop" in the permissions.

    - iConomyChestShop.command.iteminfo
    - iConomyChestShop.shop.sell
    - iConomyChestShop.shop.buy
    - iConomyChestShop.shop.create
    - iConomyChestShop.shop.create.<id>
    - iConomyChestShop.shop.exclude.<id>

    becomes

    - ChestShop.command.iteminfo
    - ChestShop.shop.sell
    - ChestShop.shop.buy
    - ChestShop.shop.create
    - ChestShop.shop.create.<id>
    - ChestShop.shop.exclude.<id>

    I also had to make sure that LWC wasn't autolocking chests when placed. If it did that, it wouldn't let them place the sign.
     
  13. Offline

    i3w

    @JagerPrime
    Thanks for the reply but that didn't work for me, had to change it back to the original nodes. (iConomy 2.75 & bukkit935)
    My issue ended up being a world/global permissions conflict, but it's sorted now.

    Plug-in works great. :D
     
  14. Offline

    belven

    Thanks mate
     
  15. Offline

    pSy

    Ist there a way to limit the numbers of Shops a person can have? I can't see an option like that in the config file.
     
  16. Offline

    magicmoment

    where can i download the version for 860 ?
     
  17. Offline

    Kainzo

    @Acrobot
    Semi-big issue. We've noticed that despite restricting ALL users chestshop permissions - any user (default/VIP) can make the shop. They are not granted via Heroes or Permissions

    Is there something in the Dev build that enables chestshop.shop.create for everyone or a config I may have missed?

    Msg from IRC
    http://pastie.org/2140262 (how to fix)
     
  18. Offline

    ryanjjjj

    -UPDATE- nvm i accidentally got my back up mixed and had the default economy config lol

    i have added the plugin and permissions but all my /bank commands for iconomy dont work! just nothing shows up now and i have tried the "aconomy.jar" trick with no avail... any ideas?
     
  19. Offline

    Mhalkyer

    @Acrobot

    Could you make it so people can't store items in the chest other than what they are selling/buying?

    My users are setting the price really high then just storing their items in them -_-
     
  20. Offline

    Kainzo

    Wrong location to post this.
     
  21. Offline

    AuXDubz

    But i sort of know that he is Epic enough to fix it :)
     
  22. Hey,
    I have made a new version of my iConomyChestShop Tutorial...
    My Channel: MichaelMitchellM

    Video:



    Thanks!
    -Michael Mitchell
     
  23. Offline

    Acrobot

    Wow everyone, sorry for not replying - I was on a trip to France.

    @dechiridas
    If the player hasn't got ChestShop.admin node, he can't create shops with different names.

    @Kane
    iConomy is virtual currency for your server. It doesn't cause lag, because it uses both database and local cache.
    For the 2nd one - http://forums.bukkit.org/threads/ec...economy-plugins-928.4150/page-103#post-417435

    @JagerPrime
    Not really, sorry :/

    @MalcolmLC
    Why native? It should work with Permissions 3 plugins.

    @Lolmewn
    I hate EBean :/ Delete plugins/ChestShop (or iConomyChestShop)/ChestShop.db (or iConomyChestShop.db)

    @HockeyMike24
    Wow, that's not possible o.0

    @Croyd
    Yeah, that's the point. It seems difficult to resolve this issue, however, I'll try.

    @Rizzak
    Something is wrong with your database, please delete bukkit.yml

    @vapid2323
    Hey, I forgot to announce this, but it's already in ChestShop :)
    Just make a sign ABOVE the shop sign, that says "[restricted]" and the 2nd, 3rd and 4th lines are names of groups that can use this shop.

    @magicmoment
    That's not a bug, the plugin will create this file :)
    If not, just create file named "ebean.properties" inside your server folder (just a blank file)

    @Procrastination
    This isn't a bug, but other plugin must stop the server, or your bukkit.yml file is wrong.

    @Kainzo
    Thanks, I'll fix that.

    @Mhalkyer
    Not really possible at the moment, you should probably ask Bukkit team to add inventory events :)

    @AuXDubz
    Your map is bugged, use Chunkster

    @Michael Mitchell
    Thanks




    Oh well, I think I responded to everyone, please forgive me if I missed any :/
     
  24. Offline

    Lolmewn Retired Staff

    wow :p
     
  25. Offline

    Mhalkyer

    Can't you check the chest after they made it? Like a sweep to check chests every X amount of minutes? =)
     
  26. Offline

    Acrobot

    @Mhalkyer
    That would be possible, but it could lag the server :/
     
  27. Offline

    Kainzo

  28. Offline

    vapid2323

    @Acrobot

    Your a god! Thanks for the update
     
  29. Offline

    pSy

    I've a Problem with the Item IDs. I've some Plugins that wich generates new meta IDs for some Items.
    For Example i have 2 sorts of sand.... 12:0 and 12:5.... so i need two different chest in my shop for sand.... :/
    if i typ "Sand" it only allows the 12:0 sand ;)... is there a way to make it like 12:x so it accepts all kinds of 12/sand?
     
  30. Offline

    Acrobot

    @pSy
    Not yet, but I am working on it.
     
  31. Offline

    DivineKyuuji

    It says it works with all major economy plugins.. does it work with Essentials economy?
     

Share This Page