Server Stuck on Loading
Your server boots but never finishes starting: the console freezes on a spawn-area percentage and players cannot join. This is almost always a world-generation problem, not a crash, the server is alive but unable to build the chunks around spawn.
What does this error mean?
Before a world goes live, Minecraft must generate and load the spawn chunks. When the console stalls on 'Preparing spawn area: 0%' (or climbs a few percent and hangs), chunk generation is either extremely slow or stuck entirely, so startup never completes.
Preparing spawn area: 0%
Most Common Causes
- Heavy world generation from large modpacks or custom biome/terrain mods.
- Corrupted spawn-region files that the server cannot read.
- A CPU that is too slow on single-thread performance for the worldgen load.
- Insufficient RAM, forcing constant garbage collection that stalls the main thread.
- A broken datapack or worldgen mod producing invalid structures.
How To Diagnose
- Rename the world folder and let the server create a fresh one.
- If the fresh world boots instantly, the original world data is the problem.
- Watch CPU and RAM during startup, a pegged single core points to worldgen, full RAM points to memory.
- Temporarily remove worldgen-related mods and datapacks, then retry.
- Reduce 'spawn-chunk-radius' (or set it to 1) in the server config to shrink the generated area.
Recommended Fixes
- Pre-generate chunks
Run Chunky or Chunk-Pregenerator so terrain is built ahead of time instead of all at boot. - Repair the spawn region
Open the world in MCA Selector and delete the damaged chunks around spawn so they regenerate cleanly. - Give it more resources
Increase allocated RAM and move to a host with stronger single-thread CPU performance. - Isolate worldgen mods
Remove terrain/biome mods one at a time to find the one that stalls generation.
Frequently Asked Questions
Yes. Minecraft regenerates any missing chunk automatically the next time it is needed.
Only if the stall is caused by memory pressure. If a single CPU core is maxed out, more RAM changes nothing.
On vanilla it is usually under a minute. Heavy modpacks can take several minutes on the first boot, which is normal.