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):
- Easiest Way (In-Game):
- Join your Valheim server.
- Press the
F2key on your keyboard. - A player information window will appear on screen. Copy the number next to your name.
- 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
- Open your browser and log in to the Raznar panel.
- Open the Files menu, then go to the folder:
.config/unity3d/IronGate/Valheim/ - Find and click the
adminlist.txtfile to edit it (if the file does not exist yet, click the New File button and name itadminlist.txt). - Add your SteamID64 to the file:
(Write one ID per line if you want to add more than one admin).
76561198012345678
76561198087654321 - Click the Save File button.
- 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:
- Open the Steam application on your computer.
- Open the Library menu, then right-click the Valheim game and select Properties.
- On the General tab, find the Launch Options field at the bottom.
- Type the following text into the field:
-console - 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:
- Press the
F5key on your keyboard to open the black console screen. - Type the command you want, then press Enter.
List of Admin Commands You Can Use:
| Command | Function | Example |
|---|---|---|
save | Forces the server to save the world data immediately | save |
kick <Name/ID> | Removes a player from the server | kick 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 SteamID | unban 76561198012345678 |
banned | Shows the list of all currently blocked players | banned |
ping | Checks the connection response speed (ping) to the server | ping |
info | Shows server RAM and system load information | info |
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.