Valheim Admin & Console Commands
10 verified Valheim server administration, moderation, and gameplay commands with copyable examples.
Need a Valheim server? Requirements, free self-hosting & 3 hosts compared Hosting guide →| Command | Syntax & Usage | Example | Action |
|---|---|---|---|
| devcommands Admin | devcommandsEnables local/singleplayer cheat commands (F5 console). |
devcommands |
|
| help General | helpLists available Valheim console/admin commands. |
help |
|
| ban Moderation | ban <name|ip|userID>Bans a player and adds them to bannedlist.txt. |
ban PlayerOne |
|
| banned Moderation | bannedLists all currently banned players. |
banned |
|
| kick Moderation | kick <name|ip|userID>Kicks a connected player from the server. |
kick PlayerOne |
|
| unban Moderation | unban <ip|userID>Removes a player from bannedlist.txt. |
unban 76561198000000000 |
|
| ping Server | pingDisplays current network latency to the server. |
ping |
|
| save World | saveForces an immediate world save on the server. |
save |
|
| setkey World | setkey <globalKey>Sets a global world progression key. |
setkey defeated_eikthyr |
|
| tod World | tod <0-1>Sets time of day (0.5 = noon, 0 = midnight). |
tod 0.5 |
