A full list of Valheim admin commands, cheats, and chat commands
We have compiled a full list of Valheim admin commands, cheats, and chat commands available to players. Before you get started administrating your Valheim dedicated server, there are a few quirky things to note:
- The
devcommands
command: This command works only on local game servers and is not available for dedicated servers. When thedevcommands
command is enabled on a local Valheim server, it enables much of the functionality you’d expect to have as an admin of a dedicated server, such as spawning items, teleporting, flying, god mode, and more. - The
devcommands
command effectively enables Valheim cheats. - Certain console commands are available to normal players, without any roles, which can be entered in the in-game console.
- There are a handful of chat-based commands that are available to all players and admins and require no roles to execute. Be sure to enter these into the game chat and not the in-game console.
How do you use Valheim admin commands and cheats?
The in-game console can be opened by pressing the F5
key while in the game. You can type or paste commands and their parameters into this console and press the Enter
key to execute the command. Many Valheim admin commands require a player to have both the admin role and the devcommands
command enabled to work. These requirements are detailed in the data table below. If you don’t know how to add admins to a Valheim server, we got you covered, as well as a guide for how to join your Valheim dedicated server.
How do you list the Valheim admin commands and cheats?
We’ve compiled a full list of the Valheim admin and console commands in the data table below, along with their known parameters, descriptions, and requirements. Admins and players can use the command help
inside the in-game console to list all available commands.
Want to skip all the work of setting up a server yourself?
Rent a Valheim server today from the professionals at Icedhost.com and save yourself the headaches. Your server will be set up instantly and available for you and your friends to play on 24/7. Experience cutting-edge, blazing-fast hardware with DDoS protection, uMod support, an easy-to-use control panel, one-click backup systems, and an expert support team.
Use code CH
at checkout and save 10% on the lifetime of your purchase.
Valheim Admin Commands and Cheats List 2021
Command | Parameters | Description | Req. Role(s) |
---|---|---|---|
help | The help command prints a list of available commands to the console. | ||
kick | name, IP, userID | The kick command will kick an active player off the Valheim server. | Admin |
ban | name, IP, userID | The ban command will permanently ban a player off the Valheim server and add an entry to the bannedlist.txt file. | Admin |
unban | IP, userID | The unban command will unban a player from the Valheim server and remove their ban entry from the bannedlist.txt file. | Admin |
banned | The banned command will list all banned player entries from the bannedlist.txt file | Admin | |
ping | The ping command will ping the currently connected Valheim server and return the response time in milliseconds. | ||
lodbias | 0 – 5 | The lodbias command allows you to set the LOD Bias level of your Valheim game client. Leave the value empty to read out the currently set value. | |
info | The info command will report the render threading mode and total allocated memory. | ||
pos | The pos command prints the current player’s X, Y, Z positions in the console. | Admin, devcommands | |
goto | X, Z, Y | The goto command opens a portal that teleports the player to the specified position. | Admin, devcommands |
exploremap | The exploremap command will clear all fog of war on the map, exposing the full map. | Admin, devcommands | |
resetmap | The resetmap command resets the previously cleared fog of war, removing any progress made and restoring it to the default. | Admin, devcommands | |
killall | The killall command will kill all nearby enemies in proximity to the player issuing the command. | Admin, devcommands | |
tame | The tame command will tame all nearby tameable creates in proximity to the player issuing the command. | Admin, devcommands | |
hair | The hair command will permanently remove a player’s hair. | Admin, devcommands | |
beard | The beard command will permanently remove a player’s beard. | Admin, devcommands | |
location | The location command sets a new spawn location. | Admin, devcommands | |
raiseskill | skill, amount | The raiseskill command allows a player to raise a specific skill by the amount specified. | Admin, devcommands |
resetskill | skill | The resetskill command will reset the specified skill’s level to 0. | Admin, devcommands |
freefly | The freefly command will allow a player to control a drone-like camera view that can “fly” or “noclip” through the game. The player’s avatar does not move. | Admin, devcommands | |
ffsmooth | 0, 1 | The ffsmooth command enables a smooth pan while in the freefly camera mode that reduces jitters. 0 for free camera smoothing, 1 to reset to default. | Admin, devcommands |
tod | Decimal values between 0 – 1 | The tod command allows a player to set the time of day. Setting the value to -1 defaults to the default time, while 0 and 1 are midnight. | Admin, devcommands |
env | The env command allows a player to set the debug environment. | Admin, devcommands | |
resetenv | The resetenv command will reset the current environment to the default. | Admin, devcommands | |
wind | angle, intensity | The wind command allows a player to set the angle and intensity of the wind in-game. | Admin, devcommands |
resetwind | The resetwind command allows a player to reset the wind to its default setting. | Admin, devcommands | |
god | The god command allows a player to toggle the god mode on and off, preventing any damage from being taken. | Admin, devcommands | |
event | name | The event command allows a player to start the specified event. | Admin, devcommands |
stopevent | The stopevent command allows a player to stop the current event. | Admin, devcommands | |
randomevent | The randomevent will trigger a random event to begin. | Admin, devcommands | |
save | The save command will forcefully save the world file. | Admin, devcommands | |
resetcharacter | The resetcharacter command will reset all character data, including skills and inventory items, to the default. This command is dangerous! | Admin, devcommands | |
removedrops | The removedrops command will remove all item drops in proximity to the player issuing the command. | Admin, devcommands | |
setkey | name | The setkey command allows you to reset the specified key. | Admin, devcommands |
resetkeys | name | The resetkeys command will reset the specified keys. | Admin, devcommands |
listkeys | The listkeys command will list all global keys. | Admin, devcommands | |
players | The players command will set the forced difficulty scaling, based on the number of players connected to the game world. Use 0 to reset the scaling. | Admin, devcommands | |
dpsdebug | The dpsdebug will toggle the damage per second overlay on and off. | Admin, devcommands | |
spawn | item, quantity, level | The spawn command will spawn items into the game world, on the ground, in close proximity to the player issuing the commands. | Admin, devcommands |
debugmode | The debugmode command will allow a player to toggle the debug mode, which allows players to then use the Z key to toggle flying, the K key to kill all enemies in the surrounding area, and the B key to toggle creative mode, which requires no workbench or costs to build. | Admin, devcommands | |
ghost | The ghost command will allow a player to toggle ghost mode, which makes enemies and creatures ignore the player issuing the command. | Admin, devcommands | |
heal | The heal command will instantly restore the player’s max health, relative to the foods activated for that player. | Admin, devcommands | |
puke | The puke command will instantly reset a player’s health and stamina, clearing any active foods. | Admin, devcommands | |
model | 0,1 | The model command will allow a player to switch their avatar between male and female. 0 for male, 1 for female. | Admin, devcommands |
skiptime | The skiptime command will allow a player to skip forward the number of seconds provided as a parameter. | Admin, devcommands | |
sleep | The sleep command will advance the in-game clock by 12 hours each time it’s issued. | Admin, devcommands |
Valheim Chat Commands List 2021
Command | Parameters | Description |
---|---|---|
/w | Text | Allows you to whisper in the chat, enabling only those within proximity to see your text. |
/s | Text | Allows you to shout in the chat, enabling everyone server wide to see your text. |
/killme | Allows you to suicide in the game and respawn. | |
/resetspawn | Allows you to reset your spawn point. | |
/emote | sit, wave, challenge, cheer, nonono, thumbsup, point | Allows you to initiate the specified emote. |
With that, you have the full comprehensive list of Valheim admin commands, cheats, and chat commands. We’ll keep this page updated as Valheim continues its Early Access development. If you have any questions or need help, be sure to join us in the Corrosion Hour Discord community.