cnaude / Scavenger

Fork of Scavenger originally created by SirHedgehog
MIT License
8 stars 6 forks source link

No items recovery #22

Closed Superdarco closed 3 years ago

Superdarco commented 8 years ago

Hi, sorry for my bad english, but in my server the users die for any thing and the plugin not recovery the items, i use spigot 1.8, but I tried it on craftbukkit 1.8 and nothing happens, in the console say this:

[16:55:37] [Server thread/ERROR]: Could not pass event PlayerDeathEvent to Scavenger v1.7-2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:382) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityPlayer.die(EntityPlayer.java:417) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:811) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityHuman.damageEntity(EntityHuman.java:800) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityPlayer.damageEntity(EntityPlayer.java:496) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityLiving.e(EntityLiving.java:938) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityHuman.e(EntityHuman.java:1440) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.Block.a(Block.java:640) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.Entity.a(Entity.java:810) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityLiving.a(EntityLiving.java:160) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityPlayer.a(EntityPlayer.java:621) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:455) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PacketPlayInFlying.a(SourceFile:126) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73] at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at java.lang.Thread.run(Unknown Source) [?:1.8.0_73] Caused by: java.lang.NoSuchMethodError: com.onarandombox.multiverseinventories.api.GroupManager.hasGroup(Ljava/lang/String;)Z at com.cnaude.scavenger.RestorationManager.getWorldGroups(RestorationManager.java:840) ~[?:?] at com.cnaude.scavenger.RestorationManager.hasRestoration(RestorationManager.java:198) ~[?:?] at com.cnaude.scavenger.RestorationManager.collect(RestorationManager.java:365) ~[?:?] at com.cnaude.scavenger.ScavengerEventListenerOnline.onPlayerDeathEvent(ScavengerEventListenerOnline.java:59) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot_server.jar:git-Spigot-f928e7a-e91aed8] ... 26 more [16:55:37] [Server thread/INFO]: Superdarco fell from a high place

and if you occupy the debug mode message here it is:

[16:56:37] [Server thread/INFO]: [Scavenger] [DEBUG] Player teleport Superdarco [16:56:37] [Server thread/INFO]: [Scavenger] [DEBUG] Delayed restore for Superdarco called before previous completed. Aborting. [16:56:41] [Server thread/INFO]: [Scavenger] [DEBUG] [isScavengeAllowed]: Player: CraftPlayer{name=Superdarco} World: world DamageCause: FALL [16:56:41] [Server thread/INFO]: [Scavenger] [DEBUG] [isScavengeAllowed]: Region ID: spawn [16:56:41] [Server thread/INFO]: [Scavenger] [DEBUG] [isScavengeAllowed]: Superdarco : scavenger.scavenge : true [16:56:41] [Server thread/INFO]: [Scavenger] [DEBUG] Checking region support for 'world' [16:56:41] [Server thread/ERROR]: Could not pass event PlayerDeathEvent to Scavenger v1.7-2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:382) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityPlayer.die(EntityPlayer.java:417) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:811) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityHuman.damageEntity(EntityHuman.java:800) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityPlayer.damageEntity(EntityPlayer.java:496) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityLiving.e(EntityLiving.java:938) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityHuman.e(EntityHuman.java:1440) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.Block.a(Block.java:640) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.Entity.a(Entity.java:810) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityLiving.a(EntityLiving.java:160) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.EntityPlayer.a(EntityPlayer.java:621) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:455) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PacketPlayInFlying.a(SourceFile:126) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73] at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot_server.jar:git-Spigot-f928e7a-e91aed8] at java.lang.Thread.run(Unknown Source) [?:1.8.0_73] Caused by: java.lang.NoSuchMethodError: com.onarandombox.multiverseinventories.api.GroupManager.hasGroup(Ljava/lang/String;)Z at com.cnaude.scavenger.RestorationManager.getWorldGroups(RestorationManager.java:840) ~[?:?] at com.cnaude.scavenger.RestorationManager.hasRestoration(RestorationManager.java:198) ~[?:?] at com.cnaude.scavenger.RestorationManager.collect(RestorationManager.java:365) ~[?:?] at com.cnaude.scavenger.ScavengerEventListenerOnline.onPlayerDeathEvent(ScavengerEventListenerOnline.java:59) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot_server.jar:git-Spigot-f928e7a-e91aed8] ... 26 more [16:56:41] [Server thread/INFO]: Superdarco fell from a high place [16:56:45] [Server thread/INFO]: [Scavenger] [DEBUG] Player respawn Superdarco [16:56:45] [Server thread/INFO]: [Scavenger] [DEBUG] Delayed restore for Superdarco called before previous completed. Aborting.

I hope you can find a solution, thanks.

cnaude commented 8 years ago

What version of Multiverse-Inventories are you running?

cnaude commented 8 years ago

Please also try this version of Scavenger: https://h.cnaude.org/jenkins/job/Scavenger/6/

Superdarco commented 8 years ago

the version of the multiverse-inv is 2.5-b335

Superdarco commented 8 years ago

and I see with this version you passed me, tomorrow

cnaude commented 8 years ago

That is a very old version of Multiverse-Inventories, I recommend 2.5-b408 (http://ci.onarandombox.com/job/Multiverse-Inventories/408/)