Optimizing bukkit.yml to Reduce Lag

NOTE: This article is specifically for Minecraft Java Edition servers, and depends on CraftBukkit, Spigot, or Paper to work.

Nobody likes lag. Thankfully, we have cool Minecraft server software that can optimize the performance of your server. This guide will show you the settings offered by Bukkit that you can take advantage of to optimize your server’s performance.

Below is a list of settings from bukkit.yml and our recommended values for optimal performance in the order of most impact to least impact on performance. For help editing this file, reference our guide on modifying your Bukkit configuration.

OPTION DESCRIPTION RECOMMENDED VALUES
spawn-limits
You can adjust these options to increase or decrease the number of mobs spawning in your world per player. Take a look at mob-spawn-range in spigot.yml (if you have it) to move mobs closer to the player if you reduce these numbers here. "Ambient" refers to bats. animals: 8
monsters: 50
water-animals: 3
ambient: 1
chunk-gc
period-in-ticks
By reducing this number your server will unload empty chunks faster, allowing more resources to go towards chunks that players are actually in.

Default: 600
Optimized: 400

ticks-per
monster-spawns
Instead of trying to spawn mobs with every tick, you can tell the server to spawn in mobs less frequently by increasing this number. Try not to go higher than 4 unless mob spawning causes a lot of lag on your server.

Default: 1
Optimized: 4

If you’re running a Spigot or Paper server, you can further optimize your server with even more options. You can learn more about optimizing Spigot with our guide on optimizing Spigot’s spigot.yml. If you’re running PaperMC, learn more about optimizing Paper with our guide on optimizing Paper’s paper.yml.

Credit to Celebrimbor for their Server Optimizations Guide on SpigotMC.

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • lag, Minecraft Java Edition, Minecraft PC, Spigot, Bukkit, Bukkit Config, Bukkit.yml
  • 61 Users Found This Useful
Was this answer helpful?

Related Articles

How to Analyze a Timings v2 Report

Pre-requisites: You can create a timings report by following our guide. Once you have the...

Optimizing spigot.yml to Reduce Lag

NOTE: This article is specifically for Minecraft Java Edition servers, and depends on Spigot or...

How to Allocate More Memory to your Minecraft Client

When you are running a large variety of plugins or mods on your server, sometimes your client...

How to Analyze any Timings Report

Are you experiencing lag on your Minecraft server? Lag can be eliminated by finding and resolving...

How to Enable Startup Parameters on Your Server

A startup parameter is an advanced instruction for your server that is issued when the server...