PROMO Get 10% off any server with code: START Limited-time offer

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 health

The 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: true

Pre-generating the world

Generating new chunks is the heaviest operation. Generate the map in advance with the Chunky plugin:

console
chunky radius 5000
chunky start

Optimization mods (Fabric)

  • Lithium — game logic optimization
  • FerriteCore — lower RAM usage
  • C2ME — faster chunk loading