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.
Edit the admin list
- Open your Valheim server and check Startup for -savedir. If set, use that directory for permission files.
- Otherwise, open Files > .config/unity3d/IronGate/Valheim. This is the default native Linux save directory.
- Open adminlist.txt, or create it in that folder if it is missing.
- Add the player’s complete platform user ID on its own line. Keep any existing admin IDs.
- 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
- Join the server and press F5 to open the game console.
- On Steam, add -console to Valheim’s client launch options if F5 does not open it.
- 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
| What you see | What to check |
|---|---|
| Player remains a normal user | Check the full platform user ID in the active adminlist.txt, then reconnect after restart. |
| Admin command expected from single-player does not work | Dedicated-server moderation and single-player developer commands are different systems. |
References: Iron Gate’s permission files and admin commands and Steam client console setup.
Your feedback helps us improve our guides.

