Valheim Console Commands
95 commands
The complete reference for Valheim console commands — every cheat, debug, and admin command with what it does and how to use it.
Press F5 to open the console, type devcommands to enable cheats, then run any command — for example god for godmode or fly to toggle flight. Search the full list below.
addstatusThis command will add the specified status effect.
aggravateThis command aggravates neutral entities within a 20-meter radius.
banThis command bans the specified user based on their name, IP address, or userID.
bannedThis command displays a comprehensive list of all users who have been banned.
beardThis command permanently changes your beard. If used without an argument, it removes your beard.
bindThis command allows you to assign a specific action or command to a particular key.
challengeThis command triggers the challenge emotion animation for your character.
cheerThis command makes your character perform a cheering animation.
clearThis command clears the text within the console window.
clearstatusThis command removes all active status effects, both positive and negative.
dpsdebugThis command toggles the dps debug print on and off.
envThis command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment).
eventThis command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event).
exploremapThis command reveals the entire game map.
ffsmoothThis command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default.
findThis command finds and pings matching objects on the map, placing pins if required.
flyThis command toggles flight mode.
forcedeleteThis command removes objects within a specified radius, as well as optionally specific objects if a name is provided.
fovAdjusts the field of view in the game to the specified number.
freeflyThis command enables or disables the free camera mode.
gcThis command displays garbage collection information.
genlocThis command redistributes all unplaced game locations.
ghostThis command toggles ghost mode where enemies ignore the player.
godThis command activates god mode.
gotoThis command teleports the player to given coordinates.
hairThis command permanently alters your hairstyle. If used without an argument, it removes your hair.
healThis command restores your health to maximum.
helpThis command displays available commands, with optional parameters to specify which portion to view.
hidebetatextThis command toggles the visibility of any beta-related text in the game.
infoThis command provides details about the current system settings.
itemsetThis command spawns a premade set of items. View all sets below. Include the `keep` flag to keep current items; if not included, current items will be dropped.
kickThis command kicks out the specified user based on their name, IP address, or userID.
killallThis command kills all nearby enemies and tamed creatures.
killenemiesThis command kills all nearby enemies.
killtameThis command eliminates all nearby tamed creatures.
listkeysThis command lists all global keys in the game.
locationThis command spawns a game location instance; however, saving is permanently disabled. To spawn a location instance and still keep saving enabled, append the `SAVE` flag after the location ID — see the second example below. View all Location IDs here: [valheimcheats.com/location](/location).
lodbiasThis command adjusts the server's draw distance with values between 1 and 5.
modelThis command switches the player's character model from masculine to feminine.
nextseedThis command forces the next dungeon to generate based on a new seed, disabling game saving.
nocostThis command toggles no-cost mode.
nomapThis command toggles the map's visibility. If applied on the server, it also toggles the global key.
nononoThis command triggers the "nonono" emotion animation for your character.
noportalsThis command, when used on a server, toggles the global key related to portal usage.
optterrainThis command converts older terrain modifications in the vicinity to the updated system.
pingThis command measures the latency between you and the server.
playersThis command modifies the game difficulty scale. Use `0` to reset the difficulty.
pointThis command triggers the point emotion animation.
posThis command displays the player's coordinates.
printbindsThis command lists all custom commands currently bound to keys.
printcreaturesThis command shows counts and levels of all active creatures.
printlocationsThis command lists all loaded game locations and their distance from the player.
printseedsThis command shows the seeds and positions of dungeons in the vicinity.
pukeThis command resets player fullness or hunger.
raiseskillThis command raises or lowers a specified skill by the amount entered. A negative number will lower the skill level. The maximum level for each skill is `100`. View all skill IDs here: [valheimcheats.com/skill](/skill).
randomeventThis command triggers a random game event.
recallThis command teleports all players matching the specified name to your position. If the name is not specified, then all players will be teleported to your location.
removebirdsThis command removes all active birds from the game.
removedropsThis command eliminates all item drops in the vicinity.
removefishThis command gets rid of all active fish.
removekeyThis command removes the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key).
resetbindsThis command removes all custom key binds.
resetcharacterThis command resets all character data for the player.
resetenvThis command reverts the debug environment to its default setting.
resetkeysThis command removes all global keys.
resetmapThis command hides the entire game map.
resetsharedmapThis command clears the shared map data from the cartography table.
resetskillThis command resets a specified skill level to zero. View all skill IDs here: [valheimcheats.com/skill](/skill).
resetspawnThis command resets your character's spawn point.
resetwindThis command resets the game's wind direction and intensity.
respawnThis command instantly kills your character, causing a respawn.
restartpartyThis command restarts the playfab party network.
sThis command lets your character shout a message in chat.
saveThis command forces the game to immediately save any current progress.
sayThis command makes your character say a message in the chat.
setkeyThis command adds the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key).
setpowerThis command sets a specified Forsaken power for the player and resets its cooldown.
sitThis command instructs your character to sit down.
skiptimeThis command skips forward in time, changing the game's day and time.
sleepThis command advances the game by one day.
spawnThis command will spawn the specified amount of items or characters. See our [item IDs](/item) and [character IDs](/character) lists for entity IDs. Level only affects characters. High level characters, with a level of `10` or greater, may crash the game. Items will be spawned one at a time. Spawning thousands of items may freeze the game.
stopeventThis command terminates the currently running game event.
tameThis command tames all creatures in the nearby vicinity.
testThis command toggles various test values in the game.
thumbsupThis command triggers a thumbs-up emotion for your character.
timeThis command shows the current in-game time and indicates if sleeping is currently possible.
timescaleThis command adjusts the speed of in-game time, allowing for up to 3x acceleration. The fade time determines the transition duration.
todThis command sets the in-game time of day, with `0` and `1` representing midnight, and `0.5` signifying noon. Using `-1` will revert the time to its default setting.
tutorialresetThis command resets all viewed tutorial messages, allowing them to be viewed again.
tutorialtoggleThis command toggles the display of tutorial prompts.
unbanThis command removes the ban on the specified user, allowing them to access the game again.
unbindThis command removes any custom commands bound to a specified key.
WThis command sends a whispered message to a specified player in the game.
waveThis command triggers the wave emotion for your character.
windThis command modifies the game's wind direction and strength based on provided parameters.
| Command | Description | Category |
|---|---|---|
| This command will add the specified status effect. | Cheat | |
| This command aggravates neutral entities within a 20-meter radius. | Cheat | |
| This command bans the specified user based on their name, IP address, or userID. | Admin | |
| This command displays a comprehensive list of all users who have been banned. | Admin | |
| This command permanently changes your beard. If used without an argument, it removes your beard. | Cheat | |
| This command allows you to assign a specific action or command to a particular key. | Player | |
| This command triggers the challenge emotion animation for your character. | Emote | |
| This command makes your character perform a cheering animation. | Emote | |
| This command clears the text within the console window. | Player | |
| This command removes all active status effects, both positive and negative. | Cheat | |
| This command toggles the dps debug print on and off. | Cheat | |
| This command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment). | Cheat | |
| This command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event). | Cheat | |
| This command reveals the entire game map. | Cheat | |
| This command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default. | Cheat | |
| This command finds and pings matching objects on the map, placing pins if required. | Cheat | |
| This command toggles flight mode. | Cheat | |
| This command removes objects within a specified radius, as well as optionally specific objects if a name is provided. | Cheat | |
| Adjusts the field of view in the game to the specified number. | Player | |
| This command enables or disables the free camera mode. | Cheat | |
| This command displays garbage collection information. | Cheat | |
| This command redistributes all unplaced game locations. | Cheat | |
| This command toggles ghost mode where enemies ignore the player. | Cheat | |
| This command activates god mode. | Cheat | |
| This command teleports the player to given coordinates. | Cheat | |
| This command permanently alters your hairstyle. If used without an argument, it removes your hair. | Cheat | |
| This command restores your health to maximum. | Cheat | |
| This command displays available commands, with optional parameters to specify which portion to view. | Player | |
| This command toggles the visibility of any beta-related text in the game. | Player | |
| This command provides details about the current system settings. | Player | |
| This command spawns a premade set of items. View all sets below. Include the `keep` flag to keep current items; if not included, current items will be dropped. | Cheat | |
| This command kicks out the specified user based on their name, IP address, or userID. | Admin | |
| This command kills all nearby enemies and tamed creatures. | Cheat | |
| This command kills all nearby enemies. | Cheat | |
| This command eliminates all nearby tamed creatures. | Cheat | |
| This command lists all global keys in the game. | Cheat | |
| This command spawns a game location instance; however, saving is permanently disabled. To spawn a location instance and still keep saving enabled, append the `SAVE` flag after the location ID — see the second example below. View all Location IDs here: [valheimcheats.com/location](/location). | Cheat | |
| This command adjusts the server's draw distance with values between 1 and 5. | Player | |
| This command switches the player's character model from masculine to feminine. | Cheat | |
| This command forces the next dungeon to generate based on a new seed, disabling game saving. | Cheat | |
| This command toggles no-cost mode. | Cheat | |
| This command toggles the map's visibility. If applied on the server, it also toggles the global key. | Player | |
| This command triggers the "nonono" emotion animation for your character. | Emote | |
| This command, when used on a server, toggles the global key related to portal usage. | Player | |
| This command converts older terrain modifications in the vicinity to the updated system. | Player | |
| This command measures the latency between you and the server. | Player | |
| This command modifies the game difficulty scale. Use `0` to reset the difficulty. | Cheat | |
| This command triggers the point emotion animation. | Emote | |
| This command displays the player's coordinates. | Cheat | |
| This command lists all custom commands currently bound to keys. | Player | |
| This command shows counts and levels of all active creatures. | Cheat | |
| This command lists all loaded game locations and their distance from the player. | Cheat | |
| This command shows the seeds and positions of dungeons in the vicinity. | Player | |
| This command resets player fullness or hunger. | Cheat | |
| This command raises or lowers a specified skill by the amount entered. A negative number will lower the skill level. The maximum level for each skill is `100`. View all skill IDs here: [valheimcheats.com/skill](/skill). | Cheat | |
| This command triggers a random game event. | Cheat | |
| This command teleports all players matching the specified name to your position. If the name is not specified, then all players will be teleported to your location. | Cheat | |
| This command removes all active birds from the game. | Cheat | |
| This command eliminates all item drops in the vicinity. | Cheat | |
| This command gets rid of all active fish. | Cheat | |
| This command removes the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key). | Cheat | |
| This command removes all custom key binds. | Player | |
| This command resets all character data for the player. | Cheat | |
| This command reverts the debug environment to its default setting. | Cheat | |
| This command removes all global keys. | Cheat | |
| This command hides the entire game map. | Cheat | |
| This command clears the shared map data from the cartography table. | Player | |
| This command resets a specified skill level to zero. View all skill IDs here: [valheimcheats.com/skill](/skill). | Cheat | |
| This command resets your character's spawn point. | Player | |
| This command resets the game's wind direction and intensity. | Cheat | |
| This command instantly kills your character, causing a respawn. | Player | |
| This command restarts the playfab party network. | Player | |
| This command lets your character shout a message in chat. | Player | |
| This command forces the game to immediately save any current progress. | Admin | |
| This command makes your character say a message in the chat. | Player | |
| This command adds the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key). | Cheat | |
| This command sets a specified Forsaken power for the player and resets its cooldown. | Cheat | |
| This command instructs your character to sit down. | Emote | |
| This command skips forward in time, changing the game's day and time. | Cheat | |
| This command advances the game by one day. | Cheat | |
| This command will spawn the specified amount of items or characters. See our [item IDs](/item) and [character IDs](/character) lists for entity IDs. Level only affects characters. High level characters, with a level of `10` or greater, may crash the game. Items will be spawned one at a time. Spawning thousands of items may freeze the game. | Cheat | |
| This command terminates the currently running game event. | Cheat | |
| This command tames all creatures in the nearby vicinity. | Cheat | |
| This command toggles various test values in the game. | Cheat | |
| This command triggers a thumbs-up emotion for your character. | Emote | |
| This command shows the current in-game time and indicates if sleeping is currently possible. | Cheat | |
| This command adjusts the speed of in-game time, allowing for up to 3x acceleration. The fade time determines the transition duration. | Cheat | |
| This command sets the in-game time of day, with `0` and `1` representing midnight, and `0.5` signifying noon. Using `-1` will revert the time to its default setting. | Cheat | |
| This command resets all viewed tutorial messages, allowing them to be viewed again. | Player | |
| This command toggles the display of tutorial prompts. | Player | |
| This command removes the ban on the specified user, allowing them to access the game again. | Admin | |
| This command removes any custom commands bound to a specified key. | Player | |
| This command sends a whispered message to a specified player in the game. | Player | |
| This command triggers the wave emotion for your character. | Emote | |
| This command modifies the game's wind direction and strength based on provided parameters. | Cheat |
