Performance and lag
Distinguish TPS drops, high CPU or RAM usage, network latency, and client FPS problems.
Last updated on
Identify the type of lag
| Type | Symptom | What to inspect |
|---|---|---|
| Server tick delay | Blocks revert and mobs freeze | TPS/MSPT, CPU, plugins |
| Network delay | One player has high ping or disconnects | Player connection, route, Traffic Center |
| Client FPS | Video stutters while world time remains normal | Player computer, shaders, mods |
| Memory pressure | Periodic long pauses or OOM errors | RAM, Java GC, modpack |
Improve server performance
- Reduce view and simulation distance conservatively.
- Remove unnecessary plugins and mods; disabling them is not always enough.
- Do not generate a world rapidly during peak hours; pregenerate it when needed.
- Reduce very frequent scheduled tasks and automatic saves.
- Use the console and profiler to identify a plugin caught in an error loop.
- Remember that adding unlimited RAM does not solve CPU-bound TPS problems.
Traffic and lag
High active TCP with a normal player count may indicate scanning or bot traffic. Review backend health and connection-error counts. If only one ISP is affected, the cause may be its ASN or route; contact support before adding a broad ASN block.
Measure before optimizing
Compare TPS, MSPT, CPU, and RAM at the same player load before and after each change. Change one setting at a time.