[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


    An easy way to create shops - no protection plugin needed!
    You don't need to be on-line to earn money anymore!
    I've put a LOT of effort into making this plugin,
    you can donate if you appreciate my effort =)

    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    - 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

    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.

    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/

    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:

    (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:

    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:
    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)

    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)

    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)

    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?

    Changelog (open)

    Changelog can be found on BukkitDev - http://dev.bukkit.org/server-mods/chestshop/files/
  2. Offline


    what is vault? :D
  3. Offline


    Vault is a plugin that links all economy plugins to any other plugin using a general API for other developers to call upon to get the values of the users money. It basically reads Essentials Economy for ChestShop!
  4. Offline


    okay, thanks for the fast answers :)
  5. Offline


    I'm having the same issue mentioned above where, at Admin Shops, players can buy and their money goes down, but when selling their money does not go up. I am using Spoutcraft, Vault, Bukkit's Default Permissions, and iConomy6
  6. Offline


    Well if this is true "B $:S $" then you need to update the OP because it says that the format is "B $:$ S"

    EDIT: Well as far as my tests go this doesn't work either. The server log says that everything is working via messages (using the right numbers for selling money even) but the player's money doesn't ever increase when selling.
  7. Offline


    Sorry I couldn't have been of help. His problem was simply not having vault installed.
    Their money not updating... all I could think of is to remove your preferred to see if it removes the error. Otherwise, Acrobat! Go!
  8. Offline


    a lot of errors with latest release of chestshop with latest bukkit version. pls check.
  9. Offline


  10. Offline


    New partial transaction is awesome! Great work :)
  11. Offline


  12. Offline


    I'm just installed pailstone and am getting this error on creating a new sign with pailstone.
    2012-02-17 20:55:17 [INFO] [PailStone] Maller created a sign of type SENSOR.
    2012-02-17 20:55:17 [SEVERE] Could not pass event org.bukkit.event.block.SignChangeEvent to ChestShop
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1101)
        at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
        ... 10 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at com.Acrobot.ChestShop.Items.Items.getItemStack(Items.java:71)
        at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:36)
        ... 15 more
  13. Offline


    I downgraded my iConomy to 5.0 and I am getting the same result. I might just go to a new system as I don't need the availability for user shops. I just need the Admin Shop function. Anyone know of such a plugin?
  14. Offline


    Hello, It's me again x)
    I have another problem. I have permissionsEX, and I recently installed iConomy. For iConomy work with PermissionsEX, I had to put the permissions.jar that come with PermissionsEX. But since, Chestshop no longer works. As an admin, I can buy things from people, but when people try to buy they do not have permission. Yet here are the permissions of my members (PermissionsEX):
            default: false
            prefix: '[&2Villageois&f]'
            - skillz.check
            - skill.skills.other
            - skillz.skills
            - skillz.skills.other
            - mobarena.classes.*
            - essentials.geoip.show
            - iConomy.payment
            - iConomy.holdings.others
            - MobBounty.commands.mb
            - worldguard.god.everride.regions
            - worldguard.notify
            - iConomy.help
            - iConomy.holdings
            - MobBounty.collect
            - essentials.seen
            - essentials.depth
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.home
            - essentials.sethome
            - essentials.ping
            - essentials.rules
            - essentials.spawn
            - essentials.list
            - essentials.help
            - essentials.motd
            - essentials.rules
            - essentials.msg
            - essentials.helpop
            - essentials.signs.heal.use
            - essentials.signs.free.use
            - essentials.signs.disposal.use
            - essentials.signs.use.warp
            - lwc.protect
            - lwc.blockinventory
            - iConomyChestShop.shop.create
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - factions.join
            - factions.claim
            - factions.disband
            - factions.help
            - factions.home
            - factions.invite
            - factions.kick
            - factions.list
            - factions.map
            - factions.relation
            - factions.sethome
            - factions.unclaim
            - factions.deinvite
            - factions.description
            - factions.title
            - factions.money.balance
            - factions.money.deposit
            - factions.money.withdraw
            - factions.setpeaceful
            - factions.chat
            - -factions.create
            - modifyworld.*
            - essentials.getpos
            - mobarena.classes.*
            - mobarena.arenas.*
            - mobarena.use.*
    Come to my server, you are already come for another problem.

    My plugins:

  15. Offline


    I'm pretty sure you're not using the latest ChestShop

    The permission nodes are NOT
    - iConomyChestShop.shop.create
    - iConomyChestShop.shop.buy
    - iConomyChestShop.shop.sell
    The correct ones:
  16. Offline


    Nice plugin you have your hands on

    :mad: Dead Angels:mad:
  17. Offline


    Oh, Lol :eek:
    Thank you x)
  18. Offline


    I'm am tho. 3.35
    To make sure i redownloaded, and it was 3.35
  19. Offline


    Oh well :/ Java fails at .split method :/
  20. Offline


    - CraftBukkit version (type /version in chat) 1.1 RB
    - ChestShop version (type /csversion in chat) 3.35
    - Your economy plugin (iConomy? BOSEconomy? other one?) iConomy
    - Have you got any Permission plugin? Which one? Permissions EX
    here are my permission nodes and when someone try to buy or sell, or create a shop it says something like thi​
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    - ChestShop.shop.create
  21. Offline


  22. Offline


    Here are the plugins i have....


    What is superperms bridge?
  23. Offline


    What version of PEX?
  24. Offline


    It's a .jar file. Make sure that you aren't running GroupManager/GroupManagerBridge.
    Also - can you post a screenshot of your .jar files?
  25. Offline


    latest version of PEX
  26. Offline


    PEX 1.18 is borked. Gotta use 1.17 w/ most plugins.
  27. Offline



    Here they are
  28. Offline


    I see some "Essential..." .jars
    Can you name them?

    Also, you can try doing what Epics said - PEX 1.17 works fine.
  29. Offline



    and where can i find version 1.17 of PEX?
  30. Offline


  31. Offline


Share This Page