[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

    lowmotion

    What Version is recommended for Bukkit 1000?
    ChestShop 3.0 Beta 11
    or
    iConomyChestShop 2.75 (with this i get an Could not pass event SIGN_CHANGE to iConomyChestShop)
     
  3. Offline

    Danton1983

    using bukkit build 1000 server version 1.7 essentials 2.5 iconomy V5 and this on beta3. leaving first line blank results in a sign with just what you type on it. you have to use the name or it will not create the correct chest shop sign.
     
  4. Offline

    stuppp

    Im having problems with this pluggin, im getting theese errors.

    You cannot make theese types of shop
    You cannot sell to this shop.

    Here is my permissions:

    Code:
    groups:
    
        Default:
    
            default: true
    
            info:
    
                prefix: '&2'
    
                suffix: '&f'
    
                build: true
    
            permissions:
    
            - foo.bar
            - niftywarp.use.home
            - niftywarp.use.homeset
            - niftywarp.use.list
            - niftywarp.use.warp
            - iConomy.bank.access
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - iConomy.bank.leave
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.change
            - iConomy.bank.main.set
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
            - lockchest.break
            - lockchest.enable
            - lockchest.disable
            - lockchest.lock
            - lockchest.unlock
            - lockchest.adduser
            - lockchest.removeuser
            - lockchest.pick
            - iConomyChestShop.shop.buy
            - IConomyChestShop.shop.sell
            - IConomyChestShop.shop.create
            - IConomyChestShop.shop.create.<id>
            - chestlock.own
            - chestlock.lock
            - chestlock.unlockable
            - chestlock.coowner
            - chestlock.usekey
            - chestlock.free
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
            - Default
            permissions:
            - foo.*
            - -foo.test
            - niftywarp.admin.delete
            - niftywarp.admin.rename
            - niftywarp.admin.set
            - simpletime.*
            - iConomy.access
            - iConomy.admin.account.create
            - iConomy.admin.account.remove
            - iConomy.admin.bank.create
            - iConomy.admin.bank.remove
            - iConomy.admin.bank.set
            - iConomy.admin.empty
            - iConomy.admin.grant
            - iConomy.admin.hide
            - iConomy.admin.purge
            - iConomy.admin.reset
            - iConomy.admin.set
            - iConomy.admin.stats
            - lockchest.*
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            permissions:
            - '*'
    
    
     
  5. Offline

    Acrobot

    @lowmotion
    Of course ChestShop 3 BETA 11 :)

    @Danton1983
    Hmm... Beta 3. Try BETA 11, ok?

    @stuppp
    It's case-sensitive.
    You have IConomyChestShop, while you need iConomyChestShop in your Permissions. =)
     
  6. Offline

    lowmotion

    Sorry, but no Command, and no Sign is working in 3.0 Btea 11.
    I'm getting no Exception, and the Plugin is running.
    Returnung to 2.75.
     
  7. Offline

    Acrobot

    @lowmotion
    Oh...
    Hmm....
    That's actually weird, did it even start up and was in shown in /plugins?
     
  8. Offline

    lowmotion

    I was wrong.
    I was getting an Exception:
    Code:
    2011-08-10 21:28:34 [SEVERE] Error occurred while enabling ChestShop v3.00 BETA 11 (Is it up to date?): special characters are not allowed
    unacceptable character #FFFD special characters are not allowed
    I know, that this Exception is not thrown by your Plugin.
    It seems, that i cannot read xD

    (My english is not the yellow of the egg)
     
  9. hrm
    ur right...

    also, idk if you are aware, but if a user creates a shop, when LWC is set to be the protector of the chests, it uses a protection, even if they dont have one...
    Is there any other way to restrict/limit the number of shops someone can create? That would make things a bit easier for me (per player/group limits would be nice ^_^ )... atm, i was just planning on having LWC limts be the same as the shop limits.
     
  10. Offline

    Acrobot

    @stargateanubis14
    I will try fixing it, so if player hasn't got any protection left, it doesn't create one :)
    And unfortunately, there's no limit of shops, but I already added shop creation price feature :)

    @lowmotion
    Hmmm... That's really weird, it seems like you have got either bad config file, or something else.
    Was it the whole error, or was there anything else?
     
  11. Offline

    DRP96

    For colored wool, use:
    DRP96
    32
    B 30:20 S
    35:9
     
  12. Offline

    Magestickown

    IDEA:

    After the shop is made, move the sign onto the chest like lockette plugin does.
     
  13. Offline

    Croslicre

    error.png
    :l No words...
    How i cant fix this?
     
  14. Offline

    DRP96

    Is your Server up to date? Do you have the latest Plugin build?
     
  15. Offline

    Croslicre

    I've the version 2.75 :l
    I need download the beta?
     
  16. Ok... that SHOULD work for the limiting... it will basically use the limits of LWC to limit the number of chest shops you can have...

    basically, what i'm trying to avoid, is have people create a shop, that is used only to protect the chest and its contents (like buying diamonds for 1 per). If you had built in limits via permissions, then it would be fine for just your built in protections, but i need some way to limit how many shops people can have, without administration making it for them.
     
  17. Offline

    DRP96

    I dont think so.. No.. But you'll Need the latest Craftbukkit
     
  18. Offline

    LRFLEW

    [edited]
     
  19. Offline

    Croslicre

    No no! I've the latest of craftbukkit!
    I said the version of de iConomyChestShop
     
  20. Offline

    ChaCol

    How do I set up a shop? When I put a sign above a chest it says Seller's account is not available or something?
     
  21. Offline

    erdrickk

    I get this like MAD..........

    20:08:33 [SEVERE] Could not pass event SIGN_CHANGE to iConomyChestShop
    java.lang.NoSuchMethodError: com.griefcraft.sql.PhysDB.registerProtection(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V
    at com.Acrobot.iConomyChestShop.ProtectionManager.protectBlock(ProtectionManager.java:65)
    at com.Acrobot.iConomyChestShop.SignManager.onSignChange(SignManager.java:169)
    at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:462)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:969)
    at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  22. Offline

    Acrobot

  23. Offline

    Monkey_nuts

    No one on my server can buy nor sell even though i have given all groups the correct nodes. HELP!

    I have LWC running, Essentials protect(even though it shouldn't protect signs) and WorldGuard
     
  24. Offline

    Acrobot

    @Monkey_nuts
    Hmm... What message does show up?
    What is your plugin version?
    What are your Permission nodes you added?
     
  25. Offline

    AndrewD544

    i get an error message in game saying : The shop owner doesnt want you to buy here. BUT the signs say that you can buy and sell. What do i do!?
     
  26. Offline

    Monkey_nuts

    1. [Shop]You dont have permissions to do that!
    This Sign is locked with a magical spell

    2. 3.00 Beta 11

    3. - iConomyChestShop.shop.buy
    - iConomyChestShop.shop.sell
    i added these nodes to all of the classes i want to be able to use the shop
     
  27. Offline

    Acrobot

    @Monkey_nuts
    That's the problem.
    You use ChestShop (that's the version 3) while you have Permission nodes for iConomyChestShop.
    Just change it from iConomyChestShop to ChestShop =)
     
  28. Offline

    Monkey_nuts

  29. Offline

    Rensik

    Curious: I don't know if this was suggested at all in any earlier posts, but would it be possible to include CommandBook Kits to what Admin Shops can sell?

    Something like 'kit:<kitname>' for the item line, and then it searches kit.txt for the appropriate kit and such.
     
  30. Offline

    abdel

    For some resone it says you can't buy here is there any way i can pix this please ?
     
  31. Offline

    Acrobot

    @abdel
    Your 3rd sign line is incorrect.
    It's not, for example, "B:20 S:20" but "B 20:20 S"

    @Rensik
    Not yet possible.
     

Share This Page