Optimizing bukkit.yml
This guide will show you the settings offered by Bukkit that you can take advantage of to optimize your server’s performance.
1. spawn-limits
Feel free to customize these settings to regulate the quantity of mobs appearing per player in your world. Explore the "mob-spawn-range" parameter in spigot.yml (if available) to bring mobs nearer to players when reducing these values.
RECOMMENDED VALUES
animals: 8
monsters: 50
water-animals: 3
ambient: 1
2. chunk-gc -> period-in-ticks
Lowering this value will expedite the unloading of empty chunks on your server, thereby allocating more resources to chunks where players are actively present.
RECOMMENDED VALUES
Default: 600
Optimized: 400
3. ticks-per -> monster-spawns
Rather than attempting to spawn mobs every tick, you can instruct the server to spawn mobs less frequently by adjusting this value upwards. It's advisable not to exceed 4 unless mob spawning significantly impacts server performance.
RECOMMENDED VALUES
Default: 1
Optimized: 4
Updated on: 18/02/2024
Thank you!