How to Make Yourself Admin on Your Valheim Server

Valheim2 min readUpdated Nov 23, 2026

Valheim keeps its admins in a text file on the server. Put your id in it, and the in-game console gives you the admin commands.

Find Your Id

  • Steam: V_ followed by your SteamID64, a 17 digit number, for example V_76561198000000000. Open your Steam profile in a browser; with a custom profile URL, paste it into a site such as steamid.io to get the number.
  • Xbox, PlayStation, Switch 2 and Game Pass: the id starting with X_, S_ or N_ that the player sees in the F2 panel in the game. The platform id in the console log is not the one the list uses.

Add Yourself to the Admin List

  • Log in to your game panel and click your Valheim server.
  • Open Files and go to .config/unity3d/IronGate/Valheim.
  • Open adminlist.txt, add your id on its own line below the comment lines, and save.
  • Valheim checks the file every few seconds while it runs, so it applies without a restart.
  • Easier: open Players in the left menu and add your id to the Admins list there. A plain SteamID64 is turned into the V_ form for you.

Use the Console in the Game

  • The in-game console is off by default. In Steam, right click Valheim, open Properties, and add -console to the launch options.
  • In the game press F5 to open the console. As an admin these work on the server:
    • kick name and ban name remove a player; unban name and banned manage the ban list.
    • save writes the world to disk right away, for example before a restart.
    • devcommands turns on the cheat commands for you, such as god or fly. Use them for events and building, not during normal play.

Good to Know

  • The other lists in the same folder work the same way: bannedlist.txt for bans and permittedlist.txt for a whitelist. A non-empty permitted list lets only those ids join. The Players page edits them as Banned players and Permitted players.
  • The Players page cannot show who is online, because Valheim has no command for it. It lists the player ids seen in the recent console output, which helps to fill in the lists.
  • Admins have no special protection in the game. Being admin is about managing players and the world, not about surviving longer.

Finished

You are admin. The next thing most owners set up is a daily restart and automatic updates.

Did this solve your problem?

Still stuck?

Our support team actually knows the games we host. Open a ticket and we will figure it out together.

Open a ticket