Valheim server commands and the admin list
Updated 12 November 2026 · 3 minute read · Valheim · By Exclsv Support
A Valheim dedicated server reads no typed commands. Admins use the console inside the game instead, and who counts as an admin is a text file.
Add an admin
Admins are listed by player ID in a file called adminlist.txt, one per line. A Steam player’s ID is their Steam ID; crossplay players have their own prefix. The server log shows the ID of each player who joins, and the in-game F2 panel shows it too.
Edit the file with the server stopped, or it may be overwritten.
Use the console
- Join the server as an admin.
- Press F5 to open the console.
- Type a command and press Enter.
| Command | What it does |
|---|---|
| kick name | Removes a player, who can rejoin |
| ban name | Removes a player and stops them rejoining |
| unban name | Lets a banned player back in |
| save | Saves the world now |
The other two lists
- bannedlist.txt: players who can’t join.
- permittedlist.txt: a whitelist. When it has any IDs in it, only those players can join, you included.
Both use the same player IDs as the admin list.
On Exclsv
Open your server in HQ and go to Players. Admins and Who can join write these files for you, and Bans is on the same menu, so you don’t edit them by hand. HQ can’t kick a player, because Valheim’s server takes no commands from outside: use F5 in game for that. A server on a different plan size has the same tools; the sizes are on the Valheim page.
If it doesn’t work
F5 opens nothing
The console is for admins. Check your ID is in the admin list, then rejoin.
Only some of my friends can join
A permitted list with any IDs in it lets in only those players, including you. Remove the file’s entries or add each friend.
Run this on Exclsv: Valheim server hosting, from £13.49 a month