Chunk Pre-Generation with Chunky: Eliminate Exploration Lag Forever

Published on

How to pre-generate your Minecraft world with Chunky to prevent lag when players explore new areas. Covers Paper and Fabric installation, radius planning, and performance impact.

Written by Space-Node Team – Infrastructure Team – 15+ years combined experience in game server hosting, VPS infrastructure, and 24/7 streaming solutions. Read author bio →

Nothing kills the exploration experience faster than chunk generation lag. When a player walks into unloaded territory, the server has to generate terrain, caves, structures, and biomes on the fly - consuming massive CPU resources and causing TPS drops that affect everyone online.

Pre-generating Minecraft worlds for smooth performance Pre-generation solves this by doing all that work before players arrive. Here's how.

What Is Chunk Pre-Generation?

Minecraft worlds generate lazily - chunks only exist once someone (or something) loads them. Pre-generation forces the server to create chunks in advance, saving the terrain data to disk so future loads are instant reads instead of expensive calculations.

For modded servers, this is even more critical. Modded terrain generation (biomes, structures, ores from tech mods) is significantly more expensive than vanilla.

Installing Chunky

Paper/Spigot/Purpur

  1. Download Chunky from Modrinth or SpigotMC
  2. Drop the JAR in your plugins/ folder
  3. Restart the server

Fabric

  1. Download the Fabric version from Modrinth
  2. Place in mods/ folder
  3. Restart

Running Pre-Generation

Basic command:

/chunky radius 5000
/chunky start

This generates a 5000-block radius circle around spawn (0,0) - covering a 10,000x10,000 block area.

Recommended Radii

| Server Type | Radius | Disk Space | Time (7950X3D) | |------------|--------|------------|-----------------| | Small Survival | 3,000 | ~2GB | 10-15 min | | Standard Survival | 5,000 | ~5GB | 25-40 min | | Large Survival | 10,000 | ~15GB | 2-3 hours | | Network Lobby | 500 | ~100MB | 1-2 min |

Advanced Options

Generate specific shapes:

/chunky shape square
/chunky radius 5000
/chunky start

Generate the Nether and End:

/chunky world world_nether
/chunky radius 2000
/chunky start

Pause and resume:

/chunky pause
/chunky continue

Performance During Pre-Generation

Pre-generation is CPU-intensive. On a Space-Node Ryzen 9 7950X3D server, Chunky generates roughly 500-800 chunks per second for vanilla and 200-400 for modded.

Tips for running pre-gen:

  • Run during off-peak hours or before your server opens
  • Pre-gen doesn't need to complete in one session - /chunky continue picks up where you left off
  • Monitor TPS with /tps - if it drops below 18 during pre-gen with players online, /chunky pause

When to Pre-Generate

  • Before server launch: Always. Pre-gen at least a 3,000-block radius before opening to players.
  • After version updates: New Minecraft versions often change terrain generation. New chunks will be different from pre-generated ones, creating chunk borders. Consider pre-generating a fresh world.
  • Before events: If you're hosting an exploration event, pre-gen the target area.
  • After adding terrain mods: Mods that change world generation will only affect newly generated chunks. Pre-gen ensures consistency.

World Border

Pair pre-generation with a world border to prevent players from going beyond pre-generated terrain:

/worldborder set 10000
/worldborder center 0 0

This sets a 10,000-block diameter (5,000 radius) border centered on spawn - matching a 5,000-radius pre-generation.

Storage Considerations

Pre-generated worlds use more disk space since chunks that might never be visited are already saved. Make sure your hosting plan has enough storage. Space-Node plans start at 50GB NVMe SSD, with higher plans offering up to 200GB - more than enough for even aggressively pre-generated worlds.

Pre-generation is a one-time investment that pays off in smoother gameplay for the entire life of your server. Spend the 30 minutes setting it up before launch, and your players will never experience that frustrating chunk generation stutter.

Space-Node Team

About the Author

Space-Node Team – Infrastructure Team – Experts in game server hosting, VPS infrastructure, and 24/7 streaming solutions with 15+ years combined experience.

Since 2023
500+ servers hosted
4.8/5 avg rating

Our team specializes in Minecraft, FiveM, Rust, and 24/7 streaming infrastructure, operating enterprise-grade AMD Ryzen 9 hardware in Netherlands datacenters. We maintain GDPR compliance and ISO 27001-aligned security standards.

View Space-Node's full team bio and credentials →

Start Minecraft Server in Minutes

Join content creators worldwide who trust our minecraft infrastructure. Setup is instant and support is always available.

Chunk Pre-Generation with Chunky: Eliminate Exploration Lag Forever