Spigot Animal Hunt (Animal Corpses) 1.0.4

Adds animal corpses that can be gutted/butchered

  1. [​IMG]
     
    #1 Dexuby, Jan 19, 2020
    Last edited: Jan 19, 2020
  2. Nice plugin, but can u support for 1.14 ?
     
  3. Have you tested it on 1.14? Could possibly work just fine.
     
  4. nah but ill try
     
  5. And ill try in 1.12.2
     
    • Like Like x 1
  6. Plugin work very good on 1.14.4 no bug found, but can you change F key to Shift key ?
     
  7. Added it to the planned changes.
     
  8. Code (Java):
    19.01 10:55:32 [Server] ERROR Could not pass event EntityDeathEvent to AnimalHunt v1.0.0
    19.01 10:55:32 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.entity.LivingEntity.setPersistent(Z)V
    19.01 10:55:32 [Server] INFO at me.dexuby.animalhunt.listeners.EntityListener.spawnDeadBodyEntity(EntityListener.java:64) ~[?:?]
    19.01 10:55:32 [Server] INFO at me.dexuby.animalhunt.listeners.EntityListener.onEntityDeath(EntityListener.java:46) ~[?:?]
    19.01 10:55:32 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1603.execute(Unknown Source) ~[?:?]
    19.01 10:55:32 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:397) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.EntityLiving.die(EntityLiving.java:1148) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.EntityLiving.damageEntity(EntityLiving.java:983) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.EntityHuman.attack(EntityHuman.java:1028) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.EntityPlayer.attack(EntityPlayer.java:1397) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1724) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
    19.01 10:55:32 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:32 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
    19.01 10:55:33 [Server] ERROR Could not pass event PlayerSwapHandItemsEvent to AnimalHunt v1.0.0
    19.01 10:55:33 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.World.rayTraceEntities(Lorg/bukkit/Location;Lorg/bukkit/util/Vector;D)Lorg/bukkit/util/RayTraceResult;
    19.01 10:55:33 [Server] INFO at me.dexuby.animalhunt.listeners.EntityListener.getPlayerTargetEntity(EntityListener.java:144) ~[?:?]
    19.01 10:55:33 [Server] INFO at me.dexuby.animalhunt.listeners.EntityListener.onPlayerSwapHandItems(EntityListener.java:107) ~[?:?]
    19.01 10:55:34 [Multicraft] Skipped 17 lines due to rate limit (30/s)
    19.01 10:55:34 [Server] ERROR Could not pass event PlayerSwapHandItemsEvent to AnimalHunt v1.0.0
    19.01 10:55:34 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.World.rayTraceEntities(Lorg/bukkit/Location;Lorg/bukkit/util/Vector;D)Lorg/bukkit/util/RayTraceResult;
    19.01 10:55:34 [Server] INFO at me.dexuby.animalhunt.listeners.EntityListener.getPlayerTargetEntity(EntityListener.java:144) ~[?:?]
    19.01 10:55:34 [Server] INFO at me.dexuby.animalhunt.listeners.EntityListener.onPlayerSwapHandItems(EntityListener.java:107) ~[?:?]
    19.01 10:55:34 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1604.execute(Unknown Source) ~[?:?]
    19.01 10:55:34 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:872) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
    19.01 10:55:34 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
    19.01 10:55:34 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
     
  9. The animal turns into a immortal Dinnerbone.
     
  10. Doesn't seem compatible with 1.12 for multiple reasons so it will most likely stay unsupported for now, not sure if that will change.
     
  11. SlimeDog

    Moderator Patron

    Wow!

    Feature requests:
    • Configurable world whitelist/blacklist; defaults:
      • worlds.whitelist: * or all
      • worlds.blacklist: []
    • Configurable gamemode whitelist; default:
      • gamemodes.whitelist: survival and adventure
    • Configurable mobs on which the plugin operates; defaults:
      • targets: <list of target mobs>
    • Configurable use of title/subtitle
      • titles.title: true
      • titles.subtitle: true
    • Configurable butchering key (per request above by ngHunt)
    • Butchering by sword
      • is the animal marked as dead in some way, so alive/dead can be distinguished?
    • Include version string in filename, for example
      • AnimalHunt-1.0.0.jar
     
  12. SlimeDog

    Moderator Patron

    Suggestion: It's nice that 1.14.4 is supported, since 1.15.x is new. But spend time and energy going forward. 1.12.2 and 1.13.2 servers can be upgraded. The benefit of upgrading your server: you get spiffy new content like this.
     
  13. Thanks for your suggestions, added most of them to the planned changes list. You can "disable" the title/subtitle just by setting no text for them.
    1.13.2 most likely works as well, lower versions won't be supported intentionally because of the unnecessary required changes.
     
    • Friendly Friendly x 1
  14. But the best plugins are in 1.12.2, 1.15 is laggy than 1.14?
     
  15. SlimeDog

    Moderator Patron

    To which best plugin are you referring? I test 146 up-to-date plugins on 1.15.1.
     
  16. 1.14 had quite some performance issue however 1.13 is fine and 1.15 is better than 1.14 as well. The reason why some plugins don't support lower versions than 1.13 is because of the massive API changes so even if they do it it often means developing bigger parts of the plugin twice just so it works on those outdated builds. I'm not planning to add support for 1.12 because of that however in case i change the system in the future and those changes allow compatibility again then sure.
     
    • Friendly Friendly x 1
  17. This plugin is really cool! How about adding a permission for butchering the animals? :) And do the corpses despawn after a certain amount of time?
     
  18. Added it to the planned changes list, i don't think that they despawn at all, only if the server reloads/restarts or if you butcher them. I'll add a option to remove all corpses when the chunk unloads.
     
    • Like Like x 1
  19. Dexuby updated Animal Hunt (Animal Corpses) with a new update entry:

    Update - 1.0.1

    Read the rest of this update entry...
     
    • Friendly Friendly x 1
  20. PawPawDude

    Supporter

    Seek Ye The Holy Grail, @Dexuby ... PLAYER CORPSES

    Though there have been a couple earlier plugins that caused killed players to leave a lootable corpse, none are functional at this time.

    The opportunity for you to make a universal corpse plugin is before you.
    JoshuaBudich-MontyPythonHolyGrail-RUNAWAY.jpg
     
    • Funny Funny x 2