Skip to content

Guides · Minecraft servers

Reduce lag

Find the cause → lower distances → pre-generate chunks.

1. Server lag or internet lag?

SymptomCause
Everyone stutters together · mobs and blocks react lateServer lag (low TPS)
Only one player stutters · high pingThat player's internet
Only when exploring new areasChunk generation → step 4

2. Find the cause (spark)

  • Paper, Leaf and Purpur 1.21+: the spark console command is built in. Other versions and modded servers: install the spark plugin or mod.
  • spark tps: 20 = healthy. MSPT (time per tick) over 50 ms means lag.
  • spark profiler start → 3–5 minutes while it lags → spark profiler stop → open the link and look at the heaviest entries.
Heavy in sparkWhat to do
Entities · villagersFewer mobs in farms · clear dropped items
Hoppers · redstoneShrink large contraptions
Chunk generation (worldgen)Pre-generate chunks
A specific plugin or modFix its settings · remove it

3. Lower the distances

Panel → Files → server.properties → save → restart.

SettingSJNoDE defaultIf it lags
view-distance (how far you see)86
simulation-distance (how far mobs and crops update)64

4. Pre-generate chunks

  1. Install Chunky and restart.
  2. Console chunky radius 5000 → chunky start. Run it when few players are online.
  3. Set a world edge: worldborder set 10000 (diameter).

Disk space per radius: Create a Minecraft server, step 6.

5. Switch to Leaf

Paper-based · Paper plugins keep working · lighter with many players.

Players (10 GB · 1.21.11)Paper average tickLeaf average tick
1532.5 ms25 ms
2046.3 ms35 ms
  1. Back up first.
  2. Service page → Version · reset → server type Leaf · same version.
  3. To keep the current world, choose Keep the world (risky).

6. Memory

  • If Memory on the panel console stays near the limit, you are short of memory → Upgrade.
  • If memory is free but TPS is low, more memory will not help. Do steps 2–5 first.

All guides Minecraft server plans Contact support