#(4ngelvilla) Citizens Crash server

1 messages · Page 1 of 1 (latest)

void orbit
#

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.

undone plumeBOT
#

(4ngelvilla) Citizens Crash server

undone plumeBOT
#

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.

quaint python
#

!spark

frank karmaBOT
# quaint python !spark
Info: 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.

frank karmaBOT
#
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.

void orbit
#

@quaint python What is the cause of this problem?

quaint python
#

@void orbit can't tell without a spark profile

#

!rule 3

frank karmaBOT
# quaint python !rule 3
Rule 3

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.

quaint python
#

!spark

frank karmaBOT
# quaint python !spark
Info: 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.

void orbit
#

oke wait and ill do it

night anchor
#

You could also try updating

#

!latest citizens

frank karmaBOT
void orbit
#

When more than one player enters, there is lag

#

and that the server crashes completely

quaint python
#

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

void orbit
#

ok srry for delay ill do it when i arrive my hous

void orbit
night anchor
frank karmaBOT
#
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.

void orbit
#

so whts the problem there

#

?

void orbit
#

the DEBUG there is an error
and that BadLine thing at the end of the image
which means

normal adder
#

The debug isn't an error it's just an exception to generate code.

normal adder
#

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 ^

void orbit
#

And how could i locate those relevant chunks?

normal adder
#

tp to the npc with the id 76

void orbit
#

ok

#

the npc is in the middle of the chunk

normal adder
#

check other npcs

void orbit
normal adder
#

Lots of NPCs near the chunk border

#

move them more into the chunk

vapid bobcatBOT
#
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