Skip to content
Minecraft

Find lag on your Minecraft server with Spark

Published on 3 October 2026

Spark tells you whether your Minecraft server is really lagging and what’s causing it. Type spark tps in the console: if TPS stays at 20 and MSPT under 50, the server itself is fine. Paper has shipped with Spark built in since 1.21, so there’s nothing to install on your server.

Is it server lag or your connection?

  • Server lag: everyone notices at the same moment. Broken blocks pop back, mobs freeze, then everything catches up.
  • Connection: one player stutters and the rest don’t. On Java, hold Tab and look at the ping bars next to the names.
  • Your own computer: the picture stutters but the world keeps going. On Java, press F3 and check your fps.

How do you measure TPS and MSPT with Spark?

  1. Open your server’s console in the game panel.
  2. Type spark tps and press Enter.
  3. Look at the TPS over the last few minutes and at MSPT, the time per tick in milliseconds.

Minecraft updates the world 20 times a second, which is a TPS of 20, so each tick may take at most 50 milliseconds. Spark colours the numbers green, amber or red: green is good, red means your server is falling behind. spark health shows memory, CPU and disk in one go.

How do you run and read a profile?

  1. Wait until the server is busy or the lag is happening.
  2. Type spark profiler start --timeout 600. Spark now records for 10 minutes what your server spends its time on.
  3. When it’s done, Spark posts a link in the console. Open it in your browser.
  4. Expand the lines with the highest percentage in the tree. That’s where the time goes: a plugin, entities or generating new chunks.

Does the lag come in short spikes? Run spark tickmonitor, which reports every tick that takes much longer than usual.

What are the usual suspects?

Common causes of lag and what to do about them
CauseWhat to do
Too many animals or mobs in one spot, such as a big farmMake the farm smaller, or add a switch so it only runs when you use it.
Redstone clocks and lots of hoppersTurn clocks off when nobody uses them. Paper has settings for hoppers and redstone in config/paper-world-defaults.yml.
New chunks while players fly far outPre-generate the world with the Chunky plugin, for example chunky radius 3000 followed by chunky start.
A plugin at the top of the profileUpdate it, find a lighter alternative or remove it.
A high view distanceLower view-distance and simulation-distance in server.properties.

When does a bigger plan actually help?

More memory helps when memory is full: the meter in the console sits at the limit for long stretches and spark health shows a full heap. If the profile points to a farm or a plugin, extra memory won’t help and fixing that is the better move. Not sure about the size? See how much RAM a Minecraft server needs or try the server size calculator. If raw processing power is the limit, read Standard or Premium.

Frequently asked questions

Do I need to install Spark myself?

Not on Paper 1.21 or newer, which ships with Spark. On Fabric or NeoForge, install the spark mod through Mods in the game panel.

What’s a good MSPT?

Anything under 50 milliseconds, which keeps your server at 20 ticks per second. Lower is better, because it leaves headroom for busy moments.

Can my players see the profile link?

Only if you share it. Feel free to share it with us in a ticket if you’d like help reading it.

Do I need to run a new profile every time?

Only after you’ve changed something. Measure again with spark tps after each fix to see whether it helped.

More questions? See all frequently asked questions

Related articles