How it shows
- The server crashes when a player enters a certain area; the log mentions
region,chunk,.mcaorFailed to load level.dat. - Chunks look reset or missing.
- The server hangs on Loading level forever.
Why it happens
Almost always an unclean shutdown: the process was killed while writing (the Kill button, running out of RAM, a disk that was full). Rarely a buggy mod or plugin that writes garbage.
In this order
- Stop the server cleanly. Do not keep restarting, because every start on a broken world can make it worse.
- Back up now (Backups → Create). Even a broken world is better than none while you work.
- level.dat broken? Rename
world/level.dat_oldtolevel.dat. Minecraft keeps the previous copy. - A single chunk? Note the coordinates from the log, delete the region file that contains them (
world/region/r.X.Z.mca, where X = blockX ÷ 512 rounded down, Z likewise). That area regenerates empty; everything else stays. - Still broken? Restore the newest backup, or only the world if the rest of the server is fine.
- No backup? Kowalski can try the region-file route for you and tell you what is lost. Beyond that, tools like MCA Selector on your PC can repair individual chunks, but that is a rabbit hole.
Prevent it
Use Stop instead of Kill, keep the disk from filling up, give modpacks enough RAM, and let a schedule take a backup every night.