Articles on: Minecraft

Improve Your Server Performance





This guide will show you a few steps that may improve your server performance.

If your server is running any of the 1.14.x versions of Minecraft, please read this article first: Minecraft 1.14.x. Why this lag?|


⚠️ Are you running Forge? Check out this guide! ⚠️
⚠️ Are you running Fabric? Check out this guide! ⚠️




🤖 Use Paper 🤖



We highly recommended that you use Paper if you are currently using Vanilla, Craftbukkit, or Spigot.

Note that this will not work for modded servers. We have a different guide for improving the performance of modded servers here

Paper is much more lightweight and has many features that allow you to improve your performance. Once your server is running on Paper, you can follow this article: Improve Spigot Performance to increase your server's performance.

Once your server is on Paper, you can use the /timings command to see your timings.


🔬 Timings Report



The "Timings" command can be used to get a graphic of your server usage. This can for sure be used to detect what should be the problem if your server is lagging.

We have a guide explaining how to properly generate a timings report here.

To get simple timings you can type: /timings on

By doing this, your Paper server should start recording your server timings, so you'll have to wait sometime for the server to register all timings.

It's suggested to wait around 7-10 minutes for a good precision of it.

Then to get the timings report just type: /timings paste

The command above should give you a link where you'll be able to see all server statistics and resource usage.
Under the "timings" tab you can find your timings.

If you notice something with the color red, it is using a high part of your server resources/performance.
By clicking on the tab "Plugins", you can see, what plugins are causing the most lag on your server.

If timings are saying that Pillagers are using a lot of lag, please use this:
https://www.spigotmc.org/resources/limitpillagers-fix-outpost-spawns-and-more.69733/


🔁 Automatic Restarts 🔁



Automatic restarts unload heavy chunks that are still loaded on your server and damage your server's performance.

You can set your server to automatically restart at a time when players are not using your server following our Scheduled Restarts article.




🗺️ Pre-Generating Your World 🗺️



Minecraft's world creation is a process based on complex calculations. A world is generated dynamically as you play, meaning that the entire world is not created when you start playing but generates more and more as you play.

For example, the game starts with several generated chunks near your spawn. Then, as you start to explore, new chunks are generated along your path. So the game is generating new chunks and loading them as you travel more and more. The process of generating chunks can create performance issues and lag.

We have a guide here that explains how to pre-generate your world and gives examples of plugins/mods for pre-generating your world for nearly any Minecraft version.

💠 WorldBorder Plugin



A great plugin to use to pre-generate your world on a plugins server is WorldBorder. It is working on many Minecraft versions and it will help you to pre-generate your world and set a border.

Here is our guide for setting up and using WorldBorder plugin.


🕸 Using Optimization DataPacks (Minecraft 1.13+) 🕸



DataPacks are ZIP files that can customize your Minecraft experience. They can be used to add/remove/change advancements, functions, loots, predicates‌, structures, recipes, tags, etc without modifying code as mods do.

There are some DataPacks done for Minecraft versions that can work as a way to remove lag and optimize the server such as the Antilag Datapack, Lag Optimization or Lagbuster.

If you don't know how to install a DataPack, we have an article dedicated to it here:
https://help.ggservers.com/en-us/article/how-to-install-datapacks-on-your-server-nmp6zs/


🎮 Installing Plugins 🎮



Great plugins for you to keep the lag away are:

General Lag:

ClearLagg (free)
LagAssist (paid)

1.14+ bug/lag solutions:

- Pillager Lag (free)
- Villager Lag (free)
- Entity Lag (free) (only recommended for severe entity lag)
- WorldBorder (free) - 💭 Minecrafters suggest setting the border between 3000 and 6000.

Farm reduction:

- Mob Manager (paid)
- Farm Limiter (paid)

Here is our guide for installing plugins into your server.


🔌 Decrease Your Server View-Distance 🔌



Here is our guide for changing the server view distance.

To change your server view distance you need to do the following steps:

Log in to your Multicraft here and stop your server.


Click on Files, then on Config Files.




Click on Server Settings.




Find View Distance and change it to the desired number, then click on Save and start your server.




Now you just changed your server View Distance.


The View-Distance uses an equation to determine how many chunks the server-side will load for the players.

The equation for view distance is: (2x+1)²

E.g.:
For the default, of 10, should be: (2*10+1)² = 21²; 441.

A single chunk in Minecraft is 16x16 blocks, with no limit to height.


📀 Upgrade your service 📀



Upgrading your service to a server with more RAM or switching to the premium plan may improve your performance. This is especially true on servers that have a lot of plugins or mods that use more RAM.

Here is our guide for upgrading your service.

Please note that you can always upgrade your service any time you want, paying only the difference and not the full price all over again. Without any additional fees or taxes, upgrades take effect instantly. The same goes for downgrade, so when you downgrade, the extra sum will be automatically added to your account credit for future purchases with us.


⛏ Not working? ⛏



Please open a ticket in your client area and provide your Timings, your Debug Report and some Console Lines.

💠 Getting Timings



As already explained before, to get simple timings you can type:

/timings on

By doing this, your Paper server should start recording your server timings, so you'll have to wait sometime for the server to register all timings.

It's suggested to wait around 7-10 minutes for a good precision of it.

Then to get the timings report just type:

/timings paste

The command above should give you a link where you'll be able to see all server statistics and resource usage.
Under the timings tab you can find your timings.

-> Get the URL link and paste it into a ticket

Here is our guide on how to open a support ticket.

We also have a guide explaining how to properly generate a timings report here.


💠 Getting Your Debug Report



Once you're in your server and you notice that it's lagging, type /debug start wait some minutes, and type /debug stop.

This will store all debug information.

✔ Type /debug report and a .zip file will be generated in your server's files with all debug information.
On the ticket, let us know about that ^.


💠 Getting Console Logs



Lagging or Crashing?

Open your Online Control Panel and click on Console.

Copy at least 50 lines of code and paste them on some websites such as https://pastebin.com or https://hastebin.com.

Click on to Save.

Get the URL link and paste it on a ticket.

🧵 Once you've done all steps above and it is still not working, please, provide us the information on the section above.
Provide us on a ticket your Timings, your Debug Report and some Console Lines.




If you find any issue improving your server performance please contact us on live chat or via the ticket system.


❕ Useful Links ❕



- Recommended Minecraft Plugins
- How To: Install Plugins on Your Server
- Improve Your Forge Modded Server Performance

Updated on: 08/01/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!