Performance issues like low TPS (ticks per second), lag spikes, or stuttering can severely impact the gameplay experience on your Hytale game server. Manually identifying the cause of these problems is quite difficult without detailed diagnostics.
The Spark Profiler mod provides server operators with a powerful tool to analyze server performance. After installation, Spark collects data on CPU usage, tick times, server health metrics, and more, generating detailed reports that precisely show where performance issues occur. This makes Spark an indispensable tool for troubleshooting and optimization—especially for larger or heavily populated Hytale worlds.
Spark offers various profiling features:
- Performance profiling – records server activities and identifies slow ticks or high CPU usage
- Server health metrics – displays tick durations, TPS, CPU, and memory usage
- Interactive reports – creates web-based reports viewable in a browser
- Lightweight and easy to use – minimal impact during data collection
Spark is distributed via CurseForge and installed as a mod. Currently, you install mods for Hytale via FTP because the mod installer for this game is not yet available in ZapX. For more information, see our Installing Mods guide. After installation, simply restart your Hytale game server.
After installing Spark and starting your server, enter Spark commands in the in-game chat if you have the necessary permissions, or in your server's Console tab in ZapX. To start collecting performance data, enter the following command:
/spark profiler start
Once the profiler is running, Spark records detailed server activities such as tick durations, CPU usage, and thread execution. The profiler should run during the period when the problem occurs—for example, during high player counts or lag spikes. A runtime of at least 30 to 60 seconds usually provides enough data for meaningful analysis.
While the profiler is active, you can view live results with this command:
/spark profiler open
This command generates a web link in the console or chat. Opening this link in a browser gives you a live view of the profiler data, including tick graphs and workload distribution.
When enough data has been collected, stop the profiler with:
/spark profiler stop
After stopping, Spark creates a final report link. This report contains the complete dataset from the profiling session and can be opened in a browser or shared.
If you want to discard the current profiling session and restart, reset the profiler like this:
/spark profiler cancel
/spark profiler start
This deletes previous data and immediately starts a new profiling session.
The Spark Profiler report provides a detailed breakdown of how server resources are used. Especially important is the tick timeline, which shows how long individual ticks take. Persistently long ticks often indicate high load that directly affects TPS and gameplay performance.
The profiler also highlights hotspots—functions or systems consuming the most resources. These insights help you determine whether performance issues are caused by specific mods, player actions, world mechanics, or server settings.
Spark reports are designed to be easily shared. If you seek support or help from other admins, you can simply share the profiler link so they can view the data directly and provide targeted advice.
