[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

    @Masterkillr2
    That's the reason - you have got iConomyChestShop 2.4, while the newest version is 3.0
    In ChestShop 3 you can change it, but in previous version it is always "Admin Shop" on the first line.
    Try putting "Admin Shop" on the first line and tell me if it works.
    If you haven't got Permissions plugin, OP = Admin in my plugin.
     
  3. Offline

    Masterkillr2

    Admin Shop on the first line does not work.
    I am OP on my server but it still doesnt work.
     
  4. Offline

    Acrobot

    @Masterkillr2
    Oh well... What exactly happens if you try?
    (BTW, can't you contact server's owner about updating the plugins?)
     
  5. Offline

    Masterkillr2

    When i left or right click the sign simply nothing happens. When creating the sign i dont receive a message (for example: you created an admin shop).
    Yeah i should contact him
     
  6. Offline

    Acrobot

    @Masterkillr2
    Nothing happens...
    Hmm...
    That means that sign didn't even successfully create :/
     
  7. Offline

    Masterkillr2

    Anyway, thanks for your help :)
     
  8. Offline

    Acrobot

  9. Offline

    Acrobot

    @steve0145
    User box?
    Have you got the right Permissions?
    For the latest version, they are:
    ChestShop.shop.create
    ChestShop.shop.buy
    ChestShop.shop.sell
    (there are more, but those 3 are the main ones)
     
  10. Offline

    TheCamachoNater

    Hey Ive Been Using This Shop PLugin For A While Now. But When I Recently Gotten A Multi World Plugin and For My Survival World, This Wont Work. I Do Have The Permissions Nodes To The Permissiosn Group On My Survival Map. But my Players Complain That They Cant Buy. And I Cant Figure Out Whats Wrong. Can Anyone Help Me?

    I Use CraftBukkit Build 1000
    Permissiosn 3.0
    iConomy
    iConomyChestShop (Previous Name For This Plugin)
     
  11. Offline

    Masterkillr2

    I've contacted the server's owner, he updated it, works like a charm! Great plugin :D
     
  12. Offline

    Ikarirain

    Ok, I skimmed the last several pages of the thread and found no answer to my question, so here it is... Did the distance between sign and chest change? I recall using a configured distance in the older version I was using, which allowed signs to be placed diagonal to the chest, allowing the chest to be completely covered with cobble. Now it only seems to work if the sign is directly next to the chest. There seems to be no setting in the config where I can change this, is it still possible though to have the sign diagonal to the chest?
     
  13. thxs
     
  14. it worked
    :D :D :D DIAMONDS for u
     
  15. Offline

    olimoli123

    For some reason the permissions stuff up with new version on my server, and i updated them like ChestShop.buy and stuff
     
  16. Offline

    olimoli123

    Im running permissions 2.7 btw ;]
     
  17. Offline

    tony687

    thx so much, it works now
     
  18. Offline

    olimoli123

    - 'ChestShop.shop.create'
    Doesnt work ;>
     
  19. Offline

    Tauryuu

    @Acrobot Can you make an option so you can only interact with a shop sign by right-clicking, and signs can only be either selling or buying?
     
  20. Offline

    Acrobot

    @Tauryuu
    Sign can be already selling or buying.
    Just put
    B price
    or
    S price
    at the 3rd line.
    But no, this will still need right and left clicking.

    @Ikarirain
    Hmm... I didn't add this option, because I thought this might bug a bit, but ok, I can re-add this.

    @olimoli123
    Are you sure you are running the latest version?
     
  21. Offline

    Kane

    @Acrobot I assume you switched b11 to release build?
     
  22. Offline

    olimoli123

    Im running your linked version
     
  23. Offline

    SkayzenoX

    I was wondering if possible to create a taxes on a transaction.

    For example : If i sell a diamond for 100$, the bank take a tax of 15%.

    It's possible with this plugin?

    Sorry for my english but i'm french '.'
     
  24. Offline

    KaLul

    Great Plugin! Thank you sooooo much!
     
  25. Offline

    iZotair

    its not making me destroy the sign
     
  26. Offline

    gyoloco

    how do you remove a shop if i want to break the sign, it says 'shop owner doesent want you to sell here'
     
  27. Offline

    Cactus_Master

    This server is running Craftbukkit version
    mgit-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    This server is also sporting some funky dev build of Bukkit!

    csversion
    2011-08-14 11:02:30 [INFO] ChestShop's version is: 3.0

    I use BOSEconomy; the latest version.

    I also have Simple Server Wrapper for a permissions type thing.

    Anyways, my issue is this: AdminShops don't use the account name I specify. I've tried "$Treasury", "Treasury"; nothing. I even tried to set it to my name and it didn't work.
     
  28. Offline

    ZombiJesus

    Does this plugins work with plugins CommandPermissions!!
     
  29. Offline

    daleisme

    When ever I log in I get this error:

    Code:
    17:22:40 [SEVERE] java.lang.NullPointerException
    17:22:40 [SEVERE]       at sun.misc.FloatingDecimal.readJavaFormatString(Unknown
     Source)
    17:22:40 [SEVERE]       at java.lang.Double.parseDouble(Unknown Source)
    17:22:40 [SEVERE]       at com.carbunkulous.firstSpawn.FirstSpawnWorld.<init>(Fi
    rstSpawnWorld.java:52)
    17:22:40 [SEVERE]       at com.carbunkulous.firstSpawn.FirstJoinPlayerListener.o
    nPlayerJoin(FirstJoinPlayerListener.java:24)
    17:22:40 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:244)
    17:22:40 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    17:22:40 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:332)
    17:22:40 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.c(Ser
    verConfigurationManager.java:124)
    17:22:40 [SEVERE]       at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:97)
    17:22:40 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:33)
    17:22:40 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :91)
    17:22:40 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:451)
    17:22:40 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    17:22:40 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    This stops me from creating any shops yet other people can.
     
  30. Offline

    erdrickk

    I don't think the permission node for creating a shop works.... the sign just keeps popping off
     
  31. Offline

    Xordaii

    Obviously, you didn't read the OP:
    DESTROYING SHOPS
    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)
    Try running the server without some of your other mods? Or change in the config that ChestShop protects its own signs and chests... I had this problem several versions ago and several times, almost everytime it was because another mod (variously LCW or essentials) wanted to protect the signs, or it was a conflict with the plugin that let me attach signs to things by rightclicking. Had to mess around and make sure only this mod had rights to mess with security to the shops and signs.

    I can't remember exactly what I did anymore, but try putting in just your economy, your permissions, and this mod. Then if it works, add in one mod at a time until it stops working. Fiddle with the security settings for signs (permissions to break, write on, etc.) until it works again. You can probably put everything back the way it was after this as you probably found the culprit.​
     

Share This Page