To use Valheim admin commands on your dedicated server, add your player ID to adminlist.txt, add -console to the game's launch options, then press F5 in game.

Use Valheim admin commands on your dedicated server

  1. Start your server and join it.
  2. Once inside your server, press the F2 key to open the player list.
  3. Find your player name on the list and copy the player ID.
  4. Press STOP to stop your server.
  5. In the game panel, go to the Configuration Files button, edit the adminlist.txt file and add a new admin by placing your player ID in it (one ID per line).
  6. In Steam, right-click Valheim and select Properties. In the General tab, add the -console command in the Launch Options field.
  7. Start your server and join it. Press the F5 key to open the console and type HELP for all available commands.

Common Valheim admin commands

Type these in the F5 console once you are an admin:

  • kick [name/ip/userID] - kicks the player from the server
  • ban [name/ip/userID] - bans the player
  • unban [name/ip/userID] - removes the ban
  • banned - shows the list of banned players
  • save - saves the world

Questions

How do I use Valheim admin commands on a dedicated server?

Join the server, press F2 and copy your player ID. Stop the server, add the ID to adminlist.txt in Configuration Files and start it again. Add -console to Valheim's launch options in Steam, join and press F5 to open the console.

The F5 console doesn't open. What now?

Check that -console is in the Launch Options field of Valheim's Properties in Steam, then restart the game. If commands are refused, check that your player ID in adminlist.txt is exactly the one from the F2 player list, and that you stopped the server before editing the file.

Want your own Valheim server? See Valheim server hosting.

Related guides

Need help becoming admin? Open a support ticket. Our support team is available 24/7.

Was this answer helpful? 27 Users Found This Useful (154 Votes)