serveron our desktop. You can rename or move this folder at any time if you want, as long as the server is offline when you do.
serverfolder we created earlier.
jdk-14.0.1_windows-x64_bin.exebutton and running the file from your downloads folder.
serverfolder we created earlier, and create a new text file called
run.txtfile and paste in the following startup flags and runtime settings:
paper-###.jarfilename with the correct name, click
File, followed by
run.batrand click save.
eula.txtfile and change
eula=trueso your file looks like follows:
Timings reset, close the console by running
stop.or by simply closing the GUI window
serverfolder should now look like this:
sever.properties), Bukkit (
bukkit.yml), Spigot (
spigot.yml), and lastly Paper (
paper.yml). Consider them as layers of both optimisations and added features.
Open with, select Visual Studio Code and click open.
view-distancemodifies the number of chunks a player can see in all directions. This increases server load when higher, and increases it exponentially (10 to 12 adds more server load than 8 to 10).
network-compression-tresholdchanges the compression for server-to-client data packets. Increasing this will make your server's internet speed more optimised (must be a power of 2).
autosave: 6000this setting affects the frequency at which your server automatically saves the state of the server to actual files. Though this is notorious for causing lag on Bukkit servers, paper servers are much less affected by this process. You can increase or decrease this setting to your liking. Make sure not to make it lower than 300 because doing so might cause overlapping auto-save cycles, with possible implications as a result.
shutdown-message: Server closed. They do not affect server performance and therefore do not belong in this tutorial.
/restartcommand in-game or
restartin the console. We change this to match our running script file name.
falsecan already improve server performance severely. I recommend always preemptively using that setting.
Spigot.ymlfile are per-world settings. You can add the following lines at the bottom of the settings file in order to disable things like anti-xray in the end and nether. This way, you can also make mobs be less active in the end than in the overworld, increasing performance with multiple enderman farms, for example.
false, in order to reduce performance impact.
threads:setting to equal 2 * CPU_cores will drastically improve chunk generation and loading. When not using EWG (uninstalled the plugin entirely) you can use this setting.
page-max:pages, which prevents this issue. This also prevents a duplication glitch using a similar method as the book-banning does.
world-settings:at the bottom affect certain elements in the server that could cause lag. Many of these are case-specific and will not be mentioned here.
nerf-spawner-mobssetting found in the Spigot settings. Enables water-based mob grinders while also disabling spawned mobs' AI.
- oak_planksfrom the
replacement-blocks:section, or X-Ray can target wood blocks and still find ores effectively.
trueto disable this check.
NETHERRACK: 300will make both cobblestone and nether-rack despawn after 15 seconds.
truewill drastically improve hopper performance. Whereas without this setting, hoppers will update all 5 slots every tick to check stuff, causing serious performance impact, especially on large scales.
*/pluginsfolder in your server.
Timings reset). Run the
/mv create WorldName normalcommand from in game, or without the
/from the console. Wait for the server to notify you
CONSOLE: Complete!and stop the server.
TestWorld(if you are following along with Multiverse) or the default
worldfolder (if you are not).