Hello everyone, I have problems with the citizens plugin, a few months ago everything was fine, but now the problem is that when I'm building alone everything goes well without lag, a friend connects to the local network and connects to the server, the citizens plugin starts to give an incredible lag according to the timmings and crashes the entire server. I have the latest versions.
#(4ngelvilla) Citizens Crash server
1 messages · Page 1 of 1 (latest)
(4ngelvilla) Citizens Crash server
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.
!spark
The "timings" system within Spigot/Paper is incredibly inaccurate for use with Citizens, and cannot be used to diagnose any issues related to Citizens. It notably blames Citizens for a significant amount of entity-related lag (that isn't in any way caused by Citizens).
For accurate timings, you need a Java profiler. There are a variety of profiler options (WarmRoast, YourKit, VisualVM, ...), but the simplest to use on a Spigot server is a plugin named "Spark" that embeds WarmRoast, which you can find here: https://www.spigotmc.org/resources/spark.57242/.
To get a spark report, type /spark profiler start, then replicate lag issues (for no more than about a minute), then /spark profiler stop, and post the link it gives you.
!logcheck
Repasted
Incorrect upload of log reuploaded to pastebin at https://paste.denizenscript.com/View/115644
Server Version
Paper version git-Paper-794 (MC: 1.16.5)-- (Current build :white_check_mark:)
Plugin Version(s)
Citizens v2.0.32-SNAPSHOT (build 3156) -- (:warning:Outdated build, behind by 52)
Sentinel v2.8.0-SNAPSHOT (build 508) -- (Outdated build, behind by 4)
Checked For
@quaint python
UUID Version
4 (:white_check_mark: Online)
Java Version
16.0.2 :white_check_mark:
Other Noteworthy Plugin(s)
WorldGuard v7.0.5+3827266, MythicMobs v5.3.5-64893d49, ProtocolLib v5.0.0, Quests v3.11
Problematic Plugin(s)
PlugManX v2.3.4 - :warning: Plugin Managers are dangerous and will cause unpredictable issues. Remove it.
Possibly Relevant Plugin(s)
TAB v4.0.3 - This plugin adds Below_Name scoreboards to NPCs.
ModelEngine vR3.1.8 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
Multiverse-Core v4.3.1-b861 - Multi-world configuration plugins may affect NPCs in unexpected ways.
Potentially Bad Line(s)
[13:12:49] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.MANGROVE :warning: Log contains error messages.
@quaint python What is the cause of this problem?
Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).
If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.
If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.
This message is not a warning, it is just for your information.
!spark
The "timings" system within Spigot/Paper is incredibly inaccurate for use with Citizens, and cannot be used to diagnose any issues related to Citizens. It notably blames Citizens for a significant amount of entity-related lag (that isn't in any way caused by Citizens).
For accurate timings, you need a Java profiler. There are a variety of profiler options (WarmRoast, YourKit, VisualVM, ...), but the simplest to use on a Spigot server is a plugin named "Spark" that embeds WarmRoast, which you can find here: https://www.spigotmc.org/resources/spark.57242/.
To get a spark report, type /spark profiler start, then replicate lag issues (for no more than about a minute), then /spark profiler stop, and post the link it gives you.
oke wait and ill do it
Update Citizens
Latest Citizens dev builds are at https://ci.citizensnpcs.co/job/Citizens2/.
Spigot releases of Citizens are available at https://www.spigotmc.org/resources/citizens.13811/.
When more than one player enters, there is lag
and that the server crashes completely
Can you enable citizens debug, see if there’s a chunk rapidly reloading and move npcs from that chunk off the chunk border?
@void orbit
ok srry for delay ill do it when i arrive my hous
i hv this
!logcheck
Repasted
Incorrect upload of log reuploaded to pastebin at https://paste.denizenscript.com/View/115704
Server Version
Paper version git-Paper-794 (MC: 1.16.5)-- (Current build :white_check_mark:)
Plugin Version(s)
Citizens v2.0.32-SNAPSHOT (build 3208) -- (Current build :white_check_mark:)
Sentinel v2.8.0-SNAPSHOT (build 508) -- (Outdated build, behind by 4)
Checked For
@night anchor
UUID Version
4 (:white_check_mark: Online)
Java Version
16.0.2 :white_check_mark:
Other Noteworthy Plugin(s)
WorldGuard v7.0.5+3827266, MythicMobs v5.3.5-64893d49, ProtocolLib v5.0.0, Quests v3.11
Problematic Plugin(s)
PlugManX v2.3.4 - :warning: Plugin Managers are dangerous and will cause unpredictable issues. Remove it.
Possibly Relevant Plugin(s)
TAB v4.0.3 - This plugin adds Below_Name scoreboards to NPCs.
ModelEngine vR3.1.8 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
Multiverse-Core v4.3.1-b861 - Multi-world configuration plugins may affect NPCs in unexpected ways.
Potentially Bad Line(s)
[15:41:22] [Server thread/ERROR]: No TreeType mapping for TreeGenerator.TreeType.MANGROVE :warning: Log contains error messages.
the DEBUG there is an error
and that BadLine thing at the end of the image
which means
The debug isn't an error it's just an exception to generate code.
There are chunks that unload/load rapiditely, which means there's an NPC on the chunk border. ^
30,195 / 29,196 / 29,194 relevant chunks. Check the borders and move the NPC's from the border away.
Press F3 + G to see the borders ingame
@void orbit ^
alright
And how could i locate those relevant chunks?
tp to the npc with the id 76
check other npcs
Thread Closing Reminder
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@void orbit