In short
Chunky pregen means generating the chunks of your Minecraft world before players ever get there. First set the map edge with /worldborder, then give Chunky a center and radius and run /chunky start. Once it finishes, the server no longer has to generate terrain when players enter new areas, so most launch-day exploration lag and TPS drops go away.
In this guide
- What is chunk pre-generation and why does it help?
- Before you start
- Step 1: Set the map edge with a world border
- Step 2: Install the Chunky plugin
- Step 3: Start pre-generation
- How long does pre-generation take?
- How much disk space do you need?
- What to watch during pre-generation
- Common mistakes
- Next step: choosing a server for pre-generation
Chunky is a plugin that pre-generates part of your Minecraft world before players travel there. In short: first set the map edge with /worldborder, then let Chunky generate every chunk inside that border while the server is empty. On launch day, when players scatter in every direction, the server just reads finished chunks from disk instead of calculating new terrain. That removes exploration-related lag.
What is chunk pre-generation and why does it help?
A Minecraft world is made of 16×16-block vertical columns called chunks. When a player enters an area nobody has visited, the server builds that chunk from scratch: terrain shape, caves, biomes, structures like villages, trees and ores are all calculated one by one. This is one of the most expensive things a Minecraft server does.
With one player exploring, you barely notice it. But when ten players fly off in different directions on elytra or horses at launch, the server can't keep up: TPS drops, blocks load late and players get pulled back (rubber-banding). Pre-generation lets you pay that cost while nobody is online. Reading a finished chunk from disk is far cheaper than generating it.
Pre-generation only fixes lag caused by terrain generation. For lag from too many entities, large redstone machines or heavy plugins, see 12 checks for Minecraft server lag.
Before you start
- Server software: Chunky ships as separate builds for Bukkit-based servers such as Paper, Spigot and Purpur, and for Fabric and Forge. Download the build that matches your server.
- Backup: Pre-generation writes thousands of new file chunks to your world folder. Take a full backup first. See how to back up and restore a Minecraft server for the method.
- Disk space: Your world can grow several times larger. Read the disk space section below and make sure you have enough room.
- Timing: Run it during your server's quietest hours, or before launch with the whitelist on.
Step 1: Set the map edge with a world border
A world border is a visible boundary players can't cross. Without one, pre-generation is only half done, because players walk out of the finished area and trigger new chunk generation again. You can set it with the vanilla command:
/worldborder center 0 0
/worldborder set 10000This is where the most common mistake happens: /worldborder set takes a diameter (side length), while Chunky uses a radius. set 10000 creates a square 10,000 blocks wide, from −5000 to +5000. The Chunky equivalent is a radius of 5000.
If your spawn isn't at 0,0, center the border on your spawn coordinates. Use the table below to pick a map size. Chunk counts are math values for a square shape; the "who it's for" column is only a rough guide.
| Chunky radius | World border diameter | Approx. chunk count | Region files | Who it's for (guide) |
|---|---|---|---|---|
| 2,500 | 5,000 | ~97,700 | ~100 | Friend group, small survival |
| 5,000 | 10,000 | ~390,600 | ~400 | Mid-size community server |
| 7,500 | 15,000 | ~878,900 | ~900 | Busy survival, long season |
| 10,000 | 20,000 | ~1,562,500 | ~1,600 | Large community, economy server |
Each .mca region file holds 32×32, or 1,024, chunks; that's where the region counts in the table come from. Keep in mind that doubling the radius quadruples the chunk count.
Step 2: Install the Chunky plugin
- Download the Chunky build for your server software from an official source (Modrinth, Hangar or SpigotMC).
- Upload the file to the
pluginsfolder for Paper/Spigot, or themodsfolder for Fabric/Forge. - Restart the server and type
chunkyin the console to confirm the plugin responds.
Step 3: Start pre-generation
In-game, prefix commands with /; in the console, leave the slash off. This example generates the main world (usually named world) with a radius of 5000:
chunky world world
chunky center 0 0
chunky radius 5000
chunky shape square
chunky startIf you already set a world border, use chunky worldborder instead of entering the center and radius by hand. Chunky reads the values from the existing border, so there's no diameter/radius mix-up.
Commands to manage the task
| Command | What it does |
|---|---|
chunky progress | Shows percentage, chunks processed, speed and estimated time to finish. |
chunky pause | Pauses the task; progress is saved. |
chunky continue | Resumes a paused task or the remaining work after a restart. |
chunky cancel | Cancels the task completely. |
chunky quiet 60 | Limits console progress messages to one every 60 seconds. |
chunky silent | Turns progress messages off completely, or back on. |
For the Nether and the End
On Paper and Spigot, each dimension is a separate world with its own border. Since 1 block in the Nether equals 8 blocks in the Overworld, the common practice is to set the Nether radius to one-eighth of the Overworld radius:
chunky world world_nether
chunky center 0 0
chunky radius 625
chunky startIn the End, the outer islands are only explored after the dragon is defeated. If you like, you can also pre-generate world_the_end with a reasonable radius.
How long does pre-generation take?
There's no exact answer; the time depends on these factors:
- CPU: Terrain generation is CPU-heavy. Core count and single-core speed directly set the pace.
- Minecraft version: Newer versions (deep caves, tall mountains) generate heavier terrain than older ones.
- World generation plugins or datapacks: Custom terrain datapacks can slow generation noticeably.
- Disk speed: Many region files are written every second, so an NVMe disk makes a difference.
The best approach is to measure: start the task, then after a few minutes check the speed and ETA in the chunky progress output. If it's too long, use a smaller radius and expand the border as the season goes on.
How much disk space do you need?
The space a chunk takes on disk varies with terrain, structures and version, so instead of a fixed number we recommend measuring:
- Note the size of the
world/regionfolder before you start. - Check the folder size again when Chunky reaches about 5 percent.
- Multiply the difference by 20; that's roughly the extra space you'll need by the end.
As a rough guide, a 5000-radius Overworld often takes a few GB; at a 10,000 radius that figure gets close to four times larger. Add the Nether, the End and, most importantly, backups. If the disk fills up, world files can get corrupted. A good rule is to keep free space of at least twice your world size.
What to watch during pre-generation
- Reduce player load: The server works hard while Chunky runs. If possible, run it with the whitelist on or when nobody is online.
- Be ready for restarts: Chunky saves its progress. If the server restarts,
chunky continuepicks up where it left off; thecontinue-on-restartoption in the plugin'sconfig.ymlmakes this automatic. - Watch memory usage: A large radius on low RAM increases garbage collector pressure. If your server stutters often, review your JVM flags.
- Back up when it's done: A pre-generated world represents hours of processing. Back it up as soon as it finishes.
Common mistakes
- Mixing up diameter and radius:
/worldborder set 10000andchunky radius 10000are not the same area; the second is four times larger. - Pre-generating without a border: Lag comes back as soon as players leave the finished area.
- Using the wrong center: If spawn isn't at 0,0, one edge of the map ends up too close to spawn.
- Not planning disk space: If the task stops halfway because the disk is full, the world can be damaged.
Next step: choosing a server for pre-generation
Pre-generating a large map with Chunky needs both CPU and disk. For a radius around 5000 and a mid-size community, the OB-MC-4 Minecraft server with 4 CPUs, 12GB RAM and 60GB NVMe SSD is a good starting point. If you plan to keep a bigger map, Nether and End pre-generation and regular backups on the same server, the OB-MC-5 plan with 6 CPUs, 16GB RAM and 80GB NVMe SSD gives you more headroom.
OyunBulut Minecraft plans run in our Istanbul data center and come with DDoS protection, automatic setup and a web panel. If you get stuck, you can open a support ticket in Turkish. Wondering how to plan infrastructure as your player count grows? Read infrastructure plan for a 100+ player Minecraft server, and compare every option on our Minecraft server plans page.
Frequently asked questions
Can players be online while Chunky pre-generates the world?
Yes, but the task puts heavy load on the server, so players may feel lag. It's best to run it before launch or during the quietest hours, with the whitelist on.
Is worldborder set 10000 the same as Chunky radius 10000?
No. /worldborder set takes a diameter, while Chunky uses a radius. A border with a 10,000 diameter equals a Chunky radius of 5000.
Does Chunky start over if the server restarts?
No. Chunky saves its progress, and the chunky continue command resumes where it left off. The continue-on-restart option in config.yml makes this automatic.
Does pre-generation fix all server lag?
It only fixes lag caused by generating new terrain. Lag from entities, redstone or plugins needs separate analysis.
What radius should I use for the Nether?
Since 1 block in the Nether equals 8 blocks in the Overworld, the common practice is one-eighth of the Overworld radius, for example 625 instead of 5000.