How to Add Admins on Your Valheim Server
How to grant admin access via adminlist.txt and enable the in-game console on your Valheim server.
Adding Admins
Edit adminlist.txt in the save directory — one SteamID64 per line:
76561198012345678
76561198087654321Find SteamIDs at steamid.io.
Enabling the Console
Players must add -console to their Steam launch options (right-click Valheim → Properties → Launch Options).
In-game, press F5 to open the console. Type devcommands to enable cheat commands (admin only).
Admin vs Dev Commands
- Admin commands (kick, ban) work in multiplayer for admins
- Dev commands (
spawn,god,ghost) requiredevcommandsto be enabled — only needed for singleplayer-style cheats
See Console Commands for the full list.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server