TABI CLOUD
Valheim

How to Add Admins and Use Console Commands on a Valheim Server

4 min read · Updated October 2026 · By Tabi Cloud

Valheim controls admin access with a plain text file listing player IDs. Once someone is listed, they can open the in-game console on your server.

Find the player ID

The admin list uses the player's Steam ID in SteamID64 format, a long number such as 7656119XXXXXXXXXX. Players can find it on a site such as steamid.io by pasting their profile link. Do not guess IDs. A wrong one simply does nothing.

Add an admin

  1. Stop the server from the Console tab.
  2. In the Files tab, open the server's save directory (the one set by -savedir).
  3. Open adminlist.txt. If it does not exist, create it.
  4. Add one ID per line. Lines starting with // are treated as comments.
  5. Save and start the server.

The same folder holds bannedlist.txt and permittedlist.txt. Use the same one ID per line format in each.

Use the console

When an admin is in game, they press F5 to open the console. Commands are typed there. Depending on your version, you may need to type devcommands first to unlock some commands on the server. Commonly used server-management commands include:

Type help in the console to see the commands your version supports, as the list changes between updates.

Allow list

If you fill permittedlist.txt, only the listed IDs can join. Leave it empty if you want a public server. Pair this with a server password for extra protection.

Tips

Ask us on Discord if you need help.

Want your own server? Join our Discord and tell us the game. We set it up and send you the details. Need help with an error from this guide? Open a ticket there.

GET STARTED ON DISCORD

More guides

ValheimHow to set up a Valheim dedicated server (password, backups and errors)ValheimHow to Install Valheim Mods (BepInEx) on a Dedicated ServerValheimValheim Server Backups: Automatic Saves and How to Restore a World