[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

    @klausenbusk
    PM me your teamViewer details, please :3
     
  3. Offline

    klausenbusk

    How? :)
    Edit: I found it :)
     
  4. Offline

    christley

    @Acrobot i cant seem to get the shops working at all. or cant i buy from myself? im admin so i have all permissions.
     
  5. Offline

    bibsch

    19:59:59 [SEVERE] Could not pass event SIGN_CHANGE to ChestShop
    java.lang.NullPointerException
    at com.Acrobot.ChestShop.Items.DataValue.get(DataValue.java:19)
    at com.Acrobot.ChestShop.Items.Items.getItemStack(Items.java:46)
    at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:34)
    at org.bukkit.plugin.java.JavaPluginLoader$31.execute(JavaPluginLoader.java:454)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:986)
    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:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  6. Offline

    bibsch

    20:06:55 [SEVERE] Could not pass event PLAYER_INTERACT to ChestShop
    java.lang.NullPointerException
    at com.Acrobot.ChestShop.Items.DataValue.get(DataValue.java:19)
    at com.Acrobot.ChestShop.Items.Items.getItemStack(Items.java:46)
    at com.Acrobot.ChestShop.Shop.ShopManagement.buy(ShopManagement.java:16)
    at com.Acrobot.ChestShop.Listeners.playerInteract.onPlayerInteract(playerInteract.java:101)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:212)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:550)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  7. Offline

    Salax

    Regular users aren't able to make shops. I'm running v2.75 on CB 818, Permissions 2.7x.

    Permissions file:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mywarp.warp.basic.warp'
                - 'mywarp.warp.basic.list'
                - 'myhome.home.*'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.bank.*'
                - 'lwc.protect'
                - 'sendgift.send'
                - 'travelportals.*'
                - 'commandbook.say*'
                - 'commandbook.msg'
                - 'commandbook.spawn'
                - 'commandbook.who'
                - 'creaturebox.*'
                - '-creaturebox.give'
                - 'towny.*'
                - '-towny.admin'
                - 'turnstile.*'
                - 'turnstile.admin.*'
                - 'warp.*'
                - '-warp.admin.*'
                - '-warp.limit*'
                - '-warp.prices.*'
                - '-warp.edit.creator'
                - 'jobs.job.*'
                - 'petition'
                - 'iConomyChestShop.shop*'
                - 'iConomyChestShop.shop.*'
     
  8. Offline

    Acrobot

    @Salax
    Yeah... Other person just has had this problem, that's probably Permissions bug.

    @christley
    It should say "You can't buy/sell from yourself!"

    @bibsch
    You aren't using the newest version, please re-download.
     
  9. Offline

    Salax

    Not to be a jerk or anything, but I really doubt this is a permissions bug considering the hundreds of other plugins that work fine.
     
  10. Offline

    Acrobot

    @Salax
    You're right, but I've tested it by myself (Copied your Permissions into my file) and it worked fine :/
     
  11. Offline

    yottabyte

    What do I put in howLongToStoreInformationInDB if I want to store it forever?
     
  12. Offline

    Acrobot

    @yottabyte
    Something like 2147483647 - that's max for signed int.
     
  13. Offline

    christley

    @Acrobot
    well then i have a problem. ive put
    1
    1:1
    COBBLESTONE (or if i enter the id for cobble, it says this too)

    and then i right click the sign and it takes me to the chest. then i place some cobble in the chest and redo it all, but then i take it out.

    or should i put shit in before writing the sign?
     
  14. Offline

    RustyDagger

    FYI plugin still tosses a big bunch of could not pass errors when Iconomy disables its self due to having no mysql connection :/ i hate testing on my local server for this reason it makes finding other non iconomy related problems much harder cause the console is spammed with helpless junk. I guess theres no way to stop it spamming the could not pass errors Not even a catch or some thing? then print 1 line saying its disabled..
     
  15. Offline

    Donny

    beta 3. Some players are unable to open a chestshop that is theirs from v 2.7
     
  16.  
  17. Offline

    Kainzo

    @Acrobot

    "T5|Airbus101 - Kainzo I figured out why it was locking me out of the chest its a bug where diagonal chest shops so I added and made one a double and it now allows me to place a sign just need a tester to test it..."
     
  18. Offline

    Thebuilderdd

    What do you mean? I am new to the Permissions plugin.
     
  19. Offline

    Donny

    Beta 3.0
    Code:
    2011-06-18 06:06:16 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-18 06:06:22 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-18 06:06:22 [SEVERE] Could not pass event PLAYER_INTERACT to ChestShop
    java.lang.NullPointerException
        at com.Acrobot.ChestShop.Shop.Shop.stockFitsChest(Shop.java:174)
        at com.Acrobot.ChestShop.Shop.Shop.sell(Shop.java:109)
        at com.Acrobot.ChestShop.Shop.ShopManagement.sell(ShopManagement.java:25)
        at com.Acrobot.ChestShop.Listeners.playerInteract.onPlayerInteract(playerInteract.java:103)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:455)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-18 06:06:24 [INFO] [xAuth] Player 'rayesoh2' has authenticated
    2011-06-18 06:06:25 [SEVERE] Could not pass event PLAYER_INTERACT to ChestShop
    java.lang.NullPointerException
        at com.Acrobot.ChestShop.Shop.Shop.stockFitsChest(Shop.java:174)
        at com.Acrobot.ChestShop.Shop.Shop.sell(Shop.java:109)
        at com.Acrobot.ChestShop.Shop.ShopManagement.sell(ShopManagement.java:25)
        at com.Acrobot.ChestShop.Listeners.playerInteract.onPlayerInteract(playerInteract.java:103)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:455)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-18 06:06:25 [SEVERE] Could not pass event PLAYER_INTERACT to ChestShop
    java.lang.NullPointerException
        at com.Acrobot.ChestShop.Shop.Shop.stockFitsChest(Shop.java:174)
        at com.Acrobot.ChestShop.Shop.Shop.sell(Shop.java:109)
        at com.Acrobot.ChestShop.Shop.ShopManagement.sell(ShopManagement.java:25)
        at com.Acrobot.ChestShop.Listeners.playerInteract.onPlayerInteract(playerInteract.java:103)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:455)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-18 06:06:25 [SEVERE] Could not pass event PLAYER_INTERACT to ChestShop
    java.lang.NullPointerException
        at com.Acrobot.ChestShop.Shop.Shop.stockFitsChest(Shop.java:174)
        at com.Acrobot.ChestShop.Shop.Shop.sell(Shop.java:109)
        at com.Acrobot.ChestShop.Shop.ShopManagement.sell(ShopManagement.java:25)
        at com.Acrobot.ChestShop.Listeners.playerInteract.onPlayerInteract(playerInteract.java:103)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:455)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-18 06:06:26 [SEVERE] Could not pass event PLAYER_INTERACT to ChestShop
    java.lang.NullPointerException
        at com.Acrobot.ChestShop.Shop.Shop.stockFitsChest(Shop.java:174)
        at com.Acrobot.ChestShop.Shop.Shop.sell(Shop.java:109)
        at com.Acrobot.ChestShop.Shop.ShopManagement.sell(ShopManagement.java:25)
        at com.Acrobot.ChestShop.Listeners.playerInteract.onPlayerInteract(playerInteract.java:103)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:455)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  20. Offline

    Jaker232

    I've made a video while back, but it was laggy and choppy, but if you still want it, I'll PM you it.
     
  21. Using Following Versions
    CraftBukkit: 890
    LWC: 3.11
    iConomy: 5.0.1
    ChestShop: 3.0 Beta 3
    Having LWC for Chestprotection in ChestShop activated.

    I get an error in the server log when I create a sign:
    Code:
    2011-06-18 08:57:59 [SEVERE] Could not pass event SIGN_CHANGE to ChestShop
    java.lang.NullPointerException
        at com.Acrobot.ChestShop.Listeners.signChange.onSignChange(signChange.java:124)
        at org.bukkit.plugin.java.JavaPluginLoader$31.execute(JavaPluginLoader.java:454)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:998)
        at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:433)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:343)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    The sign has the following informations:
    Code:
    Line1: Admin Shop
    Line2: 64
    Line3: 20:10
    Line4: Stone
     
  22. Offline

    extracharged

    im using permissions, but everytime i try to create a shop, permissions says "you cant make a shop without permissions!" or something like tht. help please?
     
  23. Offline

    Acrobot

    @Donny
    Wow, it is here again :/
    Somehow, "stock" is null, and there is no way for it :/

    What is on your sign?

    @extracharged
    What is your Permissions file?

    @Madic
    Seems like either Config is null or LWC is null, gonna check that, thanks!
    EDIT: Check if you have plugins/ChestShop/config.yml, please
    EDIT2: This may be caused by CB690, which is not RB
     
  24. Offline

    Donny

    Not sure which shop it was, wasn't at the location. Also players cant delete their shop (did the permissions change between 2.7 and 3.0?) as well as if they delete the block the shop was on it removes the sign, but if they try t create another shop there it wont let them.

    another thing, I put my output folder for chest stats to "/var/www/chestshop/website.html", I set 'create stats page: true' and it isnt filling that folder with anything.
     
  25. Offline

    yottabyte

    What format is "sec" saved in in the database? Can't be milliseconds since 1970, that gives me January 15th 1970 when converting to date...

    Reason I'm asking is because I'm making a PHP chart of item costs and such.
     
  26. Offline

    Acrobot

    @yottabyte
    System.currentTimeMillis() / 1000
    System.currentTimeMilis() returns "the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC."

    @Donny
    Yeah, Permissions changed, but just
    from iConomyChestShop.
    to ChestShop.
    And what do you mean "can't delete", "won't let them"?
    To delete the shop, player should sneak and destroy the sign, etc.

    Also, for the HTTP - I am not sure, it works with default location, try it. Also, do you have the HTML folder?
     
  27. Offline

    jonassm

    My won't work.
    Error:
    15:28:31 [SEVERE] Could not load 'plugins\iConomyChestShop.jar' in folder 'plugi
    ns':
    java.lang.ExceptionInInitializerError
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:175)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:174)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Error
    constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory
    at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFac
    tory.java:114)
    at com.avaje.ebean.EbeanServerFactory.<clinit>(EbeanServerFactory.java:5
    7)
    ... 10 more
    Caused by: java.lang.IllegalArgumentException: Error constructing com.avaje.ebea
    ninternal.server.core.DefaultServerFactory
    at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:107)

    at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:94)
    at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFac
    tory.java:112)
    ... 11 more
    Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: D:\F├ÿR FU
    LD SURVIVAL\craftbukkit-0.0.1-SNAPSHOT.jar (Den angivne sti blev ikke fundet)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigL
    oader.java:121)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.load(XmlConfigLoa
    der.java:78)
    at com.avaje.ebeaninternal.server.core.DefaultServerFactory.<init>(Defau
    ltServerFactory.java:91)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:104)

    ... 13 more
    Caused by: java.io.FileNotFoundException: D:\F├ÿR FULD SURVIVAL\craftbukkit-0.0.
    1-SNAPSHOT.jar (Den angivne sti blev ikke fundet)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.checkJar(XmlConfi
    gLoader.java:176)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigL
    oader.java:110)
    ... 22 more
     
  28. Offline

    Acrobot

    @jonassm
    Please rename your server folder, from "F├ÿR FULD SURVIVAL" to something without special characters, like "FULD SURVIVAL"
     
  29. Offline

    jonassm

    Thx. That's why i had soo many problems with my plugins recently.
     
  30. The problem is unrelated to the Revision.
    It also occurs with CraftBukkit 860, too.

    Edit 1:
    I've the mentioned config file.
    My protection is configured like this:
    Code:
    USE_BUILT_IN_PROTECTION: false               #Do you want to use built-in protection?
    PROTECT_CHEST_WITH_LWC: true               #Do you want to protect shop chests with LWC?
    PROTECT_SIGN_WITH_LWC: true               #Do you want to protect shop signs with LWC?
     
  31. Offline

    Acrobot

    @Madic
    Could you try it with PROTECT_SIGN_WITH_LWC set to false?
     

Share This Page