Skip to main content

How to Become an Admin and Use Commands on a Valheim Server

This guide explains how to add admin accounts to a Valheim server on the Raznar panel and how to use console commands to manage players and save the game world.


Step 1: Find Your Account's SteamID64​

The Valheim server recognizes admins by SteamID64 (a 17-digit number):

  1. Easiest Way (In-Game):
    • Join your Valheim server.
    • Press the F2 key on your keyboard.
    • A player information window will appear on screen. Copy the number next to your name.
  2. Way via Browser:
    • Open the steamid.io site.
    • Enter your Steam profile link, then note the number in the SteamID64 field (for example: 76561198012345678).

Step 2: Add the ID to the adminlist.txt File​

  1. Open your browser and log in to the Raznar panel.
  2. Open the Files menu, then go to the folder:
    .config/unity3d/IronGate/Valheim/
  3. Find and click the adminlist.txt file to edit it (if the file does not exist yet, click the New File button and name it adminlist.txt).
  4. Add your SteamID64 to the file:
    76561198012345678
    76561198087654321
    (Write one ID per line if you want to add more than one admin).
  5. Click the Save File button.
  6. Go to the Console menu, then click Restart so the server reads the latest admin list.

Step 3: Enable the Console Menu in Steam on PC​

By default, the Valheim console button is disabled. You need to enable it first on your Steam PC:

  1. Open the Steam application on your computer.
  2. Open the Library menu, then right-click the Valheim game and select Properties.
  3. On the General tab, find the Launch Options field at the bottom.
  4. Type the following text into the field:
    -console
  5. Close the Properties window, then launch Valheim as usual and join your server.

Step 4: How to Open the Console and the Command List​

Once you are inside the server:

  1. Press the F5 key on your keyboard to open the black console screen.
  2. Type the command you want, then press Enter.

List of Admin Commands You Can Use:​

CommandFunctionExample
saveForces the server to save the world data immediatelysave
kick <Name/ID>Removes a player from the serverkick Budi
ban <Name/ID>Blocks a player from the server (stored in bannedlist.txt)ban Budi
unban <ID>Lifts a player's block based on their SteamIDunban 76561198012345678
bannedShows the list of all currently blocked playersbanned
pingChecks the connection response speed (ping) to the serverping
infoShows server RAM and system load informationinfo
Cheat Command Note

On official dedicated servers, the Valheim developers limit admin commands to moderation only (kick, ban, save). Cheat commands (devcommands) such as invincibility or item spawning are disabled on dedicated servers to keep the game fair, unless your server installs a supporting mod such as Server Devcommands.