Valheim dedicated server guide

By the Max Hosting team · Updated 12 November 2026 · 2 min read

A dedicated server keeps your Valheim world running when the host is offline, so everyone can play whenever they want. Here's how joining, admins, worlds and backups work.

How players join

  • With the join code: with crossplay on, the server shows a six-digit code once it's ready. In Valheim, choose Join Game and Add server, and enter the code. It changes every time the server starts.
  • With the IP address and port: the same place, with the address from the server's page. This one stays the same.
  • From the server list: a public server shows up by its name after a few minutes.

Crossplay lets Steam, Xbox, Game Pass, PlayStation 5 and Switch 2 players play together.

The password must be at least 5 characters and can't be part of the server's name, or the server won't start.

Make someone admin

Admins are listed in adminlist.txt, one per line, as platform and ID:

Steam_76561198000000000

The console shows each player's ID when they connect. Stop the server, add the line, and start it. Admins on PC open the console in the game with F5 and can use kick, ban, unban, save and, with devcommands, the cheat commands.

permittedlist.txt works the same way: when it has IDs, only those players can join. bannedlist.txt keeps players out.

Bring your own world

On a PC, your worlds are in %userprofile%/AppData/LocalLow/IronGate/Valheim/worlds_local. Each world is two files, a .db and a .fwl.

  1. Stop the server.
  2. Rename your two files to the server's world name. On Max Hosting that's Dedicated.db and Dedicated.fwl.
  3. Upload them to .config/unity3d/IronGate/Valheim/worlds_local on the Files tab, replacing the ones there.
  4. Start the server.

Characters are saved on each player's own device, not on the server, so everyone keeps their character, gear and skills.

Backups

The server saves every 30 minutes and keeps its own backups next to the world, named Dedicated_backup_auto- with the date and time. To go back: stop the server, move Dedicated.db and Dedicated.fwl aside, copy a backup's .db and .fwl to those names, and start.

Common problems

  • "Incompatible version": restart the server so it updates, and players update Valheim. On Steam, players on the public-test branch switch back under the game's Properties → Betas.
  • No join code: the server is still starting; it shows within a minute or two. Players can join with the IP address meanwhile.
  • Lag near one player: Valheim lets the first player in an area run it, so one slow PC or connection lags everyone nearby. Big bases with many fires, chests and items lag too.

What about mods?

Mods like Valheim Plus need BepInEx on the server and the same mods on every player's game, and console players can't use mods at all. Max Hosting's Valheim servers are vanilla with crossplay, so everyone can join.

Questions

How many players can a Valheim server have?

The game allows 10 players on a server.

Does my character stay if I play on another server?

Yes. Characters are saved on your own device, so you can bring the same character to any world.

Can I change world modifiers like combat or death penalty?

Yes. On Max Hosting they're set in the server's start command, so ask Support and they change them for you.

Read next