Server Optimization
In this guide, we'll explain step-by-step how to fully optimize your Java server.
Last updated
In this guide, we'll explain step-by-step how to fully optimize your Java server.
Last updated
Hello! We're going to be modifying some files on your server to get it up to 100% and get the most out of it. We can mainly make these modifications using Paper. Make sure you have that version, as it already improves performance!
We will be indicating in which file you have to modify and in which linear you should change the value.
Start by going to your server and selecting Files. We'll be editing the files here.
server.properties
bukkit.yml
spigot.yml
paper.yml
** Remember that to have these options you must have a PAPER version.
Now on the other hand, in addition to all these configurations, something that will also help us a lot is having the chunks already preloaded.
When a player is loading terrain, they'll be loading chunks, and this is a huge resource drain, especially in high-level builds. Imagine all the players scattered around the map loading different terrain. It's a huge burden, which is generally felt in TPS.
Once installed and running, we'll begin the loading process. (Keep in mind that the server will be under constant load during this process, so it's not recommended to do this and play at the same time. It's recommended to pre-load it overnight or when there are no players.)
First, we will select the world we are going to pre-load, with the command:
Next, we'll set the center from which chunks will start generating, if you have a Survival server. For example, enter the coordinates of your Spawn XZ (If you don't enter this command, the chunk loading will start from the default spawn of the world).
Now we'll set how many chunks we want to load. Keep two things in mind. The more chunks we load, the longer it will take, and the more chunks we load, the more storage it will use and generate the world.
Now, finally, the process begins! You'll see the percentage of charging progress in the console.
For that, we have our savior plugin, . It will load chunks and pre-load them, so when a player passes through that pre-loaded terrain, they won't use the same amount of resources.
plugin (It should be noted that it works from 1.13.X to 1.18.X, in lower versions there is not much expense in loading so it is not necessary.)