Generating a new chunk is one of the most expensive things a server does. When ten players explore in different directions at once, TPS tanks. Pre-generating does the work in advance, while nobody is playing.
With Chunky (Paper, Fabric, Forge)
- Install Chunky from the *Plugins*/*Mods* tab.
- Decide on a size. A 5000-block radius (10 000 × 10 000) is plenty for a 20-player SMP and takes a few hours.
- Set a world border so nobody walks off the pregenerated area:
worldborder center 0 0thenworldborder set 10000. - In the console:
chunky radius 5000thenchunky start. Do this at night; the server is busy while it runs.chunky pause/chunky continueif players are on.chunky progressshows the status. - Repeat for the Nether:
chunky world world_nether,chunky radius 625(the Nether is 1/8 scale),chunky start.
Disk space
Roughly 1 GB per 2500-block radius for the Overworld. Check your disk before starting; upgrade in the dashboard if needed.
After a Minecraft update
New versions add new terrain features only to new chunks. Pre-generated areas keep the old look. If you want the new stuff, expand the border outward rather than regenerating.