Back to all guides
Valheimadminadminlistconsole

Valheim Admin Setup & Console Commands

Configuring adminlist.txt, enabling -console, and kick/ban commands.

Valheim Admin Setup & Console Commands

Learn how to assign admin privileges on a Valheim dedicated server and use developer/admin console commands.

---

1. Setting Up adminlist.txt

1. Locate your SteamID64 (17 digits). 2. Access your Valheim server directory. 3. Open or create the file named adminlist.txt in the root world/save folder. 4. Add your SteamID64 on a new line:

   76561198000000000

5. Save the file and restart your server.

---

2. Enabling In-Game Console

1. Right-click Valheim in Steam > select Properties. 2. Under Launch Options, type -console. 3. Launch Valheim. In-game, press F5 to open the command console.

---

3. Essential Admin Commands

  • kick [Name/IP/SteamID] — Kicks a player.
  • ban [Name/IP/SteamID] — Bans a player.
  • unban [SteamID] — Unbans a player.
  • banned — Lists all banned players.
  • ping — Displays server latency.
  • save — Forces an immediate server save.