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 exampleV_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_orN_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
-consoleto the launch options. - In the game press F5 to open the console. As an admin these work on the server:
kick nameandban nameremove a player;unban nameandbannedmanage the ban list.savewrites the world to disk right away, for example before a restart.devcommandsturns on the cheat commands for you, such asgodorfly. 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.txtfor bans andpermittedlist.txtfor 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