Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error Message
- 10:39:02 [SEVERE] Could not pass event PlayerInteractEvent to Loot
- org.bukkit.event.EventException
- at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
- at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
- at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
- at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
- at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
- at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:355)
- at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:649)
- at net.minecraft.server.Packet15Place.handle(SourceFile:58)
- at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
- at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
- at net.minecraft.server.ServerConnection.b(SourceFile:35)
- at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
- at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
- at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
- at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
- at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
- at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
- Caused by: java.lang.NumberFormatException: For input string: "false"
- at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
- at java.lang.Integer.parseInt(Integer.java:449)
- at java.lang.Integer.valueOf(Integer.java:554)
- at me.kmacho.bukkit.loot.LootListener.getRandom(LootListener.java:425)
- at me.kmacho.bukkit.loot.LootListener.getContents(LootListener.java:275)
- at me.kmacho.bukkit.loot.LootListener.fillChest(LootListener.java:239)
- at me.kmacho.bukkit.loot.LootListener.onPlayerInteract(LootListener.java:161)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
- ... 16 more
- >
- My config
- #===========================================================================#
- # Name: Loot #
- # Author: Kmacho #
- # #
- # Instructions: #
- # Here is where you set up the different types of item lists. #
- # I set up an example below that you can easily modify. #
- # Now, onto the important stuff: #
- # #
- # ListName: #
- # inheritance: OtherListName #
- # detailed: true/false #
- # #
- # ListName - The name of this list(used in the second line of a sign) #
- # inheritance - Will inherit the items from the list OtherListname #
- # #
- # detailed - Set this to true if you want to specify certain properties #
- # of the items on that list. Know that this will make the config a #
- # lot longer, but will enable you to customize to your liking. #
- # #
- # Detailed format: #
- # items: #
- # ItemNameOrId: #
- # spawn: chance,min-max #
- # effects: #
- # - NameOfEffect,Min-Max Lvl,Chance,Splash,Extend #
- # #
- # Undetailed format: #
- # items: #
- # - ItemNameOrId,min-max,chance,randomEffect #
- # #
- # ItemNameOrId - Name or ID of the item #
- # effects - Effects that could be applied to the item #
- # min - Minimum amount to appear if it passes the chance check #
- # max - Maximum amount to appear if it passes the chance check #
- # chance - The percent chance to appear at all #
- # randomEffect - add a random enchantment/potion effect(defaults to true) #
- # splash - Makes the potion throwable(only applies to potions) #
- # extend - Extends the duration of the effect(only applies to potions) #
- # #
- # You can also set up per-world loot chests. When a chest is opened and #
- # does not have a loot sign under it, it checks if the world is on this #
- # list. If it is, it will choose a random list of that world and be set #
- # to respawn in the amout of time set on the world. #
- # #
- # worlds: #
- # NameOfWorld: #
- # time: Minutes #
- # lists: #
- # - NameOfList #
- #===========================================================================#
- settings:
- enable_command_permissions: true
- enable_list_permissions: true
- enable_sign_permissions: true
- worlds:
- worldname:
- time: 10
- lists:
- - common
- common:
- detailed: false
- items:
- - iron_sword,1,40,false
- - diamond_sword,1,10,false
- - 345,1,35,false
- - 357,1,3,10,50,false
- - 373:8229,1,4,50,false
- - 373:8233,1,50,false
- - 261,1,30,false
- - 262,1,25,40,false
- - 298,1,30,false
- - 299,1,30,false
- - 300,1,30,false
- - 301,1,30,false
- - 305,1,10,false
- - 306,1,10,false
- - 307,1,10,false
- - 308,1,10,false
- - 309,1,10,false
- - 310,1,5,false
- - 311,1,2,false
- - 312,1,2,false
- - 313,1,5,false
- - bread,1,5,70,false
Advertisement
Add Comment
Please, Sign In to add comment