adminlist.txt and your player ID
The server keeps three lists in its save directory, one ID per line:
adminlist.txt: players who can use admin commands.bannedlist.txt: players who can't join.permittedlist.txt: if it has anyone in it, only those players can join.
The ID is your player ID on the server, not your Steam name. The reliable way to get it: join the server and press F2; the panel lists each connected player's ID. Copy it exactly, since the lists are case-sensitive. It has a platform prefix, such as Steam_76561198…, and Valheim 1.0 added a newer form that starts V_. The server log also shows each player's ID as they connect.
Restart the server after editing the lists, so it reads them again.
Opening the console
The console is off by default. Turn it on in the game's settings menu (or launch the game with -console), then press F5 in game. Type help to see what is available to you. Kick, ban and unban only work for players on the admin list.
Admin commands
| Command | What it does |
|---|---|
| help | List the commands you can use |
| kick <name/ip/userID> | Remove a player; they can rejoin |
| ban <name/ip/userID> | Remove a player and add them to the banned list |
| unban <ip/userID> | Take someone off the banned list |
| banned | Show the banned list |
| save | Save the world now |
| ping | Show your ping to the server |
| info | Show system and server information |
Kick, ban, unban and banned are the admin commands Iron Gate's dedicated-server guide documents; the rest are general console commands. Kicking or banning by name only works while the player is online. To ban someone who has left, use their ID.
On Wyrm Host
Add admins from the world's settings on the dashboard: paste a player's ID into the admin list (the ban and permitted lists are on the same page). Saving restarts the world with the new list.
Wyrm Host is an independent hosting service and is not affiliated with, endorsed by, or sponsored by Iron Gate AB or Coffee Stain Publishing. Valheim is a registered trademark of Iron Gate AB. You need your own copy of the game to play. Facts on this page about Valheim's own dedicated server are from Iron Gate's dedicated-server documentation and the game's launch options; check them again if a game update has landed since 2026-10-20.