When you start a new Valheim server for the first time, you might notice that the server only generates a .fwl file for your world, and the .db file is completely missing. This happens because the .db file (which holds all your actual world data) is only written after the first autosave cycle, which takes 20 minutes.
If your server is restarted or a player disconnects before those first 20 minutes are up, the .db file never gets created. As a result, the server will generate a brand new, empty world every time it restarts. Luckily, you can fix this easily by manually forcing the server to save.
Always make sure your server is completely stopped before you edit configuration files to prevent corruption!
Step 1: Add Yourself as an Admin
To use the manual save command, you first need to give yourself admin privileges on the server.
- Log into your MintServers panel and click Stop to shut down the server.
- Navigate to your Files tab.
- Click through your file manager to locate the
adminlist.txtfile inside your worlds directory. - Click on
adminlist.txtto open the text editor. - Add your platform ID to a new line in the file. If you are an Xbox player, it will look something like
Xbox_XXXXXXXXXXXXXXXX. Steam players will use theirSteam64 ID. You can find this ID by checking your server's Console logs right after you attempt to connect. - Click Save Content.
- Return to the Console tab and click Start to boot the server back up so your admin permissions take effect.
📁 .config
📁 unity3d
📁 IronGate
📁 Valheim
📁 worlds_local (or just 'worlds')
Step 2: Force a World Save
Now that you are recognized as an admin, you can force the server to generate the missing .db file immediately.
- Launch Valheim and connect to your server.
- Once you have fully loaded into the world, open the in-game chat by pressing the Enter key.
- Type
/saveinto the chat box and press Enter again. - Wait a few moments for the game to process the save command.
Step 3: Verify the File
To make sure the fix worked, let us check your server files one last time.
- Go back to your MintServers panel and open the Files tab.
- Navigate to your
worlds_localfolder again. - You should now see a
Dedicated.dbfile (or your specific custom world name.dbfile) sitting right next to your.fwlfile.
🛠️ Troubleshooting World Resets
Your world data is now properly saved! You can safely restart your server in the future without losing progress or having the world reset to a blank slate. If you need help finding your platform ID or getting the save command to work, no worries! Just open a support ticket and our team will gladly jump in and instruct you on how to get it sorted out.