achievements
shows player achievement info
145 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.
achievements
shows player achievement info
addstatus [status effect]
This command will add the specified status effect.
adrenaline
sets adrenaline level
aggravate
This command aggravates neutral entities within a 20-meter radius.
altbioms
list of biomes with modifiers
ban [name/ip/userID]
This command bans the specified user based on their name, IP address, or userID.
banned
This command displays a comprehensive list of all users who have been banned.
beard [beard number]
This command permanently changes your beard. If used without an argument, it removes your beard.
bind [keycode] [command]
This command allows you to assign a specific action or command to a particular key.
biomeinfo
info about current biome sector
catch
[fishname] [level] simulates catching a fish
/challenge
This command triggers the challenge emotion animation for your character.
/cheer
This command makes your character perform a cheering animation.
cinematic
[name] play cinematic
cinematicsleep
[name] play cinematic on next sleep for everyone
clear
This command clears the text within the console window.
clearpopups
stops all current unlock UI messages
clearstatus
This command removes all active status effects, both positive and negative.
confirmcheats
Registered console command.
cr
unloads unused assets
debugmode
fly mode
devcommands
enables cheats
die
kill yourself
dpsdebug
This command toggles the dps debug print on and off.
env [env ID]
This command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment).
event [event ID]
This command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event).
exclusivefullscreen
changes window mode to exclusive fullscreen, or back to borderless
exploremap
This command reveals the entire game map.
ffsmooth [0|1]
This command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default.
filtercraft
[name] filters crafting list to contain part of text
find [text] [pingmax]
This command finds and pings matching objects on the map, placing pins if required.
findbiome
marks center of all biomes on map of type or containing modifier with search string
findbiometp
finds the closest biome matching your search and teleports you to it
findtp
[text] [index=-1] [closerange=30] searches loaded objects and location list matching name and teleports you to the closest one outside of closerange. Specify an index to tp to any other in the found list, a minus value means index by closest.
fly
This command toggles flight mode.
forcedelete [radius] [name]
This command removes objects within a specified radius, as well as optionally specific objects if a name is provided.
fov [number]
Adjusts the field of view in the game to the specified number.
freefly
This command enables or disables the free camera mode.
gc
This command displays garbage collection information.
genloc
This command redistributes all unplaced game locations.
getstat
get specific stat
ghost
This command toggles ghost mode where enemies ignore the player.
god
This command activates god mode.
goto [x] [z]
This command teleports the player to given coordinates.
hair [hair number]
This command permanently alters your hairstyle. If used without an argument, it removes your hair.
haslocation
check if zone has location
heal
This command restores your health to maximum.
height
prints height from worldgen at current position
help [page] [page count]
This command displays available commands, with optional parameters to specify which portion to view.
hidebetatext
This command toggles the visibility of any beta-related text in the game.
info
This command provides details about the current system settings.
inventoryclean
throws out any items in inventory on invalid positions
inventorysize
sets inventory size
itemset [set name] [keep]
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.
kick [name/ip/userID]
This command kicks out the specified user based on their name, IP address, or userID.
killall
This command kills all nearby enemies and tamed creatures.
killenemies
This command kills all nearby enemies.
killenemycreatures
kill nearby enemies
killtame
This command eliminates all nearby tamed creatures.
listkeys
This command lists all global keys in the game.
location [location ID]
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).
lodbias [number]
This command adjusts the server's draw distance with values between 1 and 5.
maxfps
[FPS] sets fps limit
model [0-1]
This command switches the player's character model from masculine to feminine.
nextseed
This command forces the next dungeon to generate based on a new seed, disabling game saving.
nocost
This command toggles no-cost mode.
nomap
This command toggles the map's visibility. If applied on the server, it also toggles the global key.
/nonono
This command triggers the "nonono" emotion animation for your character.
noportals
This command, when used on a server, toggles the global key related to portal usage.
nospawn
toggles natural spawning of monsters
optterrain
This command converts older terrain modifications in the vicinity to the updated system.
pevents
Subcommands: [list/start/stop/here]
ping
This command measures the latency between you and the server.
players [difficulty]
This command modifies the game difficulty scale. Use `0` to reset the difficulty.
/point
This command triggers the point emotion animation.
pos
This command displays the player's coordinates.
printbinds
This command lists all custom commands currently bound to keys.
printcreatures
This command shows counts and levels of all active creatures.
printlocations
This command lists all loaded game locations and their distance from the player.
printnetobj
[radius = 5] lists number of network objects by name surrounding the player
printseeds
This command shows the seeds and positions of dungeons in the vicinity.
puke
This command resets player fullness or hunger.
raiseskill [skill] [amount]
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).
randomevent
This command triggers a random game event.
recall [name]
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.
removebirds
This command removes all active birds from the game.
removedrops
This command eliminates all item drops in the vicinity.
removefish
This command gets rid of all active fish.
removekey [global key]
This command removes the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key).
removekeyplayer
[name]
repairall
repairs all equipment
resetbinds
This command removes all custom key binds.
resetbuildui
Resets build ui save data that stores recent and favorites
resetcharacter
This command resets all character data for the player.
resetenv
This command reverts the debug environment to its default setting.
resetkeys
This command removes all global keys.
resetknownitems
reset character known items & recipes
resetmap
This command hides the entire game map.
resetplayerprefs
Resets any saved settings and variables (not the save game)
resetsharedmap
This command clears the shared map data from the cartography table.