[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

    Epics

    Done :)
     
  3. Offline

    ProHDGaming214

    The Development of Bukkit is saying to prepare for R5 So pls update your Plugin so you can prepare for the R5 Here is the message what they gave me

    Important information on Next Recommended Build

    Hi ProHDGaming214,

    We're cleaning up our code to help us better prepare for the release of Minecraft 1.2. As a result, a lot of old, inefficient and buggy code is being removed and plugins will need to be updated.

    Please check your plugins, find out if the plugin developers have been keeping everything up to date and kindly let them know that they need to update their plugins to make sure they will be ready for R5.
     
  4. Offline

    Acrobot

    ProHDGaming214
    I know, I know.
    I'll release the newest, R5 compatible version soon.
    Also, this is when CS4 development will start :)
     
  5. Offline

    Acrobot

    Also, pro-tip for everyone.
    iConomy (whether it is 4, 5 or even 6) will BREAK in the newest Bukkit version.
    (Same goes with Permissions 3 by TheYeti, but I hope noone uses them by now)
     
  6. Offline

    Puremin0rez

    I REALLY hope iConomy updates!!! - Most likely will though :)
     
  7. Offline

    enerdzaiser

    Доброго времени суток.
    Обращаюсь исключительно к разработчикам плагина.
    сделайте так чтоб игрок с именем adminshop не мог сделать себе собственный магазин с неограничеными продажей и покупкой.
     
  8. Offline

    Acrobot

    Puremin0rez
    No, it most likely won't.
    Nijikokun (iConomy's author) isn't active anymore.

    enerdzaiser
    If I understand it right, user with name "Admin Shop" shouldn't be let in on the server on the first place.
     
  9. Offline

    Puremin0rez

    Oh crap...
     
  10. Offline

    Acrobot

    Puremin0rez
    Yeah, exactly :/
    I'll try sending a pull request to him, though.
     
  11. Offline

    Gnyf

  12. Offline

    CKSpoiler

    Hey, could you please update to R5? :)
     
  13. Offline

    Acrobot

  14. Offline

    colgatiN

    Acrobot, good nightfirst ...
    Could you tell mewhywhen I addthe chestshopon the server, Idisabledto createlargechests?
    says he does nothavepermission to do so.
    ps:I useGroupManager.
     
  15. Offline

    Epics

    Get this error extremely frequent with the build you posted
    Code:
    2012-02-20 17:52:35 [SEVERE] java.lang.NullPointerException
    2012-02-20 17:52:35 [SEVERE] at com.Acrobot.ChestShop.DB.Generator.run(Generator.java:27)
    2012-02-20 17:52:35 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2012-02-20 17:52:35 [SEVERE] at java.lang.Thread.run(Thread.java:662)
    And it's still not generating xD
     
  16. Offline

    DJDUDE

    OMG it doesnt let my users create shops unless they have the chestshop.admin. AHHHHH. What can i do
     
  17. Offline

    Epics

    Did you give them
    Code:
    ChestShop.shop.create
    ?
     
  18. Offline

    drdeft

    Server starting log (PermissionsEx, iConomy, ChestShop):
    2012-02-21 05:01:31 [INFO] [PermissionsEx] sql backend registered!​
    2012-02-21 05:01:31 [INFO] [PermissionsEx] file backend registered!​
    2012-02-21 05:01:31 [INFO] [PermissionsEx] PermissionEx plugin initialized.​
    2012-02-21 05:01:31 [INFO] [PermissionsEx] Initializing file backend​
    2012-02-21 05:01:33 [INFO] [PermissionsEx] Loading PermissionsEx v1.18.​
    2012-02-21 05:01:33 [INFO] [PermissionsEx] Superperms support enabled.​
    2012-02-21 05:01:33 [INFO] [PermissionsEx] v1.18 enabled​
    2012-02-21 05:01:33 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.​
    2012-02-21 05:01:36 [INFO] [iConomy] Loading iConomy v6.0.8b.​
    2012-02-21 05:01:36 [INFO] [iConomy - Celty] Enabled (9 ms)​
    2012-02-21 05:01:36 [INFO] [ChestShop] Loading ChestShop v3.35.​
    2012-02-21 05:01:36 [INFO] [ChestShop] LWC version 4.0.9 (b625-git-be4387f7) loaded.​
    2012-02-21 05:01:36 [INFO] [ChestShop] WorldGuard version 5.5 loaded.​
    2012-02-21 05:01:36 [INFO] [ChestShop] iConomy version 6.0.8b loaded.​
    2012-02-21 05:01:36 [INFO] [ChestShop] Essentials version Pre2.8.3.1 loaded.​
    2012-02-21 05:01:36 [INFO] [ChestShop] iConomy loaded.​
    2012-02-21 05:01:36 [INFO] [ChestShop] version 3.35 initialized!​

    Info:
    ChestShop 3.35​
    iConomy 6.0.8b
    PermissionEx -----> permissions.yml :​
    - iConomy.holdings​
    - iConomy.payment​
    - iConomy.help​
    - iConomy.user​
    - ChestShop.shop.create​
    - ChestShop.shop.buy​
    - ChestShop.shop.sell​
    - ChestShop.nofee​
    ERROR!!! (user from default permissions group):​
    [Shop] You can't create this tipe of shop!
    What am I doing wrong? =(
     
  19. Offline

    Epics

    PEX 1.18 breaks a LOT of plugins permissions.
     
  20. Offline

    drdeft

    So.... should I use PermissionEx 1.17 instead of 1.18 ?
     
  21. Offline

    Puremin0rez

    Agree'd

    Use PEX 1.17 or bPermissions.
     
  22. Offline

    Epics

    I personally use PEX 1.17, but it is seemingly misleading. I'm only holding onto PEX because of the prefix/suffix built into the permissions system.
     
  23. Offline

    drdeft

    Yahooo!!!! Works fine with PEX 1.17!!! Thank you! =)))
     
  24. Offline

    cotigershark

    Does anyone know how to make a admin sign it never works I put Admin shop at the top of the sign but when I or any default player click it nothing happens plz help
     
  25. Offline

    Epics

    What are you putting on your sign? Does it say "Shop created!" when you finish making the shop? Do they have permission ChestShop.admin?
     
  26. Offline

    killdro

    No matter where i put my shops whenever i try to buy it always says "You can't buy here". I check the log and there is no log of any error but i don't now how to fix this issue. Please help me.
     
  27. Offline

    Epics

    Does your sign format say "B 64" or "64 B" on the third line? What permissions plugin do you use?
     
  28. Offline

    iforgot290

    Acrobot I can sell enchanted tools in my shop
    but not enchanted armour
    with a regular player shop, I use /iteminfo and put that datavalue on the sign
    I put the enchanted armour in there and it says out of stock
    but when I keep the same datavalue and put an unenchanted peice of armour in, itll sell me it
    with the adminshop ill put the same datavalue as on the playershop and right click it to buy,
    and it sells me an unenchanted peice of armour
    Is a fix to this coming in the next version?
     
  29. Offline

    Acrobot

  30. Offline

    killdro

    I use permissionsex but I am not sure what version. I do know it is not the newest. And my sign say B 64
     
  31. Offline

    killdro

    Nevermind I fixed it. I noticed I put B: 64 instead of B 64
     

Share This Page