Where did DIM-1 and playerdata go in Minecraft 26.1?
Minecraft 26.1 moved DIM-1, DIM1 and playerdata under dimensions/ and players/. What that does to backup scripts, and a script that still works.
Quick answer Since Minecraft 26.1, the Overworld lives in
dimensions/minecraft/overworld, the Nether indimensions/minecraft/the_nether(notDIM-1), the End indimensions/minecraft/the_end(notDIM1), and player files are underplayers/data,players/statsandplayers/advancements(notplayerdata,stats,advancements) [1][2]. A backup script that lists those old paths by hand will quietly save almost nothing. Back up the wholelevel-namefolder instead, and make the script check that the new paths are in the archive.
This post is about the backup side. The full 26.x folder tree and the host-move steps are in Migrate a Minecraft world to a new host, and the update walkthrough is in How to update a Minecraft server without losing your world. I will not repeat those.
The old-to-new map
Mojang’s snapshot 6 notes list the moves [1]. The wiki’s 26.1 page adds that the top-level data folder is now only for data shared across dimensions, and that files in it are namespaced, so scoreboard.dat is now data/minecraft/scoreboard.dat [2].
| Before 26.1 | 26.1 and later |
|---|---|
region/, entities/, poi/ in the world root |
dimensions/minecraft/overworld/ |
DIM-1 |
dimensions/minecraft/the_nether |
DIM1 |
dimensions/minecraft/the_end |
playerdata/ |
players/data/ |
stats/ |
players/stats/ |
advancements/ |
players/advancements/ |
data/scoreboard.dat |
data/minecraft/scoreboard.dat |
resources.zip in the world root |
resourcepacks/ |
Paper before 26.1 kept dimensions in separate folders in the server root, which is why old Paper scripts name world_nether and world_the_end (those two names are common practice, not something Paper’s announcement spells out). Paper’s announcement says dimensions are now split into folders in world/dimensions/, and that per-world paper-world.yml files moved into the dimension folders [4]. The Paper docs give the location as world/dimensions/<namespace>/<key>/paper-world.yml [5].
Per-player files keep their names: <uuid>.dat for player data, <uuid>.json for statistics and for advancements, each in its own folder [3]. Two smaller changes matter if you restore things by hand. The Ender Dragon fight state moved out of level.dat, and for the End it now sits in dimensions/minecraft/the_end/data/minecraft/ender_dragon_fight.dat [2][3]. And level.dat no longer has a Player tag. It has singleplayer_uuid, which points at the player data file to use [2][3].
How an old backup script fails without telling you
The failure is quiet, so here is a typical hand-written script line from the 1.21 era, run against a 26.1-style folder. I built a throwaway directory with the new layout in it, not a real server, so the folder names are the only thing that is real:
tar -czf old.tar.gz world/region world/playerdata world_nether world_the_end
tar: world/region: Cannot stat: No such file or directory
tar: world/playerdata: Cannot stat: No such file or directory
tar: world_nether: Cannot stat: No such file or directory
tar: world_the_end: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
exit=2
-rw-r--r-- 1 user user 45 old.tar.gz
A 45-byte archive containing nothing. It still gets created. If the script runs from cron, nobody reads that stderr, and the files in your backup folder look normal until the day you need one. cp -r world/playerdata ... fails the same way. A script that rsyncs “the folders that matter” has the same flaw.
If you do one thing after updating, run your backup once and look at the size and the contents:
ls -lh /path/to/backups | tail -3
tar -tzf /path/to/backups/latest.tar.gz | head -30
What you should see: level.dat, a dimensions/minecraft/ folder with overworld, the_nether and the_end under it, and a players/data/ folder with one .dat per player who has joined. If the archive is a fraction of last week’s size, the script is naming paths that no longer exist.
Back up the whole folder, then prove it
The fix is to stop choosing folders. Archive the entire folder named by level-name, and the next layout change cannot skip anything. Selective backups only exist to save disk space.
Order matters too. The wiki says save-off stops the server writing level files “except player, advancement, stat files”, save-all flush writes every player and chunk to disk immediately and freezes the server for a short time, and save-off resets on restart [6]. So the safe sequence is save-off, save-all flush, copy, save-on [6], which the backup automation post explains. The exception matters more now that all player files sit together under players/. A live copy can still catch one of them mid-write. For your last copy before an upgrade, stop the server instead.
Below is a script for a Linux box where you can run mcrcon [7] against your own server. It needs RCON on, and the RCON setup and security post covers that and why the port should stay firewalled. Put the password in the environment, not in the script.
#!/usr/bin/env bash
# Back up a Java 26.1+ world. Needs mcrcon and MCRCON_PASS in the environment.
set -euo pipefail
SERVER_DIR=${SERVER_DIR:-/srv/minecraft}
DEST=${DEST:-/srv/backups}
KEEP=${KEEP:-7}
: "${MCRCON_PASS:?set MCRCON_PASS first}"
LEVEL=$(sed -n 's/^level-name=//p' "$SERVER_DIR/server.properties")
LEVEL=${LEVEL:-world}
OUT="$DEST/$LEVEL-$(date +%F-%H%M).tar.gz"
LIST=$(mktemp)
# Always turn saving back on, even if tar fails.
trap 'rm -f "$LIST" "$OUT.tmp"; mcrcon -H 127.0.0.1 -P 25575 save-on >/dev/null || true' EXIT
mcrcon -H 127.0.0.1 -P 25575 -w 2 save-off "save-all flush" >/dev/null
sleep 5
tar -czf "$OUT.tmp" -C "$SERVER_DIR" "$LEVEL"
# Fail loudly if the archive lacks the 26.1+ paths.
tar -tzf "$OUT.tmp" > "$LIST"
for p in level.dat dimensions/minecraft/overworld/region players/data; do
grep -q "^$LEVEL/$p" "$LIST" || { echo "backup is missing $LEVEL/$p" >&2; exit 1; }
done
mv "$OUT.tmp" "$OUT"
ls -1t "$DEST/$LEVEL"-*.tar.gz | tail -n +$((KEEP + 1)) | xargs -r rm --
echo "ok $OUT $(du -h "$OUT" | cut -f1)"
Run it from cron, for example 15 4 * * * MCRCON_PASS=... /usr/local/bin/mc-backup.sh, with the password coming from wherever you keep secrets.
What I ran: the script’s logic, with mcrcon replaced by a stub that logs its arguments and with sleep set to 0, against two fake folders. The 26.1-style folder produced an archive and exit 0. A folder with only the old region and playerdata made it print backup is missing world/dimensions/minecraft/overworld/region and exit 1, with save-on still sent afterward. Retention kept the newest files. What I did not run: a real Minecraft server. Two things are unverified. The -w flag sets a delay between commands [7], but I do not know whether the RCON reply to save-all flush waits for the flush to finish, which is why there is a sleep 5; treat the number as a guess. The mcrcon README does not document exit codes, but its source (mcrcon.c in the repo [7]) calls exit(EXIT_FAILURE) when the connection fails and prints “Authentication failed!” and exits with failure on a bad password, so under set -e the script stops before tar. I read that code and ran the script against a stub that exits 1 (no archive written); I did not run real mcrcon against a stopped server, so do that once yourself.
The script checks the 26.1+ paths on purpose. Run on a pre-26.1 world it will refuse, and that is the right behavior, because a script written for one layout should not pretend to back up the other.
Restoring and single-piece restores
Do restores with the server stopped.
A whole-folder archive restores as a whole folder. Rename the live folder out of the way (do not delete it), extract the archive, confirm level-name still matches, and start. If a player lost their inventory, copy their <uuid>.dat from your backup’s players/data/ into the live players/data/ while the server is stopped [3]. The same goes for players/stats and players/advancements.
Restoring one dimension is where the new layout hurts. If you replace dimensions/minecraft/the_end/region from a backup but leave the folder’s data/ alone, the dragon fight state stays at whatever it is now [2][3]. Swap the whole the_end folder, or you will have an old End with a new fight. Same idea for Paper: paper-world.yml sits in the dimension folder [4][5], so a region-only restore keeps the current settings file. That is probably what you want, but it is worth knowing.
The one-way door applies to backups too. Mojang’s snapshot 6 notes say that after a world is upgraded you will not be able to load it in an older version [1], and the Paper announcement says backups are “absolutely mandatory” and that you cannot downgrade [4]. Your newest archive on the old version is the only way back. Copy it to a name outside your rotation (for example world-last-before-upgrade.tar.gz) before you update, so seven days of rotation do not eat it.
Plugins that remember a world path
I could only check one. BlueMap’s map config has a world key, documented as the path to the save folder of the world to render, and a separate dimension key with values like minecraft:the_nether [8]. That page does not mention 26.1, so I cannot tell you whether an existing BlueMap setup needs changes. Check the plugin’s own release notes before the update. The same goes for anything else that stores a path: map plugins, restore tools, and the backup plugin you installed two years ago.
If a plugin stops finding a world after the update, look at the path it was given before assuming the world is damaged. The files are usually fine and the plugin is looking where they used to be.
Questions people ask
Where is the Nether in a Minecraft 26.1 world folder?
In dimensions/minecraft/the_nether inside your world folder. The old DIM-1 folder is gone for worlds that have been upgraded, and so is the End's DIM1, which is now dimensions/minecraft/the_end [1].
Where did playerdata go?
To players/data, with stats in players/stats and advancements in players/advancements. The files inside are still named by player UUID [1][3].
Do old backups still work on 26.1?
They are valid, but they are in the old layout. Mojang's snapshot 6 notes say that after a world is upgraded you cannot load it in an older version at all [1], and Paper says the same for 26.1 [4], so keep your last pre-upgrade archive as the only way back.
Will my old tar or rsync backup script fail?
Probably not loudly. A script that names the old folders by hand can finish with an almost empty archive. Check the archive size and contents, or switch to copying the whole level-name folder.
Sources
- Minecraft Java Edition 26.1 Snapshot 6 (minecraft.net)
- Minecraft Wiki: Java Edition 26.1
- Minecraft Wiki: Java Edition level format
- PaperMC: Paper 26.1 announcement
- PaperMC docs: World configuration reference
- Minecraft Wiki: save-all, save-off, save-on commands
- mcrcon README (Tiiffi/mcrcon on GitHub)
- BlueMap wiki: Maps configuration