Using in-game commands on a Valheim server requires admin rights. This guide will walk you through how to grant admin rights to yourself or a friend on your Valheim server.
Find Steam64ID
First, we need to obtain the Steam64 ID of the admin to be added. The ID is easily identifiable as a long string of numbers. You can use either of the methods below to find the ID:
In-game:
- Join the server.
- Press the F2 key.
- In the menu that appears, you will see the steamID as a long string of numbers immediately after the nickname.
Note: If you want to get a friend's SteamID, your friend must also be connected to the same server as you.
From the browser:
- Visit the website https://steamid.io/
- Enter your or your friend's Steam profile link in the input field
- You will see the desired ID in the Steam64 section
Add Admin to Valheim Server:
- Navigate to your server's control panel.
- Select the desired server and click on the "Configuration files" tab below it.
- Then select adminlist.txt and open it in a text editor.
- Add one Steam64ID per line and then save the file (remember to also restart the server).