I recommend you use a bukkit repeating scheduler instead of a while loop. It seems to me that the wait(5000) is causing the error.
Why would you query the database every time? All you have to do is query it once on player join, and store that data in an object like a User...
Could you post your onEnable/Main class where you are registering listeners?
@KarimAKL You use another entity to get the pathfinder, and have the npc move to the entities location.
It doesn't need to be an EntityPlayer, you can use any entity like a zombie, and just set it invisible.
One solution I had for this was creating a custom entity using NMS and spawning it at the exact location of the npc, and using the entities...
@Zombie_Striker Still getting the same issue using that method, I tried using both EntityHuman and EntityPlayer but it isn't making any...
@Zombie_Striker https://pastebin.com/EN2c9ch2 This is right before the crash, I toggledownfall and that instantly crashed the server. EDIT: If...
I've been working with packets and creating NPCs the last couple of days, something I'm new to. I've been getting server crashes with stack-traces...
I can write permissions for PermissionsEx if you want, I'll do it for free you can send me a copy of your perms folder and tell me what perms you...
Essentially a plugin named HubEssentials was spawning items into my inventory I didn't want so I removed it from the server Jar File and the...
I have had problems with Group Manager and the ranks don't even show up in game, this is my groups for my lobby, I have other ranks in other...
Separate names with a comma.