How to Add Admins to Your Server
Step 1: Get the Player's SteamID64
In order to add a player as an admin, you will first need to gather their SteamID64 number. This ID allows the game to identify each player when they join the server.
Navigate to a SteamID website, such as steamid.io (opens in a new tab).
Enter the username or Steam URL of the player's account, then locate and copy the SteamID64 number for later use.

Step 2: Add the Player to the Admin List
Head to your Game Panel and access your Valheim server. To the left of the panel, click on File Manager.
Navigate to the /.config/unity3d/IronGate/Valheim folder.
Locate and click on the adminlist.txt file.

Add the player's SteamID64 to the file. Important: Add only one ID per line, otherwise it will not work properly.

Click Save and restart the server for the changes to take effect!
Step 3: Enable Client Console Commands
Once a player is given admin access, they will still need to enable the console through their own game client. Here's how to do it:
- Navigate to your Steam game library
- Locate and right-click Valheim
- Go to Properties

Under the General tab, locate the Launch Options section and enter:
-console(hyphen included)

The console can now be accessed in-game by pressing the F5 key to use admin commands!

Available Admin Commands
Once you have admin permissions and the console enabled, you can use the following commands:
| Command | Description |
|---|---|
help | Shows all available server commands |
kick [name/ip/userID] | Kicks the specified user |
ban [name/ip/userID] | Bans the specified user |
unban [ip/userID] | Unbans the specified user |
banned | Provides a list of all banned users |
ping | Pings the server to check for network latency |
lodbias [number] | Sets the view distance on the server (1-5) |
info | Displays the current system information |
save | Forces the world to save |
optterrain | Optimizes old terrain modifications |
Note: Admin permissions do not provide dev-cheats to spawn items, but they are essential for server moderation and management.
โ That's it! You have successfully added admin permissions to your Valheim server. This is a great way to keep gameplay fair for everyone and moderate your server effectively. If you have any problems, contact us via Discord (opens in a new tab) so we can help you.