Chunky is a fast, easy, and safe tool for pre-generating chunks on your server.
Chunk generation in Minecraft is slow, which can sometimes cause server lag or slow chunk loading for players. Generating them upfront will help improve performance and gameplay on almost any server.
While you will normally notice a significant boost in server performance after you are done pre-generating your chunks, the process is quite intensive, and you may see server lag while generating. Generating large worlds can also use a lot of storage space.
To start generation, you should first select a world by using
chunky world <world>, and then the radius with
chunky radius <blocks>.
After that, you can run
chunky start to start generating.
It's a good idea to reinforce the pre-generated area by using a world border so that players don't explore too far in your world and generate new chunks. When doing this, you can also increase the radius by ~200 blocks (10 chunks) so that there is some buffer when players are right next to the border.
If you wish to pause or cancel pre-generation, you can run
chunky pause or
If it is paused, you can run
chunky continue to resume pre-generation.
The table below can be used to estimate the file size of your world after you generate it. The values below are for 2k by 2k blocks (1k radius). Note that every time you double the radius, the area (and correspondingly the disk space / time taken) increases by 4x.