How To Optimize the spigot.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 ‘spigot.yml’ File

'spigot' file outlined with arrrow

3.1. Change the Following File Parameters

'spigot' file opened

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

save-user-cache-on-stop-only: This option prevents constant saving of user data while online. Improves performance, but may risk data loss if the server crashes. Set it to true.

entity-activation-range: This option controls how close entities must be to players to activate AI. Leave this option as same (default).

merge-radius: This option increases how close items/XP must be to merge, reducing ticking entities. Too high values may cause bugs (e.g. teleporting through blocks). Leave this option as same (default).

nerf-spawner-mobs: This option disables AI for mobs from spawners, improving performance on spawner-heavy servers. Set it to true.

max-tick-time: This option controls max tick time before skipping logic. Setting it to 1000 disables the feature to avoid breaking gameplay. Set it to 1000 (disabled).

mob-spawn-range: This option sets how far (in chunks) from a player mobs can spawn. Keep lower than view distance to ensure effectiveness. Set it to 6.

arrow-despawn-rate: This option controls how long survival arrows stay before despawning. Reduces entity lag. (300 ticks = 15s). Set it to 300.

item-despawn-rate: This option sets how long items stay on the ground before despawning. Reducing helps performance but may annoy players. (4000 ticks = ~3.3 minutes). Set it to 4000.

tick-inactive-villagers: This option prevents ticking of villagers outside activation range. Set it to false.


4. 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