Articles on: Minecraft

How to Set Up and Use Spark



Mods and plugins are a great addition to your server that can make your game much more interactive and fun by adding new content and features.

This guide will help you with setting up and using the Spark plugin or mod on your server.


❓ What Is Spark❓



Once you add plugins or mods, which are more demanding and sometimes add new content to your game, performance issues can pop up at any time. Spark is a plugin or mod that will help you identify the source of your lag or performance issues, so you can handle them.

The Spark plugin and mod work for Minecraft versions 1.7 to 1.19.

You can read more about the Spark mod here in the official documentation or here on the official CurseForge page.
You can read more about the Spark plugin here in the official documentation or here on the official Spigot page.
NOTE ⚠: You need to run as server type Forge or Fabric to be able to use the Spark mod version. If you are using the plugin version, Bukkit, Spigot, or Paper are required as server types.

Our team may request a spark report from your server in certain tickets, so we can identify lag-related issues.


🔩 How to Install Spark 🔩



Spark can be set up as a plugin or a mod, depending on the server type you are using.


💠 The Spark Mod



The first step is to make sure you are running Forge or Fabric.

If not, here is our guide for doing a clean installation of Forge or Fabric on your server. Beware that this process will delete all server files, so you will have to download anything important before.

Here is our guide for installing mods on your server.
NOTE ⚠: If you are running Fabric, you will also have to install the FabricAPI mod as it is a dependency for Spark. You can find the FabricAPI mod here.


Now, to set up the mod, you will have to:

Log in to your Multicraft panel here and stop your server.

Stop Your Server


Download the appropriate version of the mod here according to the Forge/Fabric version you are running.

Version


Use FileZilla to upload the mod to your server's mods folder.

Upload

Here is our guide for using FileZilla.


Open your Multicraft panel and start your server.

Start Your Server


💠 The Spark Plugin



The first step is to be sure you are running Bukkit, Spigot, or Paper.

If not, here is our guide for changing your server type to Bukkit, Paper, or Spigot. It is recommended to do a backup before any server type changes. Here is our guide for doing a backup.

Here is our guide for installing plugins on your server.


Now, to set up the plugin, you will have to:

Log in to your Multicraft panel here and stop your server.

Stop Your Server


Download the appropriate version of the plugin here according to the Bukkit, Spigot, or Paper version you are running.

Download


Use FileZilla to upload the plugin to your server's plugins folder.

Upload

Here is our guide for using FileZilla.


Open your Multicraft panel and start your server.

Start Your Server


🚀 How to Generate a Spark Report 🚀



To generate a Spark report, you will have to:

Log in to your Multicraft panel here and start your server.

Start Your Server


Use the /spark profiler --only-ticks-over 150 command in-game or in the Multicraft console.



NOTE ⚠: You need to use the command without the / at the beginning if you choose to use it via the Multicraft console (spark profiler --only-ticks-over 150).


Now that you have started the Spark profiler, you just need to play on your server for a minimum of 30 minutes, so the profiler can register your performance issues. The best results will be given when you experience lag on the server since Spark will be able to register that and provide you with a conclusive report.




Use the /spark profiler --stop command in-game or in the Multicraft console.



NOTE ⚠: You need to use the command without the / at the beginning if you choose to use it via the Multicraft console ( spark profiler --stop ).

As you can see, the Spark profiler provided a link in the console logs. You will have to open the link with an internet browser to be able to see the generated report.


🔍 How to Read Your Spark Report 🔍



Spark Report Example

The profiler will list any process that took over 150 ms to execute, which is for sure causing lag on your server. You can click on them to open any subprocess. This way, you can find out which action, mob, or mod is responsible for the lag on your server.

NOTE ⚠: In Minecraft, when the code loop happens, we call that a tick, like the tick of a clock. There are 20 ticks per second, meaning every tick takes at most 50 milliseconds. 20 is known as TPS (ticks per second), and 50 is known as MSPT (milliseconds per tick). Because of that, if a tick takes longer than 50ms  (150 ms, for example), this will surely cause lag, as other actions have to wait for that tick to finish.


The spark report will also provide the class for any item listed, which can help you identify if the process was added by a specific plugin or mod.

WorldEdit Plugin Example
Exotic Birds Mod Example


You can also highlight processes in the report by right-clicking and then clicking on Toggle Bookmark.



In most cases, our team will request a Spark report from you to identify what is causing performance issues on your server.


If you find any issues setting up or using the Spark mod, contact us on live chat or via the ticket system.


❕Useful Links❕



- How to Install Mods on Your Server
- How to Set Up and Use Biomes O' Plenty Mod
- How to Install Mods Into Your Client

Updated on: 06/14/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!