{"id":12808,"date":"2023-06-06T16:31:48","date_gmt":"2023-06-06T16:31:48","guid":{"rendered":"https:\/\/test2.gginternal.net\/knowledgebase\/article\/how-to-set-up-and-use-spark\/"},"modified":"2023-06-06T16:31:48","modified_gmt":"2023-06-06T16:31:48","slug":"how-to-set-up-and-use-spark","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-spark\/","title":{"rendered":"How to Set Up and Use Spark"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/banner10_1mgbruh.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>This guide will help you with setting up and using the Spark plugin or mod on your server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2753 What Is Spark\u2753<\/h1>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>The Spark plugin and mod work for Minecraft versions 1.7 to 1.19.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>You can read more about the Spark mod <a href=\"https:\/\/spark.lucko.me\/docs\">here<\/a> in the official documentation or <a href=\"https:\/\/www.curseforge.com\/minecraft\/mc-mods\/spark\">here<\/a> on the official CurseForge page.<br>\nYou can read more about the Spark plugin <a href=\"https:\/\/spark.lucko.me\/docs\">here<\/a> in the official documentation or <a href=\"https:\/\/www.spigotmc.org\/resources\/spark.57242\/\">here<\/a> on the official Spigot page.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: 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.<\/p>\n\n\n\n<p>Our team may request a spark report from your server in certain tickets, so we can identify lag-related issues.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Install Spark  <\/h1>\n\n\n\n<p>Spark can be set up as a plugin or a mod, depending on the server type you are using.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  The Spark Mod<\/h2>\n\n\n\n<p>The first step is to make sure you are running Forge or Fabric.<\/p>\n\n\n\n<p>If not, <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-install-any-server-type-clean-installation\/\">here<\/a> 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.<\/p>\n\n\n\n<p>Here is our guide for installing mods on your server.\n<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: 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 <a href=\"https:\/\/www.curseforge.com\/minecraft\/mc-mods\/fabric-api\">here<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Now, to set up the mod, you will have to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft panel <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a> and stop your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1ursht6.png\" alt=\"Stop Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Download the appropriate version of the mod <a href=\"https:\/\/www.curseforge.com\/minecraft\/mc-mods\/spark\/files\">here<\/a> according to the Forge\/Fabric version you are running.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/11_3neqjw.png\" alt=\"Version\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Use FileZilla to upload the mod to your server&#8217;s <code>mods<\/code> folder.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/19_1w8vi7u.png\" alt=\"Upload\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-connect-to-your-server-using-filezilla\/\">Here<\/a> is our guide for using FileZilla.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Open your Multicraft panel and start your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_449wta.png\" alt=\"Start Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  The Spark Plugin<\/h2>\n\n\n\n<p>The first step is to be sure you are running Bukkit, Spigot, or Paper.<\/p>\n\n\n\n<p>If not, <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-change-your-server-type-and-version\/\">here<\/a> 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. <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-make-a-backup-and-download-it\/\">Here<\/a> is our guide for doing a backup.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-install-plugins-on-your-server\/\">Here<\/a> is our guide for installing plugins on your server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Now, to set up the plugin, you will have to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft panel <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a> and stop your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1ursht6.png\" alt=\"Stop Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Download the appropriate version of the plugin <a href=\"https:\/\/www.spigotmc.org\/resources\/spark.57242\/\">here<\/a> according to the Bukkit, Spigot, or Paper version you are running.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/10_19x20tu.png\" alt=\"Download\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Use FileZilla to upload the plugin to your server&#8217;s <code>plugins<\/code> folder.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/11_1cvnvw8.png\" alt=\"Upload\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-connect-to-your-server-using-filezilla\/\">Here<\/a> is our guide for using FileZilla.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Open your Multicraft panel and start your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_449wta.png\" alt=\"Start Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Generate a Spark Report  <\/h1>\n\n\n\n<p>To generate a Spark report, you will have to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft panel <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a> and start your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_449wta.png\" alt=\"Start Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Use the <code>\/spark profiler --only-ticks-over 150<\/code> command in-game or in the Multicraft console.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/16_120ckby.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: You need to use the command without the <code>\/<\/code> at the beginning if you choose to use it via the Multicraft console (<code>spark profiler --only-ticks-over 150<\/code>).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>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.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/17_16n6ifj.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Use the <code>\/spark profiler --stop<\/code> command in-game or in the Multicraft console.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/18_or2avd.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: You need to use the command without the <code>\/<\/code> at the beginning if you choose to use it via the Multicraft console ( <code>spark profiler --stop<\/code> ).<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Read Your Spark Report  <\/h1>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/spark2_19e5xa3.png\" alt=\"Spark Report Example\"\/><\/figure>\n\n\n\n<p>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.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: 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 &nbsp;(150 ms, for example), this will surely cause lag, as other actions have to wait for that tick to finish.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>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.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/9_1kr4esr.png\" alt=\"WorldEdit Plugin Example\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/8_15my5f.png\" alt=\"Exotic Birds Mod Example\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>You can also highlight processes in the report by right-clicking and then clicking on <code>Toggle Bookmark<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/7_1kxngw0.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>In most cases, our team will request a Spark report from you to identify what is causing performance issues on your server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>If you find any issues setting up or using the Spark mod, contact us on live chat or via the <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-open-a-support-ticket\/\">ticket system<\/a>.\n<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u2755Useful Links\u2755<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-install-mods-on-your-server\/\">How to Install Mods on Your Server<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-biomes-o-plenty-mod\/\">How to Set Up and Use Biomes O&#8217; Plenty Mod<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-install-mods-into-your-client\/\">How to Install Mods Into Your Client<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Maximize Minecraft server hosting performance! Discover Spark, a game-changing mod for pinpointing lag-causing processes. Learn installation and troubleshooting tips.<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[27],"ht-kb-tag":[],"class_list":["post-12808","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-minecraft"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=12808"}],"version-history":[{"count":0,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12808\/revisions"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=12808"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=12808"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=12808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}