Sometimes, worlds in Minecraft can become corrupted. This article explains how to fix broken worlds. Unfortunately though, corrupt worlds cannot be repaired on all maps.
This article assumes that you are running a Linux Minecraft server.
Step 1: Install Python
We are going to use a tool that’s programmed in Python. Therefore, we need Python installed on our server. If the following command returns a version:
python -V
Then Python is already installed. If not, install it with the following commands:
wget http://python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
tar xf Python-2.7.6.tar.xz
cd Python-2.7.6
./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall
Step 2: Download Minecraft-Region-Fixer
Minecraft-Region-Fixer is the tool we’ll be using. Download it by visiting its GitHub page and download the .zip
file of the latest version. Then upload it to your server. For example:
cd ~
wget https://github.com/Fenixin/Minecraft-Region-Fixer/archive/v0.2.1.zip
unzip Minecraft-Region-Fixer/archive/v0.2.1.zip
cd v0.2.1
Step 3: Fixing the corrupt world
Find the path of the corrupted world, and execute:
python regionfixer.py PATH
Replace PATH
with the path of the corrupted world. An example world file would be /home/minecraft/maps/corrupt
. The output from regionfixer.py
will tell you whether or not the world was recovered.