View/render distance and fog

In this article, we'll explain how the view distance affects your server's performance, how to change it on your exaroton server, and how to turn off the fog in newer Minecraft versions.

View distance

The view distance option defines how many chunks around each player the server loads. In the Minecraft client, this option is called Render distance. You can set it lower than the server's view distance to improve your FPS, but setting it higher doesn't load more chunks, because the server never sends more than its own view distance.

Loading and generating chunks is one of the heaviest tasks of a Minecraft server, so the view distance has a big impact on your server's performance. The number of loaded chunks grows with the square of the view distance: with a view distance of 5, up to 121 chunks are loaded around a player. With a view distance of 10, it's up to 441 chunks, almost four times as many for twice the distance.

Change the view distance

You can change the view distance in the Options of your server or directly in the server.properties file, then restart your server. Since Minecraft 1.18, there is also a separate simulation distance, which defines how far around a player mobs move, crops grow and redstone runs. Keeping it lower than the view distance lets players see far while the server only simulates the area close to them.

Every exaroton server can use a higher view distance, but more chunks also need more RAM and CPU. If your server starts to lag, lower the view distance again or give your server more RAM. Our article on server lags has more tips.

Use Paper for better performance

The server software Paper has lots of performance improvements that reduce lags and let you use a higher view distance with the same resources. You can install Paper here: https://exaroton.com/software/papermc/

A higher view distance still costs performance on Paper, so test it with your players and lower it again if you notice lags.

Fog in Minecraft 1.18+

Since Minecraft 1.18, the client uses the server's view distance, which is why you see fog towards the edge of the loaded area.

Minecraft village with low render distance and fog

You can turn off this fog with client mods like OptiFine. Run the installer, select the OptiFine profile in your Minecraft launcher and set Options → Video Settings → Details… → Fog to OFF.

Option Fog set to OFF

After that, the fog is gone and you can see the full view distance just like in older versions.

Minecraft village without fog