Solved Error when <player> receives damage

Discussion in 'Bukkit Help' started by Rokinscom, Mar 17, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Rokinscom

    Error when <player> receives damage and tries to pass to Essentials Protect.
    Recently I installed Essentials Protect to block lava flow. But after fooling around with the settings of it and configuring it I checked the logs to make sure nothing was going wrong. To my suprise I noticed an error. I examined it, and figured out that it was cause by any <player> receiving damage from another player.
    Code:java
    1. [14:09:10] [Server thread/ERROR]: Could not pass event EntityTargetEvent to EssentialsProtect v2.12.2
    2. org.bukkit.event.EventException
    3. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    4. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    5. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    6. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    7. at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityTargetEvent(CraftEventFactory.java:542) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    8. at net.minecraft.server.v1_7_R1.EntityMonster.damageEntity(EntityMonster.java:54) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    9. at net.minecraft.server.v1_7_R1.EntityArrow.h(EntityArrow.java:228) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    10. at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1338) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    11. at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1319) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    12. at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1207) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    13. at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:480) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    14. at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:637) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    15. at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    16. at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    17. at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    18. at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    19. Caused by: java.lang.NoSuchMethodError: net.ess3.api.IEssentials.getUser(Lorg/bukkit/entity/Player;)Lcom/earth2me/essentials/User;
    20. at com.earth2me.essentials.protect.EssentialsProtectEntityListener.onEntityTarget(EssentialsProtectEntityListener.java:288) ~[?:?]
    21. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
    22. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    23. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
    24. at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
    25. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    26. ... 15 more

    Please tell me how I can fix this problem and notify me if I posted this wrongly, or you have a quick fix.
     
  2. Offline

    Stumblinbear

    It appears to be an error with essentials, make sure it's updated to whatever version of bukkit you have installed.
     
  3. Offline

    Rokinscom

    Well you see, I realize it was essentials. I actually know it was EssentialsProtect to be precise. I am supposed to be using non-dev build for a dev build of essentials?
     
  4. Offline

    lecraeman

    I hate Essentials Protect...

    You said you were using it to stop Lava Flow.

    I suggest you get rid of Essentials Protect and get WorldGuard. It can do all that and a LOT more, but I've never had issues with it.

    If that seems unhelpful tell me xD I will try and solve it, but I've never used Essentials Protect because it causes nothing but issues for me.

    If you're willing to switch. I would do it...
     
  5. Offline

    Necrodoom

    Update all essentials jars to the same version. The error here means it cant access essentials.jar API.

    lecraeman If he is only blocking lava flow, then that would be a big overhead added for just that.
     
  6. Offline

    Rokinscom

    WorldGaurd didn't seem to work before, If I remember correctly. I will give it a try right now. :)

    Edit: Disabled EssentialsProtect and created a region in worldgaurd. Then created a flag for the region to disabled lavaflow. Word perfectly. Thanks :)

    (Marked as Solved)
     
  7. Offline

    lecraeman


    You already had world guard? There's an option in the config to COMPLETELY block it everywhere, but whatever works for you :)
     
  8. Offline

    Rokinscom

    Is there really... OMFG what ever, I got it work. With it now working I am one step closer to opening my server to public. Thanks for your help :)
     
  9. Offline

    lecraeman


    No Problem :)

    If you need any more help tag me in a thread!
     
  10. Offline

    Rokinscom

    of course bro,
    thanks again! :)
     
Thread Status:
Not open for further replies.

Share This Page