Optimizing Minecraft Server Performance
Is your Minecraft server lagging? Follow these tips to improve performance and keep your players happy.
Understanding TPS
TPS (Ticks Per Second) measures server performance:
- 20 TPS = Perfect performance
- 15-19 TPS = Minor lag
- Below 15 TPS = Noticeable issues
Check your TPS with: /tps (requires a plugin like EssentialsX)
Quick Wins
1. Use Paper Instead of Spigot
Paper includes many performance optimizations out of the box.
2. Limit View Distance
In server.properties:
view-distance=8 simulation-distance=6
3. Pregenerate Your World
Use a plugin like Chunky to pregenerate chunks:
/chunky radius 5000
/chunky start
Advanced Optimization
paper.yml Settings
max-auto-save-chunks-per-tick: 6 optimize-explosions: true mob-spawner-tick-rate: 2 container-update-tick-rate: 3
Limit Entities
Too many mobs cause lag:
# bukkit.yml spawn-limits: monsters: 50 animals: 10 water-animals: 5 ambient: 1
When to Upgrade
If you've optimized everything and still have lag:
- Consider upgrading to a higher plan
- More RAM = More players + plugins
- Better CPU = Higher TPS