A Valheim server for you and your friends
Why a dedicated server beats hosting from the game, how much memory a group needs and how to keep strangers out with a password and a whitelist.
Short answer
For a group of up to five players, 4 GB of memory is enough. In return you get a world that is online around the clock, without waiting for the host's PC to be switched on.
| Hosting from the game | Your own server | |
|---|---|---|
| World availability | only while the host plays | 24/7 |
| Backups | by hand, on the host's PC | automatic, on the server |
| Address | changes | fixed |
| Load on your PC | game and server at once | just the game |
How much memory your group needs
A Valheim server starts at 4 GB, which is plenty for a small group. If you play in a bigger group or with a modpack, go for 6 or 8 GB. Worlds also grow as you explore them, so a map played for months needs more than a fresh one.
You can move to a bigger plan later without losing the world.
Letting only your friends in
There are two levels worth setting up right away:
- A password of at least five characters, different from the server name. Set it in the Server settings tab, in the Valheim category of the server menu. That is enough for most groups.
- A whitelist in
permittedlist.txt, in the folder.config/unity3d/IronGate/Valheim. Once it has entries, only the Steam IDs listed there can join, even if someone learns the password. Put one SteamID64 per line.
You can also keep the server out of the public list in the game. Your friends then join by address only.
When your group plays on different platforms
If some of you have the game from Game Pass or play on Xbox, turn on crossplay in Server settings. The server then also registers with the network that serves the other platforms, and players outside Steam join with a code printed in the console at startup.
Crossplay changes nothing for Steam players, so you can leave it on permanently.
When the group needs a break from Valheim
Once the bosses are down, groups usually look for something new and the server starts sitting empty. Instead of cancelling and ordering another one, use Game Swap, which is included in every plan. You switch the game in the panel and keep the same server and billing.
Save your Valheim world as a preset first, or download it to your PC, so you can come back to it with the next big game update.
FAQ
How much memory does a Valheim server for four players need? 4 GB is enough for a small group without mods. With a modpack, take 6 to 8 GB.
Do I need a powerful PC to have a server? No. The server runs with us, and your PC only runs the game.
Can my friends play when I am offline? Yes, and that is the main difference from hosting from the game. The world runs no matter who is online.
How do I keep strangers out? Set a password and fill in the whitelist of Steam IDs. You can also hide the server from the public server list.
Can I switch to another game later? Yes. Game Swap lets you change the game in the panel without ordering a new server.
Moving an existing world over? See Moving a Valheim world to a server. Ready to start? Have a look at Valheim server hosting.