Region Data - Z0rdak/Yet-Another-World-Protector GitHub Wiki
The region data is stored as NBT in the data directory of your world.
Although there are some editors out there to edit NBT data, I suggest not changing it manually, unless you know what you are doing. It may lead to region data loss.
The region data is saved automatically
- on every command that manipulates region data
- cyclic on set interval
- graceful server shutdown/client world close
- running
/save-all
on the server
When running YAWP on the client (LAN mode) it is located in <your-world-name>/data/
.
When running YAWP on a dedicated server, it's located in world/data/
.
Pre Minecraft version 1.21.5 the region data is saved in one single file named yawp-dimensions.dat
.
With 1.21.5 the way the region data is stored changed quite a bit. The region da is saved across multiple file, all stored in directory called yawp
(see screenshot below).
-
dimensions.dat
: Stores a list of dimensions/levels managed by YAWP. -
global.dat
: Stores the region data for the Global Region
Additionally, there is one file, for every dimension/level managed by YAWP. Those are named like the dimension/level itself.
Here you find the region data of the Dimensional Region for this dimension, as well as the Local Regions defined in this dimension.
For the overworld and nether this would be
-
minecraft:overworld
=>minecraft_overworld.dat
-
minecraft:the_nether
=>minecraft_the_nether.dat
These files should match the list of the dimensions/levels in the dimensions.dat
file.