[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

    Acrobot

    @Aprof
    Oczywiście :)

    @v Evoraa
    Well, if I understand the question correctly - there are NO databases used, unless you turn it on in config :)
    AFAIK, even servers low on RAM were successfully running the plugin.
    Also, I included button-spam protection, which lets people use the signs only after a 150msec delay :)
     
  3. Offline

    dakoslug

    Does this support PEX? And do I need Register?
     
  4. Offline

    Acrobot

    @dakoslug
    Yes, it supports PEX.
    No, you don't have to have Register, it's integrated in the plugin :)
     
  5. Offline

    dakoslug

    weird, as soon as I put Register up it started working :S
     
  6. Offline

    dakoslug

    and also is there a way to change the key to buy/sell ?
     
  7. Offline

    Acrobot

    @dakoslug
    Yep, in config - REVERSE_MOUSE_BUTTONS (or something like that).
    And for the Register - I have no clue, it should work fine without it - ChestShop doesn't even use the Register plugin.
     
  8. Offline

    dakoslug

    So just reverse mouse buttons? Can't put custom keys? You think it would stop creative users from breaking their shops?
     
  9. Offline

    Acrobot

    @dakoslug
    You can disable that by, if bukkit is correctly programmed,
    "ALLOW_LEFT_CLICK_DESTROYING" in config.
     
  10. Offline

    dakoslug

    What do you mean by if bukkit is correctly programmed? Cause it didnt work :/
    Edit: Well it opened the chest but when i closed the chest it broke the sign :/
     
  11. Offline

    Acrobot

    @dakoslug
    :/
    Not fun.
    You just shouldn't use creative mode ATM, because as you can see, bukkit doesn't handle that well :/
    Also, Minecraft release in 3 mins :p
     
  12. Offline

    dakoslug

    YEAH :D made a awesome house in survival
     
  13. Minecraft is 1.0.0! YEAH!
    Ahah... that was and is hard night for me...

    Acrobot u're the beeest! Yea!

    Will make a video soon. In russian. I just have to help those noobs although the video won't be public (I mean it won't be listed).
     
  14. Offline

    Cartman34

    Thank you for this plugin ! (And the easy wget link)
     
  15. @Acrobot
    Need a very quick update, LWC.
    If player's shop will be protected with LWC then there's a message that it was protected successfully.
    But when player has reached the protections limit he will only see that his shop was created, but nothing about that LWC protection failed. I need this message. Hope u will implement it soon.
     
  16. Offline

    Acrobot

    @VADemon
    Well, I guess if the message about LWC didn't show up, it means that it failed to create. Anyway, I will try adding it tomorrow (tired ATM)

    @Cartman34
    No problem :)
     
  17. Offline

    Sonix123

    What i did wrong ? I have iConomy, i put the jar and the folder in the plugins folder, i edited a little the config.yml(i just put from "Admin Shop" to "AdminShop") and edited the errors/buys messages. And when i type /cversion doesn't happen anything. Can someone help me ?
     
  18. Offline

    Acrobot

    @Sonix123
    It's actually
    /csversion
    And what doesn't work for you?
     
  19. Offline

    Maxxgold

    Using the newest Craftbukkit Dev and buy works but sell doesn't
     
  20. Offline

    Acrobot

    @Maxxgold
    Are you sure your spawn-radius in bukkit.yml is set to 0?
     
  21. Offline

    Cartman34

    Is this version compatible with Minecraft 1.0.0 (new release) and CraftBukkit > 1464 (for Minecraft 1.0.0) ??
    (So can I ugrade my server to CraftBukkit 1464 without any problem with this plugin ?)
     
  22. Offline

    panborsuk

    @Acrobot
    Na najnowszym Bukkicie (build #1479) działa wyśmienicie. Wszystko sprawdzałem i działa super. Dopisałem Cię oczywiście w jednym (chyba teraz najbardziej popularnym) temacie odnoście info na temat testów Bukkita bo wiesz że nie ma stabilnego jeszcze to tam ludzie sikają że im nie działa a ja aktualizuje listę pluginów. Mniejsza o to. Żadnych błędów nie wypluwa działa super na 1.0.0

    I tested everything in this plugin on my server with CraftBukki build #1479 and it's works fine... pff... awesome!
     
  23. Offline

    Acrobot

  24. Offline

    Maxxgold

    No I didn't have that set. Thank you for the Quick Response
     
  25. Offline

    Acrobot

    VADemon likes this.
  26. Offline

    Graysonw

    Ok so I downloaded it, put in folder, did everything right. At first AdminShop was working then after a while whenever I place an AdminShop sign it says 'No Chest Found,' or whatever the default is. I haven't even edited the config.yml, either way here is what my AdminShop line says:ADMIN_SHOP_NAME: "Admin Shop"
    I tried AdminShop, Admin Shop, Admin_Shop, "AdminShop," and even "Admin_Shop" I can even still buy from the AdminShop signs and yet I can't make anymore. Please help.
    EDIT:
    - CraftBukkit version (type /version in chat) git-bukkit-1.8.1-R4-10-gfb96d87-b1467jnks (MC: 1.0.0)
    - ChestShop version (type /csversion in chat) 3.24
    - Your economy plugin (iConomy? BOSEconomy? other one?) iConomy
    - Have you got any Permission plugin? Which one? The old permissions, 3.1.6 Yeti
     
  27. Offline

    Cartman34

    The message isn't enough clear for you ?!
    You can write what you want, it does not find the chest, did you put a chest below ?
     
  28. Offline

    Graysonw

    The AdminShop's don't require chests.
     
  29. Offline

    Cartman34

    I tried...and It required it.
     
  30. Offline

    dakoslug

    So later on when Bukkit releases more stable and "better" versionsof craftbukkit it will work ? :D
     
  31. Offline

    Acrobot

    @dakoslug
    I think it should :)

    @Cartman34
    They don't require chests.

    @Graysonw
    Did you try it ~60 blocks away? It might had been a bugged chunk.
     

Share This Page