Minecraft: How To Install Spark & Run a Profiler

Is your Minecraft server running slower after adding mods? Don’t worry, Spark can help you figure out what’s going wrong. By running a performance profiler, you can identify issues and bottlenecks, making it easier for troubleshooting and optimizing your server’s performance. In this guide, we’ll show you how to run the profiler and share the results with us, so we can help get your server run smoothly again.

In this article

Installation

If you're using Paper 1.21 or a newer version, Spark is already included with the server, so you don’t need to install the plugin separately.

  1. Download the latest Spark .jar file: Get the latest Spark .jar file from the downloads page.

  1. Access the DatHost Control Panel & Stop the Server

  1. Place the file in the right folder: Upload the .jar file into your server's plugins / mods folder.

  1. Start your server: Spark will load up the next time you restart.

Run Profiler

  1. Permissions: The first step is to become a server operator. To do so, type op <your username> in your server console.
  2. Run the Profiler: Once you're an operator, you can run and control the spark profiler by using the commands below in your console. If you want to see all the available commands, check out the full list here: Spark Commands.
  • /spark profiler start  to start the profiler.
  • /spark profiler stop  to stop the profiler and view the results.
  • /spark profiler open  to open the profiler viewer page without stopping the profiler.
  • /spark profiler cancel  to cancel the profiler stop it without uploading the results.
  1. Copy the Spark report link: After starting the profiler, give it a few minutes to collect enough data. Then, when you’re ready, stop it and the Spark report will be generated automatically.
  2. Share the Report: Just copy the link to the report and send it to us. This way, we can take a look and get your server back on track.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us