How to Add a Savegame to Your Eco Server ​
The save of an Eco server consists of two files located in the folder /Storage/ that always belong together:
| File | Content |
|---|---|
Game.db | Database containing the world and all objects |
Game.eco | State of the world, including players, economy and laws |
Important
The two files reference each other. Always transfer them together – a single file does not make a valid save.
Find your local savegame ​
If you want to move over a world you hosted yourself, you can find the files in the installation folder of the game:
…\Eco\Eco_Data\Server\StorageIt contains a .db and an .eco file as well. You need both of them for the upload.
Upload the savegame ​
Stop the server
Stop your server via the dashboard. While the server is running it constantly writes to the save.Connect via SFTP
Connect to your server via SFTP.Open the directory
Navigate to the following directory:/Storage/Secure the old files
Download the existing filesGame.dbandGame.ecoor create a backup in case you want to switch back later. Delete them afterwards.Warning
This step removes the current save of your server. Secure it beforehand – see Download savegame.
Upload the new files
Upload both of your save files into the same directory.Rename the files
Rename the files exactly like this:Game.db Game.ecoWhy exactly these names?
On startup the server loads the save that is entered under
SaveNamein/Configs/Storage.eco. By default this isGame– which is why the files have to be namedGame.dbandGame.eco. Alternatively you can enter the name of your files there.Start the server
Start your server. The uploaded save is now loaded.
Reset the world ​
If you want to start with a freshly generated world, remove the existing save:
Stop the server
Stop your server via the dashboard.Create a backup
Secure the current state in case you need it again – see Create backup.Remove the save
Delete the filesGame.dbandGame.ecoin the directory/Storage/. Alternatively you can rename them, for example toGame.db.oldandGame.eco.old.Note
If the server does not find files with the expected names on startup, it automatically generates a new world. Also delete or rename the folder
/Storage/Backup/– it holds the automatic snapshots of the server the old state can come back from. Download the snapshots beforehand if you still need them.Start the server
Start your server. Generating the world can take a few minutes on the first start.
World size and seed
The settings for a new world are located in /Configs/WorldGenerator.eco. They only affect newly generated worlds – an existing world does not change because of them. Both dimension values have to be identical and divisible by 4.
Further save settings ​
The file /Configs/Storage.eco controls how and where the save is stored:
| Setting | Meaning |
|---|---|
SaveName | Name of the save file that is loaded on startup |
StorageDirectory | Folder the saves are placed in |
SaveFrequency | How often the server writes to disk, in seconds |
NewGameTemplate | File a new world is created from. If nothing is entered, the world is generated |
Warning
Changes to the configuration files only take effect after a restart of the server.