How to Identify Performance Issues on Your Minecraft Server Using Spark

Find out exactly what's causing lag with detailed performance profiling

Find out exactly what's causing lag with detailed performance profiling

What is Spark?

Spark is a performance plugin that shows what's using your server's CPU, memory and tick time. It tells you what's actually causing lag instead of guessing.


Getting Started & Installation

  1. Go to Minecraft, and then go to the "Spigot Plugins" or "Modrinth Mods" depending on your server software.
  2. Search for "Spark" and install the latest version.
  3. Restart your server so it loads.

Checking Server Health

Run this to see your server's overall health: /spark health

It shows your TPS (ticks per second, where 20 is perfect), tick time, loaded entities and chunks, and memory usage. If TPS is well below 20, you have a problem.


Profiling Your Server

  1. Start the profiler: /spark profiler start

  2. Play normally for 1-2 minutes so it records your server under normal load.

  3. Stop the profiler: /spark profiler stop

  4. Open the report link it gives you (hosted on spark.lucko.me). It shows which plugin, world, entity or code is using the most CPU.


Essential Commands


Important Considerations


Conclusion

With Spark you can see exactly what's causing your server's lag and fix it properly. Profiling replaces guessing.


Similarly, if you are having any type of issue or problem with your server at MCServerHost you can always get in touch with us by joining our Discord server or writing to us at support@mcserverhost.com.

Related guides

All community guides

Loading…