Spigot MobHunting 8.0.4

Earn Money and get Skulls by killing Mobs and Players

  1. The plugin doesn't work with the database. Does not write data to the database file_BD or mysql. Errors. When the server is shuting down - it try to save data and can not save. The server is waiting and not turning on.
    Latest version PaperMC 1.16.1 (91)
     
  2. Hi
    I have this error with latest version of MH, and Paper 1.16.1
    When a player kill a mob :
    19:24:30
    java.lang.NoSuchMethodException: net.minecraft.server.v1_16_R1.PacketPlayOutChat.<init>(net.minecraft.server.v1_16_R1.IChatBaseComponent, net.minecraft.server.v1_16_R1.ChatMessageType)
    at java.lang.Class.getConstructor0(Class.java:3082)
    at java.lang.Class.getConstructor(Class.java:1825)
    at com.connorlinfoot.actionbarapi.ActionBarAPI.sendActionBar(ActionBarAPI.java:79)
    at one.lindegaard.MobHunting.compatibility.ActionBarAPICompat.setMessage(ActionBarAPICompat.java:53)
    at one.lindegaard.MobHunting.Messages.playerActionBarMessageNow(Messages.java:564)
    at one.lindegaard.MobHunting.Messages.access$000(Messages.java:45)
    at one.lindegaard.MobHunting.Messages$1.run(Messages.java:539)
    at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99)
    at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
    at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1291)
    at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377)
    at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1212)
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1000)
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177)
    at java.lang.Thread.run(Thread.java:748)
     
    • Like Like x 1
  3. Hello. We are trying to get the op multiplier to work, but it seems I don't understand how it works. While opped noone is getting any multipliers.

    This is how we've done the config in that section. Are we missing a step? upload_2020-7-18_23-45-42.png
     
  4. Just run update in console and restarted server, seeing the following error in console:

    [19:04:57] [Server thread/ERROR]: Could not pass event CitizensEnableEvent to MobHunting v7.5.1
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1061) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.citizensnpcs.Citizens$3.run(Citizens.java:337) ~[?:?]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1009) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:354) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:848) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
    Caused by: java.lang.NullPointerException
    at java.lang.Thread.run(Thread.java:834) [?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at one.lindegaard.MobHunting.compatibility.CitizensCompat.onCitizensEnableEvent(CitizensCompat.java:289) ~[?:?]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
    at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:354) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]1061) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:848) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1009) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at java.lang.Thread.run(Thread.java:834) [?:?]
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    at one.lindegaard.MobHunting.compatibility.CitizensCompat.onCitizensEnableEvent(CitizensCompat.java:289) ~[?:?]
    Caused by: java.lang.NullPointerException
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.1-120.jar:git-Spigot-c3a49df-2f18108]
    ... 12 more
     
  5. Hello,
    Since updating, I've struggled to get both Leaderboards and Achievements to work correctly. They worked fine beforehand on 1.15.2, but seem to be very broken since then. I am running the latest PaperSpigot and have updated to the most recent Vault. We've also seen errors where things wont write to the database and slows the shut-down process, but it's not consistent.

    I have also attempted to re-generate the database, and even a clean install of the plugin to no avail.

    When turning on Debug mode, I see that achievements are disabled whenever someone kills a mob, but I don't see where there is any config or permissions issue.

    Any advice would be helpful! Thanks!
     
  6. Am i the only one with this bug?
     
  7. @Rocologo https://pastebin.com/njyTYFK0
    1. [09:42:31 ERROR]: Error occurred while enabling MobHunting v7.5.2 (Is it up to date?)
    2. java.lang.StackOverflowError: null
    3. at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_262]
    4. at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_262]
    5. at org.yaml.snakeyaml.nodes.ScalarNode.toString(ScalarNode.java:109) ~[patched_1.16.1.jar:git-Paper-128]
    6. at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_262]
    7. at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_262]
    8. at org.yaml.snakeyaml.nodes.MappingNode.toString(MappingNode.java:106) ~[patched_1.16.1.jar:git-Paper-128]
    9. at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_262]
    10. at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_262]
    11. at org.yaml.snakeyaml.nodes.MappingNode.toString(MappingNode.java:106) ~[patched_1.16.1.jar:git-Paper-128]
    12. at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_262]
    13. at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_262]
    14. at org.yaml.snakeyaml.nodes.MappingNode.toString(MappingNode.java:106) ~[patched_1.16.1.jar:git-Paper-128]
    15. at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_262]
    16. at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_262]
    17. at org.yaml.snakeyaml.nodes.MappingNode.toString(MappingNode.java:106) ~[patched_1.16.1.jar:git-Paper-128]
    18. at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_262]
    19. at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_262]
    20. at org.yaml.snakeyaml.nodes.MappingNode.toString(MappingNode.java:106) ~[patched_1.16.1.jar:git-Paper-128]
    21. at java.lang.String.valueOf(String.java:2994) ~[?:1.8.0_262]
    22. at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:1.8.0_262]
     
  8. Is there a setting I have missed?

    Running paper and 1.16.1, players can't put on or take off heads dropped from mobs. But, if they spam the head, they can eventually "glitch it on", but they can under no circumstance get it off again.

    Tried with regular heads etc, it's only an issue with heads dropped by mobhunting, is this an intended feature and something I'm missing, or is it a bug?
     
    • Agree Agree x 1
  9. If there isn't a way already, It would be nice If you could disable the KillStreaks messages. I already have set all the message_type's in the config to None.
     
    • Friendly Friendly x 1
  10. Fixed in newest release. You should always create a ticket at Github if you find a bug.
     
    • Friendly Friendly x 1
  11. Create a ticket at github and I will look at it.
     
    • Friendly Friendly x 1
  12. GitHub doesn't have a ticket system ;)
     
  13. SlimeDog

    Moderator Patron

    Of course it does. Robust and clear. For MobHunting, it's issues.
     
  14. I ask for this because this is not a "high priority" task, but if a ticket i created I will not forget the request.
     
  15. [19:53:57] [Server thread/ERROR]: Could not pass event EntityDeathEvent to MobHunting v7.5.3
    java.lang.NullPointerException: null
    at one.lindegaard.MobHunting.compatibility.HerobrineCompat.getHerobrineMobType(HerobrineCompat.java:88) ~[?:?]
    at one.lindegaard.MobHunting.mobs.ExtendedMobManager.getExtendedMobFromEntity(ExtendedMobManager.java:219) ~[?:?]
    at one.lindegaard.MobHunting.MobHuntingManager.onMobDeath(MobHuntingManager.java:647) ~[?:?]
    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.16.1.jar:git-Paper-134]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.16.1.jar:git-Paper-134]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.1.jar:git-Paper-134]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.1.jar:git-Paper-134]
    at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:794) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityLiving.d(EntityLiving.java:1489) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityLiving.die(EntityLiving.java:1417) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityLiving.damageEntity(EntityLiving.java:1261) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityMonster.damageEntity(EntityMonster.java:52) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityZombie.damageEntity(EntityZombie.java:250) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityIronGolem.attackEntity(EntityIronGolem.java:149) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.PathfinderGoalMeleeAttack.a(SourceFile:142) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.PathfinderGoalMeleeAttack.e(SourceFile:134) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.PathfinderGoalWrapped.e(PathfinderGoalWrapped.java:54) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.PathfinderGoalSelector.doTick(PathfinderGoalSelector.java:153) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityInsentient.doTick(EntityInsentient.java:757) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityLiving.movementTick(EntityLiving.java:2740) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityInsentient.movementTick(EntityInsentient.java:543) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityIronGolem.movementTick(EntityIronGolem.java:69) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityLiving.tick(EntityLiving.java:2465) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.EntityInsentient.tick(EntityInsentient.java:306) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.WorldServer.entityJoinedWorld(WorldServer.java:833) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.World.a(World.java:927) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.WorldServer.doTick(WorldServer.java:525) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1354) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1213) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1001) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-134]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]
     
  16. SlimeDog

    Moderator Patron

    Tracking is useful even for high priority tasks.
     
  17. [09:11:24] [Server thread/INFO]: [MobHunting] Enabling MobHunting v7.5.3
    [09:11:24] [Server thread/INFO]: [MobHunting] Your config version is 1
    [09:11:24] [Server thread/INFO]: [MobHunting] Existing config.yml loaded.
    [09:11:24] [Server thread/INFO]: [BagOfGoldCore] BagOfGold is not installed on this server
    [09:11:24] [Server thread/INFO]: [BagOfGoldCore] Enabling compatibility with MobHunting (7.5.3)
    [09:11:29] [Server thread/INFO]: [MobHunting] MobHunting is using CMIEconomy via Vault as Economy Provider
    [09:11:32] [Server thread/WARN]: one.lindegaard.Core.storage.DataStoreException: java.sql.SQLException: Can't create table `MineFS_MobHunt`.`mh_Daily` (errno: 150 "Foreign key constraint is incorrectly formed")
    [09:11:32] [Server thread/WARN]: at one.lindegaard.MobHunting.storage.DatabaseDataStore.initialize(DatabaseDataStore.java:305)
    [09:11:32] [Server thread/WARN]: at one.lindegaard.MobHunting.MobHunting.onEnable(MobHunting.java:193)
    [09:11:32] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
    [09:11:32] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380)
    [09:11:32] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
    [09:11:32] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:500)
    [09:11:32] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:414)
    [09:11:32] [Server thread/WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.loadWorld(MinecraftServer.java:471)
    [09:11:32] [Server thread/WARN]: at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:241)
    [09:11:32] [Server thread/WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:941)
    [09:11:32] [Server thread/WARN]: at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177)
    [09:11:32] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)
    [09:11:32] [Server thread/WARN]: Caused by: java.sql.SQLException: Can't create table `MineFS_MobHunt`.`mh_Daily` (errno: 150 "Foreign key constraint is incorrectly formed")
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3869)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1536)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2585)
    [09:11:32] [Server thread/WARN]: at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1464)
    [09:11:32] [Server thread/WARN]: at one.lindegaard.MobHunting.storage.MySQLDataStore.setupV8Tables(MySQLDataStore.java:1698)
    [09:11:32] [Server thread/WARN]: at one.lindegaard.MobHunting.storage.DatabaseDataStore.initialize(DatabaseDataStore.java:287)
    [09:11:32] [Server thread/WARN]: ... 11 more
    [09:11:32] [Server thread/ERROR]: Error occurred while enabling MobHunting v7.5.3 (Is it up to date?)
    java.lang.NullPointerException: null
    at one.lindegaard.MobHunting.storage.DatabaseDataStore.shutdown(DatabaseDataStore.java:336) ~[?:?]
    at one.lindegaard.MobHunting.MobHunting.onEnable(MobHunting.java:197) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.1.jar:git-Paper-134]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.1.jar:git-Paper-134]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.1.jar:git-Paper-134]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:500) ~[patched_1.16.1.jar:git-Paper-134]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:414) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.MinecraftServer.loadWorld(MinecraftServer.java:471) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:241) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:941) ~[patched_1.16.1.jar:git-Paper-134]
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-134]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]