01
Why pre-generate the map
A Minecraft world is divided into chunks, columns of 16 × 16 blocks. As long as nobody has been to an area, its chunks do not exist: the server creates them when a player gets close. This generation (terrain, caves, biomes, structures) takes a lot of computing.
When several players explore at the same time, especially with elytra, the server has to generate hundreds of chunks a minute. The result: TPS drops, blocks take time to appear and everyone feels lag.
A chunk that has already been generated is simply read from disk. By generating the whole playable area in advance, you move this work to a time when it bothers no one. It is one of the most effective settings in the guide optimizing a Minecraft server, along with the view distance set in server.properties.
02
Install Chunky
Chunky exists for the main server software. Download it from Modrinth, Hangar or CurseForge, in the version that matches your server and your Minecraft version:
- Paper, Purpur or Spigot: the plugin version, to drop into the
plugins folder.
- Fabric: the Fabric version, in the
mods folder, with Fabric API.
- Forge or NeoForge: the matching version, in the
mods folder.
Restart the server. Chunky is installed on the server only: players have nothing to add. If you are new to plugins or mods, see essential Minecraft plugins and installing mods on a Minecraft server.
03
Start a pre-generation
Commands are typed in game (with the slash, as an operator) or in the server console (without the slash). A pre-generation takes three settings:
chunky world world
chunky center 0 0
chunky radius 5000
chunky start
chunky world: the world to generate. On Paper, the main world is called world (or the level-name value); on Fabric and Forge, you use the dimension name, such as minecraft:overworld.
chunky center: the center of the area, in X and Z coordinates. chunky spawn puts the center on the world spawn point.
chunky radius: the radius in blocks. With 5000, the area runs from −5000 to 5000 on each axis, that is 10,000 × 10,000 blocks.
chunky start: starts generating. If a task already exists for that world, Chunky asks you to confirm with chunky confirm.
While it generates:
chunky progress shows progress, speed and an estimate of the time left;
chunky pause pauses the task and saves where it stopped;
chunky continue resumes it, including after a server restart;
chunky cancel stops it for good (chunks already generated stay);
chunky silent turns off progress messages in the console.
04
Shape, Nether, End and world border
Shape. By default, Chunky generates a square. chunky shape circle switches to a circle, which skips the less-visited corners and cuts the number of chunks by about a fifth for the same radius.
The Nether and the End. Each world is generated separately: repeat the commands with chunky world world_nether then chunky world world_the_end on Paper. In the Nether, one block travelled equals eight blocks in the normal world: a radius eight times smaller is often enough (625 for a 5000 world).
The world border. Pre-generating is pointless if players can go beyond it: they would hit lag again as soon as they leave the area. Set a border of the same size:
worldborder center 0 0
worldborder set 10000
Careful: /worldborder set takes the diameter (the total width), while Chunky takes the radius. A Chunky radius of 5000 therefore matches a border of 10,000. The other way round, chunky worldborder takes the center and size of a border already in place.
The ChunkyBorder add-on, by the same author, creates a border that follows Chunky's selection exactly, including a circle (its commands are in its documentation). It also allows a different border for each world.
05
Disk space, duration and good practice
- Disk space: a large radius can take up several gigabytes, especially with world generation mods or datapacks. Size grows with the square of the radius: doubling the radius multiplies the area, and so the space, by four. Run a test on a small radius first, measure the size of the world's
region folder, then estimate.
- Without players: generation keeps the processor busy and slows the server down. Run it before opening, at night, or while access is closed with a whitelist (see Minecraft server whitelist).
- A sensible size: there is no need to generate a huge map for a dozen players. Start with the area they actually explore and expand later: Chunky skips chunks that already exist.
- Minecraft updates: a version's new generation features (biomes, structures) only appear in chunks created after the update. A fully pre-generated map will not get them.
- A backup first: on an existing world, keep a copy before starting a large generation.
06
On CloudFive
On our Minecraft hosting plans, Paper, Purpur, Fabric, Forge, NeoForge and Modrinth modpacks install in one click. You upload Chunky through the file manager or over SFTP, run the commands from the console in the client area manager.cloudfive.fr, and backups let you keep a copy of the world before you start.
Servers run in France on Ryzen 9 9950X, with DDR5 memory and NVMe storage, with Anti-DDoS Premium included. Plans are monthly, with no commitment, from €8, with support in French 7 days a week. To size the memory, see how much RAM for a Minecraft server.
07
Frequently asked questions
What is Minecraft map pre-generation for?
It creates the chunks of an area in advance, so the server no longer has to generate them while players explore. Generation takes a lot of computing; once it is done, chunks are simply read from disk and exploration lag goes away.
How do I use Chunky on a Minecraft server?
Install Chunky in plugins or mods, restart, then type chunky world world, chunky center 0 0, chunky radius 5000 and chunky start. The chunky progress command shows progress, and chunky pause and chunky continue pause and resume the task.
What radius should I choose with Chunky?
Start with the area your players actually explore, a few thousand blocks for a small server, and expand later if needed. Run a test on a small radius to measure disk space: the size is multiplied by four when the radius doubles.
Do I need a world border after pre-generating?
Yes, otherwise players can leave the generated area and hit lag again. Use /worldborder set with the diameter, that is twice the Chunky radius, or the ChunkyBorder add-on, which follows the shape of the selection exactly.
Can people play while Chunky generates the map?
They can, but generation keeps the processor busy and slows the server down. It is better to run it before opening or at night; chunky pause stops it when players arrive and chunky continue resumes it.