I had this issue a while ago, so all citizens were removed from my server. Today I added the config files back, reloaded to restore them, and the lag is back. There is one NPC, that if looked at, will increase entity count to over 3000. as soon as you look away, it drops. Having him loaded in the area causes terrible TPS and FPS. So I tried removing the npc using the remove command, but I can still see the exclamation mark tag over where his head was, and the lag remains, and the entities are still high when I look at where he was. Here is a spark report: https://spark.lucko.me/IZtYPuuCEg
#(nuttapillar) Citizens is causing huge lag, possibly due to an NPC having over 3000 entities.
38 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
(nuttapillar) Citizens is causing huge lag, possibly due to an NPC having over 3000 entities.
Edit: After a while of that NPC being gone, the TPS and FPS has drastically improved. But I can still see that tag hovering in the air.
Entities is still over 3000 when I look at that spot, and mspt is a bit higher than it should be, so still a bit broken.
Now I've tried reloading the plugin, and he reappeared. So I used a command to move him far away, and the TPS came good again. But that hovering exclamation mark remains. So I'm wondering not only how to fix the lag, but also how to remove that hovering tag
nvm, the performance went bad again, even after teleporting him away, and the 3000 entities remains at his old position.
Maybe log will help too:
Can you enable citizens debug
I’m not sure why the holograms are doing this
I haven’t been able to replicate it
how can I enable the debug?
yeah i have seen this alot recently.. i am wondering if its something to do with what paper did with chunks recently as thats when i started seeing it show up
I suspect so
Yeah i also have had a similar issue with npcs leaving name tags floating around also using latest paper build. So far its only been 1 npc so far removed it haven't had another issue as of yet. Hopefully more light will be shed on this.
test with the new build please
So these issues haven't been seen on bukkit yet? Only paper and downstream? Come to think of it, these issues started happening to me straight after I updated purpur. When I get home soon I'll do a debug for you and try the new version.
it's related to the new chunk loading system in paper
wIll do
I updated to the latest build and restored the saved NPCs and config etc. Seems all good now.
Resolved
Thread closed as resolved.
Could I reopen this?
Since the latest update of citizens, its now spamming the server log. Well it's essentials sending the spam, but it relates to citizens, and only started with this latest build.
That's an Essentials Issue - they fixed it in their latest dev build iirc
oh right, thank you, I will try that.