Startup Parameters
| Parameter | Example | Description |
|---|---|---|
-name | -name "Midgard" | Server name shown in the server browser. |
-world | -world "Dedicated" | World name. Must match the world file names (Dedicated.db/Dedicated.fwl). A new world is generated if none exists. |
-password | -password "odinrules" | Join password. Minimum 5 characters, and it must not be contained in the server name. |
-port | -port 2456 | Game port. The server uses this port and the next two (2456–2458 by default). |
-public | -public 1 | 1 lists the server in the community browser; 0 hides it (joinable via IP/favorites only). |
-crossplay | -crossplay | Enables crossplay via a join code so non-Steam players can join. Omit for Steam-only. |
-savedir | -savedir "/path" | Custom save location for worlds and lists. Usually leave at the panel default. |
-saveinterval | -saveinterval 1800 | Seconds between world saves (default 1800 = 30 minutes). |
-backups | -backups 4 | Number of automatic rolling world backups the server keeps. |
-backupshort | -backupshort 7200 | Seconds until the first automatic backup (default 7200). |
-backuplong | -backuplong 43200 | Interval in seconds for subsequent backups (default 43200). |
Edit in the Startup tab
Open your server in the Game Panel and go to Startup. Edit the variables (name, world, password, etc.) — the panel assembles them into the launch command for you.
Restart the server
Startup parameters are read only at boot. Restart the server to apply any change.
World Files
Your world consists of two files, stored in the server’sworlds_local folder:
| File | Contents |
|---|---|
WorldName.db | The world itself — terrain modifications, buildings, items, player-placed everything |
WorldName.fwl | World metadata — name and seed |
-world parameter. The server also writes rolling .db.old/backup copies alongside them depending on your backup parameters.
Uploading an Existing World
Want to move the world you’ve been hosting from your PC onto the server? Your local worlds live at:Stop the server
Never swap world files while the server is running — a save would overwrite your upload.
Upload the .db and .fwl files
Using the panel File Manager or SFTP (see file management), upload both
YourWorld.db and YourWorld.fwl into the server’s worlds_local folder.Set the world name
In the Startup tab, set
-world to the exact base name of the files (e.g. YourWorld — no extension, case matters).Save Behavior
- The world autosaves every 30 minutes by default (
-saveinterval) and saves on graceful shutdown. - Always stop the server from the panel rather than killing it, so the final save completes.
- The
-backups,-backupshort, and-backuplongparameters control Valheim’s own rolling world backups — these complement (not replace) the panel’s backup system, which snapshots your whole server.
Common Questions
Can I run multiple worlds on one server?
Can I run multiple worlds on one server?
You can store multiple world file pairs in
worlds_local, but the server loads only one at a time — whichever -world points to. Switch worlds by changing the parameter and restarting.How do I regenerate the world from scratch?
How do I regenerate the world from scratch?
Stop the server, delete (or rename) the world’s
.db and .fwl files, and start again — a fresh world with a new seed generates under the same -world name. Back up first.Can I remove the password?
Can I remove the password?
Not on a standard dedicated server — Valheim requires a password of at least 5 characters. Use
permittedlist.txt (whitelist) on top of it for a truly private server; see admin commands.Ready for a bigger world?
Valheim hosting from €7.49/month on Ryzen X3D hardware — and upgrading your plan keeps every file, world included.

