Bukkit DeathSpectating 1.4.2

Spectate your killer briefly before respawning, similarily to most FPS games

  1. RoboMWM submitted a new resource:

    DeathSpectating - Spectate your killer briefly before respawning, similarily to most FPS games

    Read more about this resource...
     
  2. Read the first sentence of the overview page.
     
  3. USING Spigot 1.8.8

    [00:22:43 ERROR]: Could not pass event EntityDamageEvent to DeathSpectating v1.0.2
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at com.earth2me.essentials.commands.Commandkill.updatePlayer(Commandkill.java:33) [EssentialsX.jar:?]
    at com.earth2me.essentials.commands.EssentialsLoopCommand.loopOnlinePlayers(EssentialsLoopCommand.java:98) [EssentialsX.jar:?]
    at com.earth2me.essentials.commands.Commandkill.run(Commandkill.java:23) [EssentialsX.jar:?]
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:151) [EssentialsX.jar:?]
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:146) [EssentialsX.jar:?]
    at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:471) [EssentialsX.jar:?]
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:381) [EssentialsX.jar:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_101]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_101]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.PlayerInventory.getItemInMainHand()Lorg/bukkit/inventory/ItemStack;
    at to.us.tf.DeathSpectating.listeners.DamageListener.onPlayerBasicallyWouldBeDead(DamageListener.java:44) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    ... 26 more
    [00:22:47 ERROR]: Could not pass event EntityDamageEvent to DeathSpectating v1.0.2
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:87) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:553) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:539) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:585) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityLiving.d(EntityLiving.java:1102) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityHuman.d(EntityHuman.java:859) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:743) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityHuman.damageEntity(EntityHuman.java:800) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityPlayer.damageEntity(EntityPlayer.java:496) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityLiving.e(EntityLiving.java:939) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityHuman.e(EntityHuman.java:1440) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.Block.fallOn(Block.java:640) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.Entity.a(Entity.java:811) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityLiving.a(EntityLiving.java:160) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.EntityPlayer.a(EntityPlayer.java:621) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:456) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PacketPlayInFlying.a(SourceFile:126) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_101]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_101]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.PlayerInventory.getItemInMainHand()Lorg/bukkit/inventory/ItemStack;
    at to.us.tf.DeathSpectating.listeners.DamageListener.onPlayerBasicallyWouldBeDead(DamageListener.java:44) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    ... 30 more
    >
     
  4. Ah, yea, last update I forgot to check for the totem of undying. But since such an item doesn't exist for 1.8.8, you could go click the version history tab and see if version 1.0 would work for you.
     
  5. Can you copy from your latest.log file next time? That entire error is printed on one single line, making it hard to read : (

    It seems like it's having issues increasing a death statistic because of being killed by... a wither? I can't really tell. Can you try to reproduce this (and with a hopefully nicer-looking stacktrace)?
     
  6. Ah, that's much better. I've implemented a fix, and will push it out soon after I finish up a couple other things to add.
     
  7. This is fantastic! I was trying to find plugin like this for ages. I will try it out on 1.9 SPIGOT asap :D
     
  8. EDIT: Tested, sadly, it not works for older versions. Error:
    [20:49:35 ERROR]: Could not pass event EntityDamageByBlockEvent to DeathSpectating v1.1
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:89) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:487) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:602) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityLiving.damageEntity0(EntityLiving.java:1216) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityHuman.damageEntity0(EntityHuman.java:842) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityLiving.damageEntity(EntityLiving.java:827) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityHuman.damageEntity(EntityHuman.java:766) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityPlayer.damageEntity(EntityPlayer.java:495) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.Entity.burnFromLava(Entity.java:409) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.Entity.U(Entity.java:380) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityLiving.U(EntityLiving.java:183) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.Entity.m(Entity.java:301) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityLiving.m(EntityLiving.java:1711) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityHuman.m(EntityHuman.java:143) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.EntityPlayer.k_(EntityPlayer.java:242) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.PlayerConnection.c(PlayerConnection.java:138) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.NetworkManager.a(NetworkManager.java:233) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.ServerConnection.c(ServerConnection.java:140) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:825) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    Caused by: java.lang.NoSuchFieldError: TOTEM
    at to.us.tf.DeathSpectating.listeners.DamageListener.onPlayerBasicallyWouldBeDead(DamageListener.java:44) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[craftbukkit.jar:git-Spigot-c6871e2-0cd0397]
    ... 26 more
     
  9. try version 1.0 where I forgot to account for the totem.
    I might make this a configurable feature.
     
  10. Ok, thank you.
     
  11. Last version modified something. I use Feudal plugin, so when you die inside your kingdom you don't lose the items. Previous version was working good, but with the last update, your items disappear after dying, so I had to deactivate the plugin, as people were losing everything. Would you pls. check it?

    Thanks!
     
  12. Odd, I haven't changed any of that logic. What version were you last using?
     

Share This Page