With PocketMine-MP a save is always a complete folder and never a single file. All worlds are stored in the worlds folder in the main folder of your server. Which world gets loaded is decided by the level-name entry in the server.properties file.
Structure of a world folder
worlds
|___ my_world
| |___ db
| |___ level.dat
| |___ levelname.txt
|___ my_second_world
|___ db
|___ level.dat
|___ levelname.txt
| File / folder | Content |
|---|---|
db |
The actual LevelDB database containing all chunks of the world |
level.dat |
World data such as seed, game rules, spawn point and time |
levelname.txt |
The world name as displayed in the game |
Find your local world
If you want to transfer a world from your Minecraft Bedrock client, you can find it in the following locations:
| Platform | Path |
|---|---|
| Windows (Bedrock 1.21.120 and newer) | %appdata%\Minecraft Bedrock\Users\<user ID>\games\com.mojang\minecraftWorlds\<world ID>\ |
| Windows Preview | %appdata%\Minecraft Bedrock Preview\Users\<user ID>\games\com.mojang\minecraftWorlds\<world ID>\ |
| Windows (before Bedrock 1.21.120) | %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\<world ID>\ |
| Android | /storage/emulated/<user ID>/Android/data/com.mojang.minecraftpe/files/games/com.mojang/minecraftWorlds/<world ID>/ |
Extract a world from a .mcworld file
Upload the savegame
-
Stop the server
Stop your server via the dashboard. While the server is running it constantly writes to the loaded world. -
Connect via SFTP
Connect to your server via SFTP or use the file browser in the dashboard. -
Open the directory
In the main folder of your server, navigate to the following folder:worlds -
Upload the world folder
Upload the complete folder of your world with all files it contains. Use a folder name without spaces or special characters, for examplemy_world. -
Open server.properties
In the main folder of your server, open the file:server.properties -
Enter the world name
Look for the following entry and set it to the folder name of your uploaded world:level-name=my_world -
Start the server
Save the change and start your server. On startup your uploaded world is now loaded.
Which worlds work?
| Origin of the world | Format | Support |
|---|---|---|
| Bedrock Edition up to 1.18.20 | LevelDB | Loaded directly |
| Bedrock Edition 1.18.30 and newer | LevelDB | Loaded directly, entities may not load |
| Minecraft Java Edition up to 1.12.x | McRegion / Anvil | Converted on load |
| PocketMine-MP 3 | PMAnvil | Converted on load |
| Minecraft Java Edition 1.13 and newer | Anvil | Not supported |
Let the server generate a new world
If the folder set under level-name does not exist, PocketMine-MP creates the world on startup. This is controlled by the following entries in server.properties:
| Entry | Meaning |
|---|---|
level-name |
Folder name of the world |
level-seed |
Seed of the new world |
level-type |
Generator used to create the world |
generator-settings |
Additional settings for the generator |
Manage multiple worlds
Additional worlds next to the main world are defined in the pocketmine.yml file in the main folder of your server:
worlds:
my_second_world:
seed: 123456
generator: FLAT
