[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

    @_AMPLiFY
    I guess it should be compatible. I'll try it with CB1118 now.
    EDIT: Works.
     
  3. Offline

    Em3rgency

    I have the same problem as Stealthy_Man. When I create an admin shop people can't sell to it, they instead end up just trying to hit the sign. As an admin I can buy/sell and player-to-player shops work perfectly. My permission nodes are copy pasted as follows:

    - ChestShop.shop.buy
    - ChestShop.shop.create
    - ChestShop.shop.sell

    EDIT: After adding the ChestShop.shop.use tag (or maybe the new bukkit-dev build helped, I don't know), now SOME admin shops are usable. If a sign existed in a spot when the shops were still broken, any other signs I add will be broken. If I go to a completely new place where there were no sign shops before, admin shops work correctly for all players. Please advise.
     
  4. Offline

    Acrobot

    @Em3rgency
    Nope, the ChestShop.shop.use is totally unrelated, you need to go to bukkit.yml and change spawn-radius to 0.
     
  5. Offline

    mineHAVOC


    just tried this with #1124 build, and nothing else (well minequery), doesnt get past

    Code:
    15:44:15 [INFO] Starting minecraft server version Beta 1.8.1
    15:44:15 [INFO] Loading properties
    15:44:15 [INFO] Starting Minecraft server on *:25565
    15:44:15 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1020-gb412283-b1124jnks (MC: 1.8.1)
    15:44:15 [INFO] Starting Minequery server on *:25566
    15:44:15 [INFO] Preparing level "minehavoc"
    15:44:15 [INFO] Default game type: 0
    15:44:15 [INFO] Preparing start region for level 0 (Seed: 5348461602705940480)
    15:44:16 [INFO] [ChestShop] version 3.03 initialized!
    >
    then, cant do anything, it just hangs. have to force stop the server
     
  6. Offline

    Acrobot

    @mineHAVOC
    Probably some other plugin hangs at start-up, I found that iConomy does that sometimes. Try turning it on without iConomy (just for test), and tell me if it still hangs.
     
  7. Offline

    mineHAVOC

    turns out im an idiot, i was still using 3.03 instead of the newest version.even tho i swore i updated it.

    3.12 works.
     
  8. Offline

    Acrobot

    @mineHAVOC
    Ah, it's no problem. Since 3.10, I've changed the loading method - faster and better :)
     
  9. Offline

    ksn

    Hey, i got a problem.
    When i created a shop just like you did i get this message: ''iconomy you cant create this type of shop''

    What am i doing wrong? Please answer asap.

    Im using 3.12
     
  10. Offline

    Lakloplak

    I made a translation in Dutch:
    Code:
    prefix: "&a[Shop] &f"
    iteminfo: "&aItem Information:&f"
    ACCESS_DENIED: "Toegang geweigerd!"
    NOT_ENOUGH_MONEY: "Je hebt niet genoeg geld."
    NOT_ENOUGH_MONEY_SHOP: "%seller heeft niet genoeg geld"
    NO_BUYING_HERE: "Je kan hier niet kopen!"
    NO_SELLING_HERE: "Je kan hier niet verkopen!"
    NOT_ENOUGH_SPACE_IN_INVENTORY: "Je hebt niet genoeg ruimte in je inventory!"
    NOT_ENOUGH_SPACE_IN_CHEST: "Er is niet genoeg ruimte in de kist!"
    NOT_ENOUGH_ITEMS_TO_SELL: "Je hebt niet genoeg artikelen om te verkopen!"
    NOT_ENOUGH_STOCK: "Uitverkocht."
    NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "je %material winkel is uitverkocht!"
    YOU_BOUGHT_FROM_SHOP: "Je hebt %amount %item van %owner gekocht voor %price."
    SOMEBODY_BOUGHT_FROM_YOUR_SHOP: "%buyer heeft %amount %item van je gekocht voor %price."
    YOU_SOLD_TO_SHOP: "Je hebt %amount %item aan %buyer verkocht voor %price."
    SOMEBODY_SOLD_TO_YOUR_SHOP: "%seller heeft %amount %item voor %price aan jou verkocht."
    YOU_CANNOT_CREATE_SHOP: "Je kan hier geen winkel van maken!"
    NO_CHEST_DETECTED: "Waar is de kist?"
    ANOTHER_SHOP_DETECTED: "Een andere winkel gedetecteerd!"
    CANNOT_ACCESS_THE_CHEST: "Je hebt niet de bevoegdheid om die kist te openen!"
    PROTECTED_SHOP: "Winkel beveiligd met LWC!"
    SHOP_CREATED: "De winkel is gemaakt!"
    NO_PERMISSION: "Je bent niet bevoegd om dat te doen!"
    INCORRECT_ITEM_ID: "Verkeerd item ID!"
     

    Attached Files:

  11. Offline

    Acrobot

    @Lakloplak
    Thanks :)

    @ksn
    You don't have ChestShop.shop.create permission.
     
  12. Offline

    monir

    I get this error sometimes what does it mean?

    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to ChestShop
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to dynmap
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to ChestShop
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to dynmap
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to ChestShop
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to dynmap
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to ChestShop
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to dynmap
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to ChestShop
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to dynmap
    18.09 17:25:37 [Server] INFO java.lang.ClassCastException
    18.09 17:25:37 [Server] SEVERE Could not pass event BLOCK_PISTON_RETRACT to ChestShop
     
  13. Offline

    Acrobot

    @monir
    What version are you using? I thought I fixed it in last one.
     
  14. Offline

    monir

    I used 3.0.4 i uppdated to latest now it works great
    Thank you
     
  15. Offline

    michigan1013

    My admin shop works fine but if i try to set up a chest shop then i get an internal exception: string length longer then allowed or something along that. running bukkit 1149(dev for 1.8.1) and i have essentials and permissionsEx
     
  16. Offline

    darkcloud784

    Error message when using Odditems 1.7.3 and Build 1149

    http://pastebin.com/xSMPp639

    The error message was way too long to post on the forums.

    Error When not using odditems and build 1149 (1.8.1 version)

    Code:
    2011-09-19 15:58:21 [SEVERE] Could not pass event SIGN_CHANGE to ChestShop
    java.lang.IncompatibleClassChangeError: Expected static method info.somethingodd.bukkit.OddItem.OddItem.getItemStack(Ljava/lang/String;)Lorg/bukkit/inventory/ItemStack;
        at com.Acrobot.ChestShop.Items.Odd.returnItemStack(Odd.java:18)
        at com.Acrobot.ChestShop.Items.Items.getFromOddItem(Items.java:42)
        at com.Acrobot.ChestShop.Items.Items.getItemStack(Items.java:32)
        at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:38)
        at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:476)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1035)
        at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:91)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    Edit: I'm using version 3.12 of ChestShop.
     
  17. Offline

    Acrobot

    @michigan1013
    That sounds like CraftBukkit's issue, what are you writing on the sign?

    @darkcloud784
    Oh, it seems like I compiled it agains OddItem 0.7.4.
    If you don't use other plugins that use OddItem, please try installing this:
    http://dev.bukkit.org/server-mods/odditem/files/4-odd-item-0-7-4/
    (BACKUP YOUR OLD ODDITEM DIRECTORY!)
    Tell me if it works.
    If you use other plugins that use OddItem, or don't want to install the OddItem beta, I'll compile it against OddItem 0.7.3 then :)
     
  18. Offline

    michigan1013

    i write the normal things to make a chest shop

    my name
    # of items
    B 10:5 S
    item

    it used to work just doesnt now. it might be since its a dev build of bukkit
     
  19. Any errors in console?
    Any chat messages when you place the sign?
    Sure installed right permissions to your group?
    I would say either the text is wrong or plugin isn't installed/running.

    1st line: You don't need to write name on the sign.
    2nd line (try with): 1
    3rd line: 10:5
    4th line (id/name of any item): stone

    If this text doesn't work then INSTALL CHESTSHOP PROPERLY!
     
  20. Offline

    darkcloud784

    It gives me an error when using odditem 0.7.4. OddItem wont even enable properly, but I cant even get chestshop to work WITHOUT odditem (see previous post for error message).

    OddItem 0.7.4 error. This is with just sticking the jar into my plugins folder without the previous odditem directory.

    Code:
    2011-09-20 04:42:16 [SEVERE] Error occurred while enabling OddItem v0.7.4 (Is it up to date?): while scanning for the next token; found character     '\t' that cannot start any token
    while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 8, column 1:
            sample:
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:82)
        at info.somethingodd.bukkit.OddItem.OddItem.configure(OddItem.java:109)
        at info.somethingodd.bukkit.OddItem.OddItem.onEnable(OddItem.java:326)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:892)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
        at org.bukkit.Bukkit.reload(Bukkit.java:173)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  21. Offline

    Acrobot

    @darkcloud784
    OddItem config file is broken - you have tabulator in it - it generated improperly.
    (Line 8)
    You should use 4 spaces instead, just delete the tabulator.

    @VADemon
    Nope, "String length longer than allowed" means that it tried to place too much on the sign. My plugin doesn't let that happen, yet it still does show up - I guess it's CB bug.
     
  22. Offline

    darkcloud784

    Yea see thats what I thought too but then I replace all the tabs with 4 spaces and I get this error:
    Code:
    2011-09-20 04:36:46 [SEVERE] Error occurred while enabling OddItem v0.7.4 (Is it up to date?): org/apache/commons/codec/EncoderException
    java.lang.NoClassDefFoundError: org/apache/commons/codec/EncoderException
        at info.somethingodd.bukkit.OddItem.bktree.BKTree.<init>(BKTree.java:42)
        at info.somethingodd.bukkit.OddItem.OddItem.configure(OddItem.java:125)
        at info.somethingodd.bukkit.OddItem.OddItem.onEnable(OddItem.java:326)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:892)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
        at org.bukkit.Bukkit.reload(Bukkit.java:173)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.EncoderException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        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:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 18 more
     
  23. Offline

    Acrobot

  24. Is there a way to set max shops by group or am I missing something?
    If not, could this be added?
     
  25. Offline

    Acrobot

    @Alpha52
    Not exactly :/
    I use no database to store information about shops - that means that any map is easily movable to other server. This also means that I have no way to check how many shops has anyone placed :/
     
  26. Offline

    darkcloud784


    Thx for recompiling it for me but I think oddItems is just broken for bukkit build 1149.

    Code:
    2011-09-20 07:15:40 [SEVERE] Error occurred while enabling OddItem v0.7.3.1 (Is it up to date?): null
    java.lang.NullPointerException
    	at info.somethingodd.bukkit.OddItem.OddItem.configure(OddItem.java:105)
    	at info.somethingodd.bukkit.OddItem.OddItem.onEnable(OddItem.java:323)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:892)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    	at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
    	at org.bukkit.Bukkit.reload(Bukkit.java:173)
    	at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
    	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    Without even having odditem enabled chestshop doesnt function properly because I get this error.

    Code:
    2011-09-19 15:58:21 [SEVERE] Could not pass event SIGN_CHANGE to ChestShop
    java.lang.IncompatibleClassChangeError: Expected static method info.somethingodd.bukkit.OddItem.OddItem.getItemStack(Ljava/lang/String;)Lorg/bukkit/inventory/ItemStack;
        at com.Acrobot.ChestShop.Items.Odd.returnItemStack(Odd.java:18)
        at com.Acrobot.ChestShop.Items.Items.getFromOddItem(Items.java:42)
        at com.Acrobot.ChestShop.Items.Items.getItemStack(Items.java:32)
        at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:38)
        at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:476)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1035)
        at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:91)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    EDIT: Nevermind I got odditem to enable without errors. stupid config didn't get placed in the proper folder.
     
  27. If you use LWC you could limit protections of everything (or only chest/signs) for groups/players.
    ..\plugins\LWC\limits.yml
     
  28. Offline

    LlmDl

    @Acrobot what's the best way to start a conversation with you? I'm in the towny IRC most of the time, there's something I'd like to chat with you about.
     
  29. Offline

    Acrobot

  30. Offline

    AndyFox42

    Forgive me if this has been asked, but this thread is 150+ pages and I can't find it. I am finding that my chests fill up extremely quickly, preventing people from selling to me any more. I am running a central server "Pawn Shop" where users can sell me all the stuff they have accumulated (dirt, cobble, etc.) Since my server is big and busy, the chests fill up in no time. This is an admin shop. Is it possible to make their sold items just vanish rather than go into the chest, so the system wont need constant upkeep to stay working? My first line is marked "Pawn Shop" which is what I specified as my admin shop, but this still happens. Thanks.
     
  31. Offline

    BadDog

    Hello there, I really like your plugin, and it's a nice addition on our server.

    I have some questions though:

    . Could you post on GitHub the original config files, without any modification please? I let some versions pass and now that I updated, I noticed some things had changed (reverseButtons: true became REVERSE_BUTTONS: true, for example). Unfortunately, this link doesn't cover everything (like, the new config files). That would be really useful because, I can't seem to make "REVERSE_BUTTONS", "SERVER_ECONOMY_ACCOUNT" work.

    . Secondly, if I set spawn-radius to 0, will this be a problem with other plugins, or will that cause a strange behaviour for the spawn? (I never really got what was this spawn-radius value, is it spawn protection for the players?).

    Some other thoughts: our players always felt like reversing buttons is needed. Indeed, on the sign, it's Buy (on the left of the sign) / Sell (on the right), so buying with a left click, and selling with a right click seems more natural it seems. A list of commands would be nice too (in the OP or on GitHub), if there are more commands than just /csversion.
    Thanks a lot for your time, your plugin, and your helping us!
     

Share This Page