Fixing lag & low TPS
Is it the server?
- Blocks break then come back: server lag. Keep reading.
- High ping, only some players: their internet.
- Low FPS but blocks break instantly: their computer.
Check the numbers
Type this in the Console:
tps mspt
TPS should be 20. MSPT should be under 40. Over 50 means the server cannot keep up.
Lower the distances
This helps the most. In server.properties, set:
view-distance=8 simulation-distance=6
Do not go below 4. Restart after saving.
Find the cause with Spark
Install the Spark plugin. While it lags, run:
spark profiler start --timeout 60
Open the link it gives. The widest bars show what is slow. Big mob farms and hopper chains are common causes.
Restart every day
Add a daily restart on the Schedules tab at a quiet hour. It clears memory plugins do not give back.
Problems
TPS is 20 but it still feels laggy
That is network lag. Ask players for their ping.
It lags when one player joins
Usually a farm or redstone in their base. Profile while they are on.
It is still slow
Open a ticket with a Spark link. It helps us a lot.
Still stuck?
Open a ticket and we will take a look.
Open a ticket