ImperialHost.cc · Guides · Survival and open world
Valheim server: joining and setup
A Valheim server runs all the time, even when none of you is playing. Here is how to join it, where to change its password, name and world and how to give players admin rights.
Before you start
- A Valheim server with us.
- The server password. It is in the game panel on the Startup tab in SERVER PASSWORD.
1. Join from the game
- In the client area open Services, pick the server and copy the address next to IP address.
- Start Valheim, click Start Game, pick a character and open the Join Game tab.
- Click Add server at the bottom right, paste the address with the port and add the server. It appears in your favourites (Favorites).
- Pick it, click Connect and enter the server password.
If the PUBLIC SERVER switch on the Startup tab is on, you also find the server on the Community tab by its name from SERVER NAME.
2. Crossplay: Xbox and other platforms
- With the ENABLE CROSSPLAY switch on, players from Xbox and other platforms can join too. It is on by default.
- After the start look on the Console tab for the line with the words
join codeand a six-digit number. Players enter it in Add server instead of the address. - The code changes after every restart.
3. Password, name and world
- In the client area click Open game panel next to the server and open the Startup tab. Each field saves by itself as soon as you change it.
- SERVER NAME is the name in the server list. SERVER PASSWORD is the join password: it must have 5 to 20 characters and must not be part of the server name or the world name.
- WORLD NAME is the world's name. If you change it, the server creates a new world. The old one stays saved and you get back to it with its old name.
- With the PUBLIC SERVER switch off, the server is hidden from the list. Players can then join only through Add server.
- Changes apply after a restart: on the Console tab click Restart (the circular arrow at the top near the server's name).
The server takes at most 10 players. Valheim allows no more.
4. Admins
- A player finds their ID in the game by pressing F2. It is the platform, an underscore and a number, for example
Steam_76561198000000000. - On the Files tab open the
.config/unity3d/IronGate/Valheimfolder and theadminlist.txtfile in it. It appears after the server's first start. - On a new line write the player's ID exactly as the game shows it. Each ID goes on its own line. Save the file with Save Content and restart the server.
- The admin then opens the console in the game with F5 and can type
Kick Name,Ban Name,Unban NameandBanned(the list of banned players).
The files bannedlist.txt (players who may not join) and permittedlist.txt (the list of players allowed on the server) work the same way.
Troubleshooting
The server won't start and the console says bad password
The password in SERVER PASSWORD is too short, or it is part of the server name (SERVER NAME) or the world name (WORLD NAME). Use a password of at least 5 characters that is in neither of them and start the server again.
F5 doesn't open the console in the game
In Steam open the properties of Valheim and type -console in the launch options. Then start the game again.
The game says the server has another version
On the Startup tab check that the AUTO UPDATE switch is on, and restart the server. It updates at start.
After renaming the world it is empty
Under the new name the server created a new world. Put the old name back in WORLD NAME and restart the server.
Still stuck?
Message us on Discord. The AI assistant Aurel answers first, and you can call an admin. Or open a ticket in the client area.