Optimization & a steady 20 TPS
Hardware is half the battle — configuration is the other half. Here are proven settings.
On this page
Diagnosing lag
console
tps
spark profiler start --timeout 120
spark healthThe Spark report shows which plugins, entities or chunks are putting load on the server.
Paper settings
config/paper-world-defaults.yml
chunks:
max-auto-save-chunks-per-tick: 8
entities:
spawning:
despawn-ranges:
monster:
hard: 96
soft: 32
environment:
optimize-explosions: truePre-generating the world
Generating new chunks is the heaviest operation. Generate the map in advance with the Chunky plugin:
console
chunky radius 5000
chunky startOptimization mods (Fabric)
- Lithium — game logic optimization
- FerriteCore — lower RAM usage
- C2ME — faster chunk loading
Was this page helpful?