How to Install and Use Spark

This guide will show you how to install Spark and teach you about some of its main features.

About Spark

Spark is a performance profiling plugin/mod which provides you with a variety of tools such as diagnosing performance issues, diagnosing memory issues and keeping track of overall server health. While Spark is simple to install it has a lot of options and commands that can feel a bit overwhelming to new users.

Installing Spark

  1. Download the Spark plugin for your Forge/Fabric server or Spigot/Bukkit server. Spark Download Page
  2. Once downloaded, connect to your server via FTP. You can do this either using the web FTP, or by using an FTP client such as FileZilla.
  3. Upload Spark into the plugins or mods folder, depending on your server type.
  4. Once the upload is complete, start your server.

Main Spark Commands

Command Action
/spark profiler Starts the profiler in default mode.
/spark profiler --info Checks current status of profiler.
/spark profiler --stop Stops the Profiler and sends a link to view results. Copy and paste the link into your browser to view.
/spark tps Prints information about the servers Ticks Per Second rate and CPU Usage.
/spark healthreport Generates a health report for the server including TPS, CPU, Memory and Disk Usage.
/spark activity Prints information about recent activity performed by Spark such as when you last ran the profiler and the link for the last profiler ran.
/spark tickmonitoring Performs a short scan of your server ticks to find your average tick rate. From then on, any ticks with >100% increase in comparison to your average will be reported.

 

Listed below are some examples of what the outputs of commands look like both in-game and in your Multicraft console.

This is an example of the in game commands being run.

This is an example of the console commands being run.

How to Analyze the Profiler

The profiler is very similar to a timings report. Once you obtain your link after stopping the profiler, you can copy and paste it into your browser. This link can be sent to Support to help our staff understand the cause of lag however, it can be insightful to you as well.

    1. To view more information, keep clicking the options that appear to show an in-depth breakdown of what they are. You’ll want to pay attention to the percentages beside each task.Yellow percentages beside each task.

 

    1. From there, locate the processes that take up a lot of the servers resources. In this case, these are usually things that are running frequently. In the example below, we can see that "updateTimeLightandEntities" is taking a lot of time to do (the percentage is fairly low), expand it to further investigate.updateTimeLightandEntities

 

    1. You’ll eventually narrow it down to one or two things that are causing high usage (lag). In this case, "guardEntityTick" and "ServerChunkProvider.tick". We can tell that these are higher than normal, as Spark has a helpful feature that allows you to see what a "normal" amount of time for these processes take - simply hover over the option to show the normal time spent on the task.guardEntityTick and ServerChunkProvider.tick

 

    1. It’s useful to note you can also bookmark tasks by right clicking on them and clicking "Toggle Bookmark". This will update your profiler link, so when you show it to our staff, they will know exactly what you're talking about.How to place a bookmark.

 

To find out more on Spark, you can find a helpful guide on More Commands and their Usage.

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • plugin, mod, performance, spark
  • 11 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install Sponge on a Forge Server

You may learn more about SpongeForge and the Sponge project by visiting the official Sponge...

How to Install Fabric Mods on Your PC

This guide explains how to install mods onto your Fabric client. Fabric, like Forge, is a version...

How to Install Minecraft Forge on Your PC

We have a tutorial for installing Minecraft Forge on your computer:   Forge is a Minecraft...

How to Install Modpacks on Your Computer Using the CurseForge App

CurseForge is a Minecraft launcher owned by Overwolf that allows you to install thousands of...

How to Use Buycraft / Tebex on Your Server (Monetisation)

Tebex, formerly known as Buycraft, is the primary webstore application used across thousands of...