Skip to content
Puranode

Guide

Valheim Server Admin Commands and adminlist.txt

To become admin on a Valheim dedicated server, add your Platform User ID to adminlist.txt in the server's save folder, one ID per line in the case-sensitive form [Platform]_[User ID], and restart the server. Then turn on the developer console in the game's settings, press F5 on the server, and use the admin commands Iron Gate documents: kick, ban, unban and banned. Admin rights also cover a manual save and the world modifier commands, but not cheats, which do not run on a dedicated server.

Published

On this page

FAQ

Frequently asked

How do I make myself admin on a Valheim dedicated server?

Copy your Platform User ID from the F2 panel or the server log, add it on its own line to adminlist.txt in the server's save path, and restart the server. The ID is case sensitive and has the form [Platform]_[User ID].

Where is adminlist.txt on a Valheim server?

In the server's save path, next to the worlds folder. By default that is AppData/LocalLow/IronGate/Valheim in the user folder on Windows and ~/.config/unity3d/IronGate/Valheim on Linux, unless the server is started with -savedir.

How do I open the console in Valheim?

Press F5. Since patch 0.221.4 the developer console is off by default, so first turn it on with the option in the game's settings menu, or start the game with the -console launch argument.

What admin commands does Valheim have?

Iron Gate documents kick, ban, unban and banned. Admins can also run save on a dedicated server, and patch 0.217.22 added commands such as setworldpreset, setworldmodifier, setkey, listkeys and genloc.

Can admins use devcommands on a Valheim dedicated server?

No. The community Valheim wiki states that cheat commands work only in singleplayer or in a game hosted from the menu, and that admin rights on a dedicated server cover the admin commands only.

How much does a Valheim server cost at Puranode?

4 GB for €10.99 every 30 days, VAT included, no setup fee, no minimum term.

Projects referenced

This guide names other people’s work. These are their own pages, so you get the current documentation rather than our summary of it.

Want a Valheim server without the setup?

4 GB for €10.99/30 days, VAT included. Online within a few minutes.