Plugin not working. I've tried 1.21, 1.21.1, 1.21.2, 1.21.3 and 1.21.4 and none of the versions work. Please help seems like a really good plugin. Get the same error:
[04:07:51] [Server thread/INFO]: [PvPBots] Spawning pvp bot.
[04:07:51] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.ReportedException: Ticking entity
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1555) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1391) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1093) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NoSuchMethodError: 'java.util.Collection org.bukkit.Location.getNearbyEntitiesByType(java.lang.Class, double)'
at com.github.kuramastone.offensiveBot.behaviour.KeepDistanceBehavior.findTargetWithinViewRange(KeepDistanceBehavior.java:206) ~[?:?]
at com.github.kuramastone.offensiveBot.behaviour.KeepDistanceBehavior.shouldExecute(KeepDistanceBehavior.java:225) ~[?:?]
at net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter.shouldExecute(BehaviorGoalAdapter.java:22) ~[?:?]
at net.citizensnpcs.api.ai.SimpleGoalController.trySelectGoal(SimpleGoalController.java:192) ~[?:?]
at net.citizensnpcs.api.ai.SimpleGoalController.run(SimpleGoalController.java:163) ~[?:?]
at net.citizensnpcs.api.npc.AbstractNPC.update(AbstractNPC.java:540) ~[?:?]
at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:478) ~[?:?]
at net.citizensnpcs.nms.v1_21_R3.entity.EntityHumanNPC.h(EntityHumanNPC.java:397) ~[?:?]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:877) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.world.level.World.a(World.java:687) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.level.WorldServer.lambda$tick$2(WorldServer.java:448) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.world.level.entity.EntityTickList.a(SourceFile:54) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:430) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1549) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
... 4 more
[04:07:51] [Server thread/ERROR]: This crash report has been saved to: /home/container/crash-reports/crash-2025-02-08_04.07.51-server.txt
Seems like a good plugin, but whenever i try using the command the server crashes. heres the error
[04:07:51] [Server thread/INFO]: [PvPBots] Spawning pvp bot.
[04:07:51] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.ReportedException: Ticking entity
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1555) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1391) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1093) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NoSuchMethodError: 'java.util.Collection org.bukkit.Location.getNearbyEntitiesByType(java.lang.Class, double)'
at com.github.kuramastone.offensiveBot.behaviour.KeepDistanceBehavior.findTargetWithinViewRange(KeepDistanceBehavior.java:206) ~[?:?]
at com.github.kuramastone.offensiveBot.behaviour.KeepDistanceBehavior.shouldExecute(KeepDistanceBehavior.java:225) ~[?:?]
at net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter.shouldExecute(BehaviorGoalAdapter.java:22) ~[?:?]
at net.citizensnpcs.api.ai.SimpleGoalController.trySelectGoal(SimpleGoalController.java:192) ~[?:?]
at net.citizensnpcs.api.ai.SimpleGoalController.run(SimpleGoalController.java:163) ~[?:?]
at net.citizensnpcs.api.npc.AbstractNPC.update(AbstractNPC.java:540) ~[?:?]
at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:478) ~[?:?]
at net.citizensnpcs.nms.v1_21_R3.entity.EntityHumanNPC.h(EntityHumanNPC.java:397) ~[?:?]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:877) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.world.level.World.a(World.java:687) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.level.WorldServer.lambda$tick$2(WorldServer.java:448) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.world.level.entity.EntityTickList.a(SourceFile:54) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:430) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1549) ~[spigot-1.21.4-R0.1-SNAPSHOT.jar:4433-Spigot-d421948-a02758a]
... 4 more
[04:07:51] [Server thread/ERROR]: This crash report has been saved to: /home/container/crash-reports/crash-2025-02-08_04.07.51-server.txt
Plugin works "as intended" and I say "as intended" because the help regarding the plugin usage is really not as intuitive as you might think, also you cannot hit the NPC's when setting them up for PvPing.
hi, just bought the plugin but it doesnt work in 1.21.1, i would like to try the plugin on current versions, almost or never have seen similar to this one, has a lot of potential, dont abandon it please!