How to Add Admins on Your Valheim Server

Learn how to add admins, enable the in-game console, and use admin commands on your Valheim dedicated server.

Admin access in Valheim is controlled through a file called adminlist.txt. Once you've added your SteamID to this file and enabled the in-game console, you can use commands to manage players, skip time, and more.

Adding Yourself as Admin

Open the XGamingServer panel

Access the XGamingServer panel and select your Valheim server.

Navigate to the admin list

In the sidebar, go to Files. Open the .config/unity3d/IronGate/Valheim/ folder and find the file named adminlist.txt.

Add your SteamID

Add your SteamID64 on its own line. It should look like this:

76561198072786081

Restart your server

Go back to Console and restart your server to apply the changes.

Screenshot: adminlist.txt in the Files panel

Enabling the In-Game Console

The Valheim console is disabled by default. You need to enable it through Steam launch options before you can use any admin commands.

Open Steam

Open your Steam client and go to your Library.

Open Valheim properties

Right-click Valheim in your library and select Properties.

Add the console launch option

In the Launch Options field, type -console.

Launch the game

Close the properties window and start Valheim.

Using Admin Commands

Connect to your server

Join your Valheim server as usual.

Open the console

Press F5 to open the in-game console.

Enable dev commands

Type devcommands and press Enter. You should see devcommands = true in the console output.

You're now ready to use admin commands.

Multiplayer Command List

These commands are available to admins on multiplayer servers. Commands like god, heal, and freefly only work in singleplayer.

CommandDescription
ban [SteamID]Bans a player from the server
bannedShows all currently banned players
helpLists all available commands
kick [SteamID]Kicks a player (they can rejoin)
lodbias [1-5]Sets the render distance
noportalsDisables portals on the server
pingMeasures your latency to the server
saveForces a world save
skiptime [seconds]Skips ahead by the specified seconds
sleepSkips to the next morning
unban [SteamID]Unbans a player

Emote Commands

These fun commands work for all players, not just admins.

CommandDescription
blowkissBlows a kiss
bowBows
challengeChallenge gesture
cheerCheers
comehereFollow me gesture
cowerCower in fear
cryCries
danceDances
despairDespair gesture
headbangHeadbangs
kneelKneels
laughLaughs
nononoShakes head no
pointPoints
roarRoars
s [message]Shouts a message
shrugShrugs
sitSits down
waveWaves

💡 Tip: You can find your SteamID64 at steamid.io. Just paste your Steam profile URL and copy the steamID64 value.

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page