[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

    patey

    very important bug to fix!

    if a player creates a shop, and instead of leaving the first line blank they put somone elses name there, that shop becomes that players. so i could create a shop in a persons name and sell them stuff till they're broke.

    also, is there a function to disable in certain worlds? it works in my creative world - people can sell unlimited items to shops in that world once they create a shop in somone elses name.
     
  3. Offline

    tototo583

    here it is
     

    Attached Files:

  4. Offline

    Acrobot

    @patey
    You can only do that if you are admin (ChestShop.admin) or OP.
    And to disable it, you just need to turn off the permission in that world (read more in your Permission plugin's thread)
    @tototo583
    What group isn't able to use shops? From your groups.yml file, only Newbie is able to buy/sell, Members and Moderators aren't able to use ChestShops.
    Here, I fixed it for you:
    http://dl.dropbox.com/u/11388037/asd/groups.yml
     
  5. Offline

    Abengoshis

    My default users have ChestShop.shop.* and I've told them that to stop people just taking items out of their chests they have to put a block above the chest and use the sign to open it. For some reason they don't have permission to open their chests using the signs, and everyone has access to everyone elses chests unless the person has put a block over their chest. :S
     
  6. Offline

    TooNick

    Got like the same problem as Abengoshis :(
    But al defealt users can't open a shop by clicking on the chests or the sign. It says: You can't buy or You can't sell... They also can't see their money with /iconomy
    Here it says: You do not have the permission, but I did give that group Iconomy.Payment and Chestshop.shop.buy/sell/create. I'm ussing PermissionsBukkit with McMyAdmin
     
  7. Offline

    TooNick

    Never mind, apperently people can buy from each other but not from me (op) why is that?
     
  8. Offline

    ravieralem

    i have created my own server now and the thing is that no matter how i try to set up the permission together with my chetsshop the people on my server can't sell thier items but they can buy them at admin shop (i can sell and buy items as a mod) how come? and ive checked the permission file. all the permissions are correct.
    [edit]
    (if i change the reverse button to true, i can sell but not buy, if i change it to false i can buy but not sell) how come its forgetting one of my mouse buttons, i cant use the left one -.-' please help me
    [edit]
    found the problem, my shops are located at spawn, so cant use the hit button... do you know a way to make it possible to use that button on the spawn area without removing the spawn? if not just say no to this question: and tell me how to set spawn to zero :)
     
  9. Offline

    Escalayer

    Hey i've got a problem
    where do i have to put the permissions?
    everytime i want to make a shop there is "you can't create this typ of shop"
     
  10. Offline

    mineHAVOC

    Bug find:

    (it will be hard to explain so bare with me)

    Someone can make a chest shop on a block like normal,

    Then, if someone puts a chestshop on the same block as the other sign is on, they can destroy the block holding the sign, and then the other persons chestshop is broken.

    I have made a video explaining because its easier. Also, it shows which blocks can and cannot be destroyed and where.
    Half way through it i made a compass to show which was was north/south/east/west

    Its not on all blocks. its only certain combinations. I dont know if its a plugin conflict or not but here is my list of plugins, and the version of CB and CS im using.

    CB version: 1240
    CS version: 3.22
    Plugin list:
    - Towny version: 76.2.0
    - Iconomy5
    - AFKbooter
    - Creeoerheal
    - Permissionsbukkit
    - Questioner
    - Simplespleef
    - Craftbook
    - Xraydetection
    - Automessage
    -AlphaChest
    - MCBans
    - Lockette
    - Spamhammer
    - Buycraft
    - Commandsigns
    - Minequery
    - Fruitful
    - Essentials
    - Votifier
    - Noexp
    - PVPmoney
    - WorldGuard
    - WorldEdit
    - mcMMO
    - mchat


    (sorry for the ticker on the bottom of the video, its from my livecam feed)


    any other things i need just say. Everything else works great :)
     
  11. Offline

    scroopid

    you should make it so you can sell any type of log to the same sign
     
  12. Offline

    tototo583

    o
    only mod+ can create shops but all can buy/sell
     
  13. Offline

    Acrobot

    @Abengoshis
    Sounds like bugged chunk. Can you show me exactly the steps I can do to reproduce it?

    @TooNick
    First thing - the case matters.
    You need ChestShop, not Chestshop.
    (For example, ChestShop.shop.create)

    The 2nd issue sounds like bugged chunk, but what message do users get when trying to buy/sell? It might also be the wrong sign format - can you show me your sign?

    @ravieralem
    Unfortunately, that's spawn - I'll probably fix it by modyfing craftbukkit. For now, you have to disable default spawn protection (if you have any plugin to do this, you don't need to modify them).
    Go to bukkit.yml, change spawn-radius to 0

    @Escalayer
    If you have any permission plugin like (but not only):
    Permissions 2, Permissions 3
    GroupManager (Included in Essentials)
    PermissionsEx (PEX)
    PermissionsBukkit
    bPermissions

    Usually you should see its topic on this forum, there'll be many how-to's.
    Also - remember that the nodes are case-sensitive.

    @mineHAVOC
    First of all - REALLY BIG thank you for documenting this on video.
    This sounds like a specific ChestShop bug, I just need to know one thing - is ZantaClaus an admin or a mod?
    I'll test the issue soon.

    @scroopid
    Yep, that is planned to be in ChestShop 4

    @tototo583
    If you want everyone to be able to create shops, just modify ChestShop.shop.buy to be ChestShop.shop.*

    I'm sorry if I didn't respond to someone. I didn't sleep for 2 days, because I am ill (temperature - 39 C)
    I am not on my PC, so I can't test everything now.
     
  14. Offline

    TooNick

  15. Offline

    Trollkemada

    @Acrobot
    I wrote you some weeks ago (maybe some months) about an error that seems like this :S
    This time with #1185, still Craftbukkit problem? Im about to update, would it solve it?

    Code:
    2011-10-11 15:42:56 [SEVERE] Could not pass event BLOCK_PISTON_RETRACT to ChestShop
    java.lang.StackOverflowError
        at java.lang.System.getProperty(System.java:647)
        at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:67)
        at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:32)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.io.PrintWriter.<init>(PrintWriter.java:78)
        at java.io.PrintWriter.<init>(PrintWriter.java:62)
        at org.bukkit.craftbukkit.util.ShortConsoleLogFormatter.format(ShortConsoleLogFormatter.java:54)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
        at java.util.logging.Logger.log(Logger.java:458)
        at java.util.logging.Logger.doLog(Logger.java:480)
        at java.util.logging.Logger.log(Logger.java:569)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:358)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:488)
        at net.minecraft.server.World.applyPhysics(World.java:465)
        at net.minecraft.server.World.update(World.java:431)
        at net.minecraft.server.World.setData(World.java:373)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:57)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:182)
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:33)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:167)
        at com.Acrobot.ChestShop.Listeners.blockBreak.cancellingBlockBreak(blockBreak.java:22)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:547)
     (...)
    
    Thanks
     
  16. Offline

    NotYetRated

    ChestShop 3.2.3 - Just downlaoded
    CB - 1317

    Getting this error on server boot up.

    Code:
    2011-10-11 14:15:57 [SEVERE] Could not load 'plugins/ChestShop.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: com/Acrobot/ChestShop/ChestShop : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:170)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  17. Offline

    Acrobot

  18. Offline

    NotYetRated

     
  19. Offline

    Acrobot

    @NotYetRated
    Hmm, you surely aren't launching the server with java 7 then, but I fixed the plugin now - should be up in 5 min. (Version 3.24)
     
  20. Offline

    NotYetRated

    Well crap looks like I have some work to do haha. Thank you for inadvertently pointing this out to me and giving me more work to do! haha :). Thanks for the awesome plugin!

    EDIT: Ahh, and how do I know when it is up?

    DOUBLEEDIT: NM did not notice the version # change.
     
  21. Offline

    Acrobot

    @NotYetRated
    Well - it is up for download now :)
    Also - no problem and thanks :)
     
  22. Offline

    RugRats

    Updated to 3.23 and 30 seconds later 3.24 comes out heh.. But it fixed the error I was getting :D
     
  23. Offline

    Acrobot

    @RugRats
    Well, sorry I guess :)
    If 3.23 works for you, you can keep it - it is just compiled so it works with java 6.
     
  24. Offline

    RugRats

    Oh it's completely fine I was going to post that error ^ the one you fixed above and then with 3.24 to find you had fixed it:D
     
  25. Offline

    Acrobot

  26. Offline

    Tito

    Looks like that's 3.22 on the download link.
     
  27. Offline

    Acrobot

  28. Offline

    Tito

    I downloaded from Dropbox and its 3.24. I double checked the post link and its still 3.22. Not sure whats going on there. Thanks!
     
  29. Offline

    mineHAVOC

    @Acrobot No Zantaclaus is not a mod or an OP. neither in minicasani (i made a sign to test with that name in the video)
     
  30. Offline

    Acrobot

    @mineHAVOC
    This issue should be fixed in 3.23 and 3.24, does it work for you?
     
  31. Offline

    Tomtomtom

Share This Page