Spark and its profiler can be installed on a Minecraft Spigot server to gain valuable insights into its performance. By efficiently analyzing large data volumes, Spark helps identify and optimize performance bottlenecks, such as slow plugins or inefficient server configurations. This makes Spark an invaluable tool when troubleshooting servers.
Note: The Spark Profiler will only work on Spigot servers.
How To Install Spark on a Minecraft Server
Step 1. Download Spark. It must match the Minecraft server version.
Step 2. Log in to the MelonCube Games panel.
Step 3. Stop the server.
Step 4. Go to the Files tab on the left.
Step 5. Go to the Plugins folder.
Step 6. Drag and drop the .jar mod file from Step 2.
Step 7. Start the server.
How to Run a Spark Profiler on a Minecraft Spigot Server (In-Game)
Step 1. Log in to the Minecraft server.
Step 2. Open the text box and type /spark profiler and hit enter.
Step 3. Let the profiler run for a few minutes, and then type /spark profiler --stop
Step 4. Click the link to open the Spark Profiler.
How to Run a Spark Profiler on a Minecraft Spigot Server (Console)
Step 1. Log in to the MelonCube Games panel.
Step 2. Go to the Console tab on the left.
Step 3. Run the following command on the console: spark profiler
Step 4. Wait a few minutes for the profiler to run.
Step 5. Run the following command on the console: spark profiler stop
Step 6. Open the link to view the Spark profiler.
How to View the Spark Report
Step 1. Turn on the preferred displays. Enable all displays to view more information.
| Widget | Description |
| TPS | Ticks per second. TPS Drops indicate lag. |
| MSPT | Milliseconds per tick. Lower ticks are better for server performance. |
| Memory | Too much or too little RAM are bad for the server. |
| GC | Garbage collection. A slow GC indicates lag |
Step 2. From the displays section, choose the preferred tab.
| Display | Description |
| Memory | Shows important details on Heap. |
| JVM Flags | Displays the JVM arguments the server started with. |
| World | Check the different entities currently on the server. |
Step 3. Select the preferred view.
| View | Description |
| All view | Displays the dropdowns to find the threads. Main threads that run Minecraft are commonly high. |
| Plugins|Mods view | View the usage of each plugin/mod. |
Note: The bars on the right represent the percentages.
Step 4. Hit the flame icon to view the Flame Graph. This is an alternate view of the All view dropdowns. Click the x icon to return.
Step 5. Press the export icon to save the report. Compare multiple Spark reports to track server performance.
Note: Creating the first report helps set a baseline for comparing Spark reports.