When players explore, your server has to build new land, and that causes lag. Pre-generating builds it in advance, so exploring is smooth.
Before you start
You need the free Chunky plugin on a Paper or Purpur server. Install it from the Plugins page, or see Add a plugin manually. On Fabric, Forge or NeoForge, use the Chunky mod instead. The commands are the same.
Pre-generate your world
- Open Console.
- Choose how far out to generate. Type
chunky radiusand a number of blocks, likechunky radius 2000. - Type
chunky start.
Chunky shows its progress as it goes. It keeps running even if you close the panel.
Handy commands
chunky pause: pause itchunky continue: carry on where it left off
How big?
chunky radius 2000: good for most serverschunky radius 5000: bigger worlds, takes longer
A bigger radius takes longer, and uses more disk space.