How to Add Admins to Your Valheim Server

Add a player’s full platform ID to adminlist.txt, then use the in-game console to check their moderation access.

Valheim stores in-game admins in adminlist.txt. You need each player’s full platform user ID, not their display name. Find it in the server log or the game’s F2 panel. It uses the case-sensitive [Platform]_[UserID] format.

Visual guide: give access in the right place. See the steps for the exact settings used by this game.

Edit the admin list

  1. Open your Valheim server and check Startup for -savedir. If set, use that directory for permission files.
  2. Otherwise, open Files > .config/unity3d/IronGate/Valheim. This is the default native Linux save directory.
  3. Open adminlist.txt, or create it in that folder if it is missing.
  4. Add the player’s complete platform user ID on its own line. Keep any existing admin IDs.
  5. Save the file and restart the server. Ask the player to reconnect.

If the hidden .config folder is not visible, use SFTP or ask support to help you find the active save directory.

Check admin access

  1. Join the server and press F5 to open the game console.
  2. On Steam, add -console to Valheim’s client launch options if F5 does not open it.
  3. Enter Banned to check that you can view the ban list. Kick PLAYERNAME, Ban PLAYERNAME and Unban PLAYERNAME are moderation commands.

If access fails, check the full ID and its capitalization against F2 or the server log. To remove an admin, delete their line, save and restart.

For friends on Xbox or different PC stores, see the Valheim crossplay guide.

Troubleshooting checks

If the result is not what you expected
What you seeWhat to check
Player remains a normal userCheck the full platform user ID in the active adminlist.txt, then reconnect after restart.
Admin command expected from single-player does not workDedicated-server moderation and single-player developer commands are different systems.

References: Iron Gate’s permission files and admin commands and Steam client console setup.

Was this article helpful?

Your feedback helps us improve our guides.

Written by Konnect HostingUpdated 2 min read

Looking for game servers?

Get your new server online in minutes.

Explore game hosting →

Need hands-on help?

Open a ticket with our support team.

Contact support →

Konnect Discord

Join the community and talk with other server owners.

Join Discord →