📢 LordCloud support has moved to Ballastra — Join now →
Docs

Performance optimisation

Find and fix lag — TPS vs ping, view distance, profiling with spark, and Paper settings that matter.

1 min read
On this page

First: what kind of lag?#

Symptom Likely cause
Everyone lags, blocks reappear, mobs freeze Server lag — low TPS
Only some players lag; the server feels fine to others Network lag — distance or the player's connection
Lag only when exploring new areas Chunk generation

Minecraft aims for 20 TPS — 50 ms per tick. Check with:

text
tps
mspt

mspt consistently above 50 means the server can't keep up.

Profile before you change anything#

Install spark and run:

text
spark profiler start

Wait a few minutes during lag, then run spark profiler stop and open the link. It shows exactly which plugin, entity or task uses the time.

Settings with the biggest impact#

  1. simulation-distance (server.properties) — 4 to 6 is plenty for most survival servers.
  2. view-distance — 6 to 8 balances looks and load.
  3. Pre-generate the world with Chunky. See Managing worlds.
  4. Entity limits — huge mob farms and item piles cost the most. Paper's paper-world-defaults.yml has entity and despawn settings.
  5. Hoppers and redstone — large hopper chains and clocks are common culprits in spark reports.

Memory#

  • Don't give Java more memory than the plan has; the panel manages the heap for you.
  • If memory sits near 100% and you see OutOfMemoryError, it's time to upgrade or remove heavy plugins.

Plugins#

Fewer, better plugins beat many overlapping ones. Remove anything unused, and check spark for plugins with high tick time.

Network lag#

LordCloud's servers are in India (Mumbai and Noida), which keeps ping low for Indian players. Players far away, on mobile data, or on congested Wi-Fi will see higher ping regardless of the server. See Network troubleshooting.

Have a question? Chat with us👋