How to Make a Timings Report on a Minecraft Server
Spigot, PaperMC, and SpongeForge have a great built in tool called a Timings Report. It can be used to diagnose lag on your Minecraft server by providing a very thorough breakdown on your server's performance and can point out key aspects that may be bogging down resources. It's very easy to turn on and utilize!
If you're using any of the following commands in the Nodecraft Console, drop the
/at the beginning of the commands.
Using the Timings Report in Spigot
The first 4 steps are only recommended for Spigot builds between 1261 - 1537. Please skip to Step 5 if using any of the latest builds.
First, Stop your server. This is always recommended whenever you make any changes to settings or files.
Navigate to your File Manager on the left hand side of your NodePanel, select the
bukkit.ymlfile and click the Edit button.
Find the
plugin-profilingsetting and change it totrue.
Save the changes and start your server up.
Issue the
/timings oncommand either in the console of your server, or in-game while you're OP'd.Wait 10-15 minutes while the server is experiencing the lag, that way the server can collect as much data as accurately as possible. Usually this means playing on the server, to ensure the server creating the appropriate scenarios that cause the server to lag, but not crash.
Issue the command
/timings paste. This will provide you with a URL link that will take you to the Timings Report.
Make sure to issue the command
/timings off, as leaving the Timings Report on can use additional resources on your server.
Using the Timings Report in PaperMC
In the latest builds for PaperMC, the Timings Report feature is enabled by default. It is usually why whenever you start your server, you'll see a line in your server's Console that says Timings Reset. If you see this line in your console, skip to Step 4.
First, Stop your server. This is always recommended whenever you make any changes to settings or files.
Navigate to your File Manager on the left hand side of your NodePanel, select the
paper.ymland then click the Edit button.
Find the
timingssection, and make sure theenabledandverbosesetting are set totrue.
Save the changes and start your server up. You should now see
Timings Resetin your console. You can also issue the command/timings resetto make the Timings Report start a brand new report.Wait 10-15 minutes while the server is experiencing the lag, that way the server can collect as much data as accurately as possible. Usually this means playing on the server, to ensure the server creating the appropriate scenarios that cause the server to lag, but not crash.
Issue the command
/timings paste, this will provide you with a URL link that will take you to the Timings Report.
If you wish to turn off the Timings Report feature, open the
paper.ymlfile again and set thetimings enabledsetting tofalse.
Using the Timings Report in SpongeForge
Issue the
/sponge timings oncommand either in the console of your server, or in-game while you're OP'd.Wait 10-15 minutes while the server is experiencing the lag, that way the server can collect as much data as accurately as possible. Usually this means playing on the server, to ensure the server creating the appropriate scenarios that cause the server to lag, but not crash.
Issue the command
/sponge timings pasteorsponge timings report, this will provide you with a URL link that will take you to the Timings Report.Make sure to issue the command
/timings off, as leaving the Timings Report on can use additional resources on your server.
Other useful commands to make note of for the SpongeForge version is /sponge timings verbon which provides more verbose monitoring. The /sponge timings verboff command disables the verbose monitoring.
Analyze your Timings Report
Now it's time to use the URL link provided to you. It will point out problem areas, and may also give some suggestions on how you can improve on your servers performance like using Aikar's flags. Feel free to Chat with Us in Customer Support if you need some help in reading the Timings Report! It can be a little overwhelming and confusing the first time you view one of these reports. https://app.nodecraft.com/support
Need Help?
If you have questions or run into any issues, our support team is here to help! Reach out using the support widget on our website or visit our support center for further assistance.