How to Add Admins on Your Valheim Server
Learn how to add admins, enable the in-game console, and use admin commands on your Valheim dedicated server.
Admin access in Valheim is controlled through a file called adminlist.txt. Once you've added your SteamID to this file and enabled the in-game console, you can use commands to manage players, skip time, and more.
Adding Yourself as Admin
Open the XGamingServer panel
Access the XGamingServer panel and select your Valheim server.
Navigate to the admin list
In the sidebar, go to Files. Open the .config/unity3d/IronGate/Valheim/ folder and find the file named adminlist.txt.
Enabling the In-Game Console
The Valheim console is disabled by default. You need to enable it through Steam launch options before you can use any admin commands.
Open Steam
Open your Steam client and go to your Library.
Open Valheim properties
Right-click Valheim in your library and select Properties.
Add the console launch option
In the Launch Options field, type -console.
Launch the game
Close the properties window and start Valheim.
Using Admin Commands
Connect to your server
Join your Valheim server as usual.
Open the console
Press F5 to open the in-game console.
Enable dev commands
Type devcommands and press Enter. You should see devcommands = true in the console output.
You're now ready to use admin commands.
Multiplayer Command List
These commands are available to admins on multiplayer servers. Commands like god, heal, and freefly only work in singleplayer.
| Command | Description |
|---|---|
ban [SteamID] | Bans a player from the server |
banned | Shows all currently banned players |
help | Lists all available commands |
kick [SteamID] | Kicks a player (they can rejoin) |
lodbias [1-5] | Sets the render distance |
noportals | Disables portals on the server |
ping | Measures your latency to the server |
save | Forces a world save |
skiptime [seconds] | Skips ahead by the specified seconds |
sleep | Skips to the next morning |
unban [SteamID] | Unbans a player |
Emote Commands
These fun commands work for all players, not just admins.
| Command | Description |
|---|---|
blowkiss | Blows a kiss |
bow | Bows |
challenge | Challenge gesture |
cheer | Cheers |
comehere | Follow me gesture |
cower | Cower in fear |
cry | Cries |
dance | Dances |
despair | Despair gesture |
headbang | Headbangs |
kneel | Kneels |
laugh | Laughs |
nonono | Shakes head no |
point | Points |
roar | Roars |
s [message] | Shouts a message |
shrug | Shrugs |
sit | Sits down |
wave | Waves |
💡 Tip: You can find your SteamID64 at steamid.io. Just paste your Steam profile URL and copy the
steamID64value.
If you need help, join our Discord.
How is this guide?

