When players explore new areas, your Minecraft server has to generate the chunks there on the spot. This uses a lot of CPU and RAM and can quickly cause lag, especially when several players are exploring at the same time. A better option is to generate the world in advance (pregenerate it). This way, the chunks are already stored on disk and only need to be loaded while players are playing.
Minecraft doesn’t include a feature for this. The easiest way is to use Chunky, a free chunk pregenerator available as both a plugin and a mod. This guide explains how to install Chunky on your game server, pregenerate your world, and use its commands.
Chunky doesn’t work on a pure Vanilla server. It requires a server type that loads plugins or mods:
| Server type | Chunky as | Tab in the web interface |
|---|---|---|
| Paper, Spigot, Purpur | Plugin | Plugins |
| Fabric, Forge, NeoForge | Mod | Mods |
If your server is currently running Vanilla, switch the server type under Games & Variants. Our guide to Switching Games explains how. For pregenerating only, we recommend Paper: Paper generates chunks much faster than Vanilla or Spigot.
Each variant has its own data folder on your server. For example, if you switch from Vanilla to Paper, Paper will initially start with a new world. To keep using your existing world, transfer it as described in Adding Your Own World.
Chunky is only available for the Java Edition. You can’t use Chunky for Minecraft Bedrock Edition.
| Command | Description |
|---|---|
chunky start | Starts generation for the current selection |
chunky pause | Pauses ongoing generation and saves your progress |
chunky continue | Resumes ongoing or saved generation |
chunky cancel | Cancels generation and discards your progress |
| Command | Description |
|---|---|
chunky world [Welt] | Selects the world to generate |
chunky shape [Form] | Sets the shape, e.g. square (default), circle, rectangle, or ellipse |
chunky center [x] [z] | Sets the center; if omitted, your current position is used |
chunky radius [Radius] | Sets the radius in blocks, e.g. 5000, 10k, or 625c |
chunky spawn | Sets the center to the world spawn point |
chunky worldborder | Uses the center and radius of the world border |
chunky corners [x1] [z1] [x2] [z2] | Defines the selection using two corner points |
chunky pattern [Muster] | Sets the generation order; the default is usually fine |
chunky selection | Shows the current selection |
| Command | Description |
|---|---|
chunky progress | Shows the progress of all generation processes in-game |
chunky silent | Turns progress messages off or on again |
chunky quiet [Sekunden] | Sets how often progress messages appear |
chunky reload | Reloads the Chunky configuration |
chunky trim | Deletes chunks outside the selection |
chunky trim permanently deletes chunks, including everything built in them. Make sure to create a backup in the Backups tab first, and restart the server after trimming.
