Spigot MobHunting 6.9.6

Earn Money and get Skulls by killing Mobs and Players

  1. Heads are still just breaking when mined from being placed. This is happening with heads that are already placed prior to update and with new heads given via command.

    Heads that do not break entirely:
    - Wither
    - Bonus_Mob
    - PvP_Player
    - Killer_Rabbit
    - iron_golem (When broken name changes to "null ($10)")
    - All heads that are vanilla such as the, creeper, zombie, skeleton, wither skeleton, and dragon head. The MobHunting versions of these get turned into their vanilla versions when they are broken after being placed.

    Is this because these heads have a value while other mob heads are a value of 0? I mean the EnderDragon head has a value but it will still revert back to the vanilla head when placed and broken.

    Edit: Just tested with a blaze head. Set value from 0 to 1 in config, reloaded plugin, gave a new head, placed and broke, head dropped as normal.
     
  2. Ok thanks so much, i will say you what happen.
     
  3. I cant reproduce this. Do you use /mh reload or do you restart the server?
     
  4. Please test this snapshot and please let me know the result.
    https://fractal.lindegaard.one:8181/job/MobHunting/958/
     
  5. This error comes up everytime someone dies.

    Code (Text):
    [13:40:39] [Server thread/ERROR]: Could not pass event PlayerDeathEvent to MobHunting v6.9.4
    org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:726) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.EntityPlayer.die(EntityPlayer.java:520) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity(EntityLiving.java:1169) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.EntityHuman.damageEntity(EntityHuman.java:769) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.EntityPlayer.damageEntity(EntityPlayer.java:675) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.EntityLargeFireball.a(EntityLargeFireball.java:25) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.EntityFireball.tick(EntityFireball.java:71) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.WorldServer.entityJoinedWorld(WorldServer.java:568) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.World.a(World.java:745) [spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:344) [spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1069) [spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:971) [spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:816) [spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
    Caused by: java.lang.NullPointerException
        at one.lindegaard.MobHunting.MobHuntingManager.onPlayerDeath(MobHuntingManager.java:315) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigotmc-1.14.4-R0.1.jar:git-Spigot-9de398a-8b09d98]
        ... 18 more
     
  6. This fixes the issue with heads that have 0 value breaking, even the new ones. Old heads that were placed in the world already still break. Heads that were stored in a chest seem to work fine now, but they will be in two different stacks until you place them all down, break them and regather them. Guessing this is changing the data on them?
     
  7. Please create a ticket at github and explain more detailed as it does NOT happen everytime a player dies.
     
  8. Yes - old head might already be broken (Im sorry about that, but I cant fix heads which is already broken. Broken means that the hidden extra data is missing - and therefor broken)
    V6.9.5 should not break heads. You can also stack heads now, but "collect to cursor" (double click is not implemeted yet)
     
  9. Work good, was that i was testing in gm 1, thanks so much.
     
  10. I have made the plugin so players dont get rewards if the "cheat" GM1 is cheating :)
    There is many anti-grinding feature as well.
     
    • Funny Funny x 1
  11. ERROR

    14:55:06
    Could not pass event EntityDeathEvent to MobHunting v6.9.6
    Console

    14:55:06
    java.lang.NullPointerException: null
    at one.lindegaard.MobHunting.grinding.GrindingManager.isGrindingArea(GrindingManager.java:448) ~[?:?]
    at one.lindegaard.MobHunting.grinding.GrindingManager.registerDeath(GrindingManager.java:65) ~[?:?]
    at one.lindegaard.MobHunting.MobHuntingManager.onMobDeath(MobHuntingManager.java:659) ~[?:?]
    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.14.4.jar:git-Paper-207]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.14.4.jar:git-Paper-207]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.14.4.jar:git-Paper-207]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545) ~[patched_1.14.4.jar:git-Paper-207]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:750) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.EntityLiving.d(EntityLiving.java:1419) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.EntityLiving.die(EntityLiving.java:1354) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity(EntityLiving.java:1198) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.EntityMonster.damageEntity(EntityMonster.java:56) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.EntityEnderman.damageEntity(EntityEnderman.java:283) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.EntityHuman.attack(EntityHuman.java:1075) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.EntityPlayer.attack(EntityPlayer.java:1686) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:2031) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:51) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:1029) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:1022) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1158) ~[patched_1.14.4.jar:git-Paper-207]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925) ~[patched_1.14.4.jar:git-Paper-207]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]


    Whenever you update something breaks, please let us have a stable version updates only. It was working properly before 6.9.6
     
  12. Hey!

    I have an issue with the mob head drops. I'm lowering the chance that they should drop, but it doesn't seem to work. They still drop way too many times. Is there another setting for this somewhere?

    Also, can the "grinding detected" message be disabled?
     
  13. If I set worldedit/guard integration to false in the config, it still tries to integrate, making the plugin unusable. Every time a call is made to worldguard, an exeption is thrown, causing the plugin to mess up. I could edit the WorldEdit plugin.yml by opening the jar as a zip, but I feel like it is unessicary
     
  14. When i run /mh gold sell i get the message "you cant buy/sell bagofgold with bagofgold" any suggestions as to why ? as i cannot sell the bags to get money.