Set up your Valheim server
This guide is based on a real OmneHosting Valheim server.
What to expect
Section titled “What to expect”- The game files are about 2 GB, so the first install takes a few minutes.
- After you press Start, the server was ready in about 7 seconds. Look for
Game server connectedin the Console. - Expect roughly 1.2 GB of memory in use right after starting.
- The Console shows some warnings that look scary but are normal for a server with no screen, such as
Failed to play intro cinematic, shader and HDR “not supported” lines, and a Steam interface message. You can ignore them.
Change the default password first
Section titled “Change the default password first”- Stop the server.
- Open Startup and set the server password. Valheim needs at least 5 characters.
- Save and start the server.
Join the server
Section titled “Join the server”Valheim servers with crossplay switched on (the default) register a join code. When the server starts, look in the Console for lines like:
Session <server name> registered with join code <6 digits>Session <server name> with join code <6 digits> and IP <address>:<port> is active with 0 player(s)- In Valheim, choose Start Game, then Join Game, then Join by code (or use the server list).
- Enter the 6-digit code and your server password.
The join code can change each time the server starts, so check the Console if it stops working.
If you would rather join by IP, use the address and port from the Network page. Valheim can also use the port right after yours for lookups. Only the port assigned to your server is reachable, so if joining by IP does not work, use the join code.
Where things are saved
Section titled “Where things are saved”Valheim keeps its files here:
| File or folder | What it is |
|---|---|
.config/unity3d/IronGate/Valheim/worlds_local/ |
Your world saves. The default world is named Dedicated. |
.config/unity3d/IronGate/Valheim/adminlist.txt |
Admins. Add one player ID per line. |
.config/unity3d/IronGate/Valheim/bannedlist.txt |
Banned players. |
.config/unity3d/IronGate/Valheim/permittedlist.txt |
Allowed players, if you use an allow list. |
The server saves the world automatically every 30 minutes and keeps rolling backups of it. You can also make a backup from the Backups page. See Backups.
Startup settings
Section titled “Startup settings”The server starts with the world name Dedicated, public listing on, and crossplay on. You can change the name, world, and password on the Startup page. See Valheim server settings and options.
Problems? See Valheim server problems.