In Mindustry a save is a single file with the extension .msav. Your server reads it from the folder /config/saves/.
Upload the savegame
-
Stop the server
Stop your server via the dashboard. If a game is running, the server might otherwise overwrite your file with an auto-save. -
Connect via SFTP
Connect to your server via SFTP. -
Open the directory
Change into the following directory:/config/saves/ -
Upload the file
Upload your.msavfile directly into this folder. Do not create subfolders – the server only reads files that sit directly in the folder. -
Start the server
Start your server via the dashboard. -
Open the console
Open the console of your server in the dashboard. -
List the saves
Check whether your save was detected:savesThe server lists all slots it found, without the extension.
-
Load the save
If a game is already running, end it first withstop. Then load your save:load myworldYour server then hosts the loaded state and players can join.
Load a save automatically on startup
To make your server load the same save on its own after a restart, store a startup command in the console:
config startCommands load myworld
Find your local savegame
Your singleplayer saves are stored on your PC in the Mindustry data directory:
| System | Path |
|---|---|
| Windows | %AppData%\Mindustry\saves\ |
| Linux | ~/.local/share/Mindustry/saves/ |
| macOS | ~/Library/Application Support/Mindustry/saves/ |
Add a custom map
Maps are not saves but a separate file type – they live in a different folder, although they also use the .msav extension.
-
Upload the map
Upload the.msavfile of your map via SFTP into the following directory:/config/maps/ -
Reload the maps
Enter the following in the console of your dashboard:reloadmaps -
Check the map
List all custom maps:maps custom -
Start the map
End any running game withstopand then start your map:host my_map
