[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

    ShaDooM

    Hey uh, I was wondering why are all chests unregisterred after some hours of running? After a reboot the chests are registerred again :S Kinda sucks allowing everyone to steal from the shop.

    Edit: a smaller problem is, if you use signedit, they just can make a shop and replace their name with someone elses and kinda make them poor
     
  3. Offline

    Acrobot

    @ShaDooM
    What? How could the chest be unregistered o.0
    Also, it is not possible, because it has built-in protection from griefers.

    The signEdit - well, I can't help. It's not my fault.
     
  4. Offline

    _Leito_

    Yeah, thanks a lot Arcobot :)
     
  5. Offline

    ShaDooM

    Well not really unregistered, if i try to register it again nothing will happen (but it also doesnt say"already registered")
    Everyone can open the chests and take stuff out though. I just updated to the latest version if it happens again i will take a video or so.

    Maybe those accessable chests has something to do with LWCs db flush intervall ?
     
  6. Offline

    Acrobot

    @ShaDooM
    No clue. They shouldn't be accessable anyway, because the plugin has built-in chest protection. Hmm... It must be a bukkit problem.
     
  7. Offline

    Devloper

    Acrobot? could you please answer my question?
     
  8. Offline

    _Leito_

    I don't know for the moment, but when i will find, i'll tell you.
     
  9. Offline

    MrAllthat

    It looks like you may have fixed the stacking of food bug. I liked that because the chests don't hold enough as it is. Any chance you would make it an option in the config? Right now it conflicts with the stackables plugin and unstacks all the bread in my chest when someone sells to it. This deletes any extra that don't fit.
    Awesome plugin by the way. My server residents love the lack of commands and the ease of use.
     
  10. Offline

    Acrobot

  11. Offline

    MrAllthat

    Thank you I will watch for the next release :)
     
  12. well...
    @Acrobot
    The problem with everything happening double/triple... well, it just fixed itself... I went to bed, and woke up, and it was working just fine -_-... and i cant manage to reproduce the situations...


    On the bright side... its working perfectly :D
     
  13. Offline

    Acrobot

  14. Offline

    _Leito_

    Hey,
    Question for You Acrobot ;)

    I've downloaded the new version 2.3, and deleted the old, and put the newest in /plugins
    But, now when i launch the run.bat, i've got a problem :l
    And don't understand, where :l

    I have this :
    Code:
    00:32:26 [SEVERE] BLOCK_RIGHTCLICKED loading iConomyChestShop v1.0a6 fixed editi
    on (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
            at com.Acrobot.iConomyChestShop.iConomyChestShop.onEnable(iConomyChestSh
    op.java:59)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:578)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Can you help me? :)

    Thanks
     
  15. Offline

    MrAllthat

    Is that version number correct on iconomychestshop? it says 1.0a6 in the error message. Make sure you actually replaced the .jar in your plugins folder with the new one.
     
  16. Offline

    roly

    Hello,

    why your .jar doesn't auto create the folder "iConomyChestShop" and the config.yml?
    most plugins does that...
     
  17. Offline

    narte

    hi, whenever people on my server try to use the shops it says
    [Permissions:you dont not have access to that command]
    been trying for days to fix but i feel like im going in circles...
    here is my permissions file
    if somone could find the problem in here i would be happy, been wanting to use this mod but it never seems to work,
    Chest config
    an answer would be great, (and i registered an account on this for this one reason :/
     
  18. Offline

    xTremeGamersPH

    Sir Acrobot, can you make this work on BOSEconomy?
     
  19. Offline

    Acrobot

    @narte
    It's case sensitive I think :)
    So don't use "iConomyChestShop.Shop.Buy", use "iConomyChestShop.shop.buy" etc :)
    @xTremeGamersPH
    "Sir" :D
    Yes, sure I can. I just waited for someone to ask, if it's needed.
    It will be ready soon :)
     
  20. Offline

    xTremeGamersPH

    YES!!, now i dont have to use RealShop, Your a legend sir, please message me when its done :D. I love you

    (no homo)
     
  21. Offline

    Acrobot

  22. Offline

    xTremeGamersPH

    Is the jar file updated now?
    Also do i have to change some settings?
     
  23. Offline

    Acrobot

  24. Offline

    xTremeGamersPH

    @Acrobot

    Your a legend sir!. Thanks for this, i really needed this because i cant use MySQL. Thanks!!
     
  25. Offline

    narte

    I did what you said, but now i cant even make a store :/ your mod hates me :)
     
  26. Offline

    Acrobot

    @narte
    Mind giving me the IP?

    Also,
    Code:
    -
     - 'iConomyChestShop.Shop.Sell'
     - 'stargate.use'
     - 'stargate.network.central'
     - 'iConomy.payment'
     - 'iConomy.list'
     - 'iConomyChestShop.Shop.Buy'
    
    It seems like you've got blank line here, does it affect anything else?
     
  27. Offline

    ElementzYT

    Hey

    I know it's possible to set the max amount of creatable shops per group but I would love to know the command. Let me know
     
  28. Offline

    Acrobot

    @ElementzYT
    Isn't possible yet.
    The biggest disadvantage of it is when the shop is being WorldEdited or something, so person doesn't have the shop anymore, but it would still show up like he has. I would have to implement it.
     
  29. Offline

    Lesser

    Is it possible to have a different name for the shop? I know there is Admin Shop and the works fine, but is there away to make a "fake account" so you do not receive the error "Account does not Exist".
    The point is to remove my name from the sign and put "SHOP" for example. Thanks
     
  30. Offline

    Acrobot

  31. Offline

    Deadlystrike

    is there any way that you can make it so that adminshop dues NOT require a chest to use....
    i find it kind of silly that you must make a chest for a adminshop and put atleast one of the item in for it to use
    when it duesnt even touch that item
     

Share This Page