How to Add Admins on Your Valheim Server
Grant admin access on your Valheim dedicated server via adminlist.txt and enable in-game console commands.
Valheim admins are managed via adminlist.txt — a plain text file with one SteamID64 per line. Admins can use kick/ban/save commands in-game and access dev commands when authenticated.
Add an Admin
Find the player's SteamID64
Look up the player's Steam profile at steamid.io and copy their SteamID64 — a 17-digit number starting with 7656.
Stop the server
In the XGamingServer Panel, go to Console and stop your server.
Open adminlist.txt
Click Files in the sidebar and find adminlist.txt in the save directory.
Save and start
Click Save Content and start your server from Console. The player has admin access on next connect.
Enable the Console (Player Side)
Players who want to use admin commands need to enable the console:
Open Steam launch options
In Steam, right-click Valheim > Properties > General.
Launch and press F5
Start the game and press F5 in-game to open the console.
Admin Commands vs Dev Commands
Valheim splits commands into two categories:
| Type | Access | Examples |
|---|---|---|
| Admin commands | Always available to admins on multiplayer servers | kick, ban, unban, banned, save, quit |
| Dev commands | Require typing devcommands after admin auth | god, ghost, spawn, tod, weather, creative |
Dev commands are normally for singleplayer testing. To use them on a dedicated server you need the Server Devcommands mod from Thunderstore. See Enable Devcommands.
Removing an Admin
Edit adminlist.txt, delete the SteamID64 line, save, and restart the server.
Common Issues
| Problem | Fix |
|---|---|
| Admin commands don't work | Verify the SteamID64 in adminlist.txt is correct (17 digits, no spaces) and the server has been restarted |
| Console doesn't open with F5 | Player must add -console to Steam launch options. Verify with right-click Valheim → Properties |
| Can't use spawn/god | Those are dev commands, not admin commands. Type devcommands first (requires the mod on dedicated servers) |
Related Guides
How is this guide?
