How to Use Spark Minecraft Server
Learn how to install and use the Spark plugin to profile your Minecraft server's performance, with profiler commands for CPU and memory tracking.
How to Use Spark
If you're learning how to use Spark Minecraft, Spark is a powerful performance profiling plugin for any Minecraft server that helps track CPU usage, memory, and overall server health.
Installing the Spark Mod
To install the Spark mod:
- Download the Spark Mod.
- Access the DazcoHost panel.
- Stop the server.
- In the Files tab, open the
modsfolder. - Upload the Spark jar file.
- Start the server.
You've now successfully installed the Spark mod.
Installing the Spark Plugin
To install the Spark plugin:
- Download the Spark Plugin.
- Access the DazcoHost panel.
- Stop the server.
- In the Files tab, open the
pluginsfolder. - Upload the Spark jar file.
- Start the server.
You've now successfully installed the Spark plugin.
Using the Spark Profiler
- Start the server.
- Type
spark profilerin the console to ensure that the profiler is running. - Give it 10 minutes, then enter
spark profiler --stop. - This will generate a link that redirects you to a page with your tick times report.
Additional Commands
/spark profiler start --timeout <seconds>— start the profiler and automatically stop it after the number of seconds entered./spark profiler start --thread *— start the profiler and track all threads./spark profiler start --alloc— start the profiler and profile memory allocations (memory pressure) instead of CPU usage.
You can find more information at the Spark documentation page.
Sending a Spark Timings Report to Support
- Provide us with details of your issue and the generated Spark report link.
Need more help?
Search the help center or reach our team directly, we reply in about 10 minutes.