Valheim Server Commands & Admin Rights
Valheim server commands: add admins via adminlist.txt, open the console with F5, kick and ban players and use the whitelist – updated for Valheim 1.0.
Quick answer: Add your ID to the server's adminlist.txt and restart it. In-game, open the console with F5 (in 1.0 enable it in the game settings first) and use kick, ban, unban and banned.
On a Valheim server you manage players through three text files and the in-game console. This guide shows how to become an admin, which commands exist and what to keep in mind about cheat commands in Valheim 1.0.
Version: Valheim 1.0.21 (November 2026).
The three permission files
The server's save folder (Linux default: .config/unity3d/IronGate/Valheim/ in the server directory, or the folder set with -savedir) contains:
adminlist.txt– adminsbannedlist.txt– banned playerspermittedlist.txt– whitelist. As soon as it contains one entry, only the listed players can join.
Each line holds exactly one ID in the format Platform_ID, for example Steam_76561198000000000. Since Valheim 1.0 there are also new IDs in the form V_123456789. Entries are case-sensitive. You can find your ID in-game with F2 or in the server log when you connect.
Become an admin
- Stop the server.
- Open
adminlist.txtin the file manager. - Add your ID on a new line and save.
- Start the server and join.
Open the console
Open the console in-game with F5. Since patch 0.221.4 the console is disabled by default and must first be enabled in the game settings (Gameplay).
Admin commands
kick name/IP/ID– kicks a player from the serverban name/IP/ID– bans a player (added tobannedlist.txt)unban IP/ID– removes a banbanned– lists all banned playershelp– shows all commands available in your version
You can also add players directly to bannedlist.txt or permittedlist.txt (stop the server first).
Cheat commands (devcommands)
devcommands unlocks developer/cheat commands in the console. On a dedicated server this only works for admins, and not all cheat commands have an effect there.
Important in Valheim 1.0: according to the official FAQ, using most cheat commands puts a permanent flag on your character and world – achievements are then blocked. Think about this carefully, especially on a shared server.
Restart the server cleanly
Valheim saves automatically (every 30 minutes by default, adjustable with -saveinterval). Use the stop button in the panel for restarts – the server then shuts down properly and saves. Avoid a hard kill.
Common issues
Admin commands don't work
- Is the ID entered exactly in the
Platform_IDformat (case-sensitive)? - Did you restart the server after adding it?
- Did you edit the correct
adminlist.txt(save folder or-savedir)?
Nobody can join any more
- Is there anything in
permittedlist.txt? Then the whitelist is active – add your friends or empty the file.
F5 doesn't open a console
- Enable the console in the gameplay settings.
Conclusion
Admin rights, bans and the whitelist are handled in Valheim through three simple text files. With F5 and kick, ban, unban and banned you have your server under control – since 1.0, be careful with cheat commands because of achievements.
Last checked: November 2026, Valheim 1.0.21. Source: Iron Gate's official dedicated server guide, Valheim 1.0 FAQ and patch notes.
Related guides
Rent your own server: Valheim server at NexoraHost