Guide · Worlds and backups

How to fix a corrupted world

World corruption usually comes from a crash during saving, a full disk, a removed mod, or opening a world on an older version. It is often fixable, and the fix depends on which part is broken.

First, stop and copy

Stop the server and make a copy of the broken world before you change anything. Recovery attempts can make things worse, and a copy lets you try again.

Find what is broken

Read the console or the crash report. Errors naming a chunk position or region file such as r.2.-1.mca point at specific chunks. Errors about level.dat point at the world's main data file. A crash that names an entity or block entity points at one object inside a chunk.

The easy fix: restore a backup

If you have a recent backup, restoring it is the fastest and most reliable fix. You can also restore only the affected region file from the backup, which keeps progress elsewhere.

Removing bad chunks

MCA Selector is a free desktop tool that opens a world and shows every chunk. Download the world, select the broken chunks or a whole region, delete them, and upload the world again. Deleted chunks regenerate from the seed as fresh terrain, so builds in those chunks are lost.

For a crash caused by one entity, Paper often logs the entity and its location; removing that entity, or the chunk it is in, fixes the crash.

A damaged level.dat

Minecraft keeps a previous copy called level.dat_old. Rename the broken level.dat, then copy level.dat_old to level.dat. You might lose recent changes to time, weather or game rules, but the terrain is unaffected.

StormNodes Minecraft hosting

Run it on a StormNodes server

Skip the port forwarding and the PC that has to stay on. A StormNodes Minecraft server is online in minutes, and everything in this guide can be done from the panel.

  • Hosted in Portugal, close to players across Western Europe
  • NVMe storage, monthly billing and no setup fee
  • Paper, Purpur, Fabric and vanilla, switchable from the panel
  • Live console, file manager, SFTP, backups and schedules
  • Support in English and Portuguese

FAQ

Frequently asked questions

What causes Minecraft world corruption?
Most often a crash or forced stop while saving, running out of disk space, removing a mod that added blocks, or loading the world on an older version.
Can a corrupted chunk crash the whole server?
Yes. If the chunk is near spawn or near a player, the server can crash every time it loads. Removing that chunk usually stops the crashes.
How do I prevent world corruption?
Stop the server properly instead of killing it, keep free disk space, back up daily and before updates, and never open a world on an older version.