Skip to main content
Valheim keeps server administration deliberately simple: three plain-text lists control who is an admin, who is banned, and (optionally) who may join at all. Admins then run commands through the in-game console. This guide covers all of it.

The Three Access Lists

These files live in the server’s save directory — the same location that contains the worlds_local folder (or the folder set by -savedir; see server configuration). Edit them with the panel File Manager or SFTP.
FilePurpose
adminlist.txtPlayers with admin rights (can use console commands)
bannedlist.txtBanned players — cannot join
permittedlist.txtWhitelist — if this file has any entries, only listed players can join
Format: one SteamID64 per line, nothing else. Lines starting with // are comments.
// Admins
76561198000000001
76561198000000002
permittedlist.txt is all-or-nothing: as soon as it contains a single ID, everyone not on the list is locked out — including you, if you forget to add yourself. Leave it empty for a public (password-protected) server.
You do not need to restart the server after editing these lists — they’re picked up automatically. However, a newly added admin must disconnect and rejoin before their console access works.

Finding a SteamID64

A SteamID64 is a 17-digit number starting with 7656.
  • Paste the player’s Steam profile URL into steamid.io and copy the steamID64 value.
  • If the profile URL is the numeric form (steamcommunity.com/profiles/7656...), the ID is right in the URL.
  • IDs of players currently connecting also appear in the server log in the panel Console.

Enabling the In-Game Console

The console is disabled by default on the client — this is a client launch option, not a server setting.
1

Add the launch option in Steam

In your Steam library, right-click Valheim → Properties → General, and add to Launch Options:
-console
2

Join the server and open the console

Connect to your server and press F5 to open the console.
3

Verify admin status

If your SteamID64 is in adminlist.txt, server commands like kick and save will work. If they’re rejected, double-check the list and rejoin.

Server Commands (F5 Console)

CommandDescription
kick [name/ip/userID]Kick a player from the server
ban [name/ip/userID]Ban a player (adds them to bannedlist.txt)
unban [ip/userID]Remove a ban
bannedShow the current ban list
saveForce an immediate world save
lodbias [1-5]Set the server’s level-of-detail bias (render distance trade-off)
pingShow your ping to the server
helpList available commands
Banning by SteamID64 is the most reliable option — names change, IDs don’t.
No console access at the moment? You can achieve the same result by editing the lists directly: add the offender’s SteamID64 to bannedlist.txt via the File Manager and they’re banned on their next connection attempt — no restart required.

About devcommands (Cheats)

Typing devcommands in the console unlocks cheat/debug commands (god, fly, spawn, tod, and more). These are singleplayer-style developer tools: they only affect the admin who enables them, they’re easy to fat-finger, and item spawning can quickly ruin a survival server’s economy and trust. Use them sparingly on a live server — if at all — and tell your players when you do.

Managing the Server Itself

Kicks, bans, and saves run in-game — but starting, stopping, and monitoring the server happens in the Game Panel. If you want co-admins to restart the server or edit the access lists without full account access, give them panel sub-users permissions. For scheduled restarts and automated saves, use the panel’s Schedules feature, and keep regular backups of your world.

Run your own Viking realm

Valheim server hosting from €7.49/month — full file access, panel console, and 24/7 support included.