Skip to content

Minecraft: Server Performance Optimization

Learn how to optimize Minecraft game servers for better performance and smoother gameplay with effective configuration tips → Find out more

10 November 202621 min read0 Views0 helpful

What exactly happens during optimization?

Optimization is important for Minecraft game servers to run smoothly, and you should definitely take enough time for it on a public server. Only with plenty of time and testing can you achieve the best results. This guide is therefore not something you have to follow exactly, step by step; it is intended to help point you in the right direction.

In most cases, optimization involves changing many server settings, which can significantly change the server's behavior. Some settings are scaled back, for example, which reduces the load on the server and can improve performance. To avoid negatively affecting the overall player experience too much, you should always aim for a happy medium.

Vanilla

Unfortunately, there are very limited options for optimizing a Vanilla server, as there are only a few settings available. We can give the Vanilla server a little more power with the following measures:

View distance

A very common measure is to reduce the view distance. The default view distance is 10 chunks, but many players use considerably fewer, such as 6–8. Some players go overboard with the number of chunks and set it to 32, for example. This means the server has to load and process all those chunks, which takes a lot of performance.

On a Vanilla server, you can adjust the view distance in the server.properties config by changing the view-distance value. To avoid restricting the player experience too much, we recommend setting the value to 5–6, which can reduce the load on the server by up to 50%. We already have an entry about this in our guide, which you can find here.

Data compression

A server and its connected players constantly exchange data. Players' movements are sent to the server, which then forwards them to all the other players. Player actions and events in the world, such as explosions, are also among the data that is continuously transferred.

To make this exchange more efficient, the size of the compressed data can be doubled, meaning the server only has to do 50% of the work to exchange the same data with players. To do this, adjust the network-compression-threshold value in the server.properties config. Set the value to 512. We also have an entry about this in our guide, which you can find here.

FAQ

Frequently asked questions

The default view distance is 10 chunks. Lowering view-distance to 5–6 in server.properties can reduce server load by up to 50% without significantly affecting gameplay.
This guide covers Vanilla, Forge, Bukkit, Spigot, and Paper Spigot. Paper Spigot offers the most additional settings, including spawn limits, entity activation ranges, mob spawners, and Redstone.
Vanilla has fewer configuration options than platforms such as Spigot or Paper Spigot, so optimization is mainly limited to view distance and data compression.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.