How To Optimize the paper.yml File To Reduce Lag

1. Log In to Your Panel


2. Select the ‘Files’ Tab

Cybrance panel 'Files' Tab outlined with arrow

3. Select the ‘Config’ Folder

'config' folder outlined with arrow

4. Select the ‘paper-world-defaults.yml’ File

'paper-world-defaults' file outlined with arrrow

4.1. Change the Following File Parameters

'paper-world-defaults' file open

Within the file, identify the lines with these names and add these recommended values for better optimization:

max-auto-save-chunks-per-tick: This option slows down how often chunks are saved during world save. Set it to 8.

optimize-explosions: This option uses Paper’s efficient explosion handling. Less important after 1.15, but still beneficial. Set it to true.

mob-spawner-tick-rate: This option increases time between mob spawner ticks. Only increase if experiencing lag. Set it to 2.

container-update-tick-rate: This option controls how often container GUIs (like chests) update. Higher values reduce server load. Set it to 3.

max-entity-collisions: This option limits how many entities can collide at once. Helps with performance in crammed mob areas. Set it to 2.

grass-spread-tick-rate: This option increases time between grass spreading ticks to reduce load. This option 4

non-player-arrow-despawn-rate: It’s the time in ticks before non-player arrows despawn. Useful to reduce entity lag. Set it to 60.

creative-arrow-despawn-rate: This option is same as above, but for arrows shot in creative mode. Set it to 60.

despawn-range (soft): Is the distance in blocks for soft despawning (randomized, periodic). Set it to 28.

despawn-range (hard): Is the distance in blocks for hard despawning (immediate). Set it to 96.

hopper.disable-move-event: This option prevents hoppers from checking every slot each tick. Improves performance significantly. Set it to true.

prevent-moving-into-unloaded-chunks: This option stops players from entering unloaded chunks, preventing potential lag spikes. Set it to true.

use-faster-eigencraft-redstone: This option enables faster redstone algorithm without changing behaviour. Significant performance improvement. Set it to true.

armor-stands-tick: This option disables ticking for armour stands (only needed for water interaction). Set it to false.

per-player-mob-spawns: This option uses per-player mob spawns to balance mob farms and prevent griefing of server-wide spawns. Set it to true.

anti-xray: It’s a paper’s built-in anti-xray system (more efficient than plugins). Set it to true.


5. Restart Your Server

Minecraft Server Hosting

Starts at $1.99

External link icon
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents