Valheim

Valheim

106 ratings
Console Commands
By xmaniacx
A full guide for console commands
2
   
Award
Favorite
Favorited
Unfavorite
Commands
SERVER ADMIN CONSOLE COMMANDS
Server admins can use the console to enter commands on the server.

To open the console, the admin can press F5. Then the following commands can be entered.

help - Shows all the available server commands
kick [name/ip/userID] - Kicks the named user
ban [name/ip/userID] - Bans the named user
unban [ip/userID] - Unbans the named user
banned - Shows a full list of banned users
ping - Pings the server to measure latency.
lodbias [number] - Sets the draw distance for the server. The number can be set from 1 to 5.
info - Prints the current system information.

DEBUG/CREATIVE MODE COMMANDS
Also in singleplayer, you can enter debug mode to access a few more cheats and what is essentially a creative mode, where you can build without a workbench or resources.

Debugmode
- Enters creative mode.
B - Toggle for creative mode building, no workbench or resources needed.
Z - Toggle to fly. Spacebar gives you altitude, Ctrl brings you back down.
K - Tap to kill all nearby enemies and creatures within range.


To activate cheats, type
devcommands
and press enter. Then you'll be able to use the following cheats in singleplayer mode. They won't work on a multiplayer server.

To deactivate cheats, type devcommands and press enter again.

god - Enables god mode.
freefly - Activates the free camera.
ffsmooth 1 - Adds smooth movements to free camera.
ffsmooth 0 - Resets smooth movements to normal.
killall - Kills all nearby enemies.
tame - Tames all nearby creatures.
exploremap - Reveals the entire map.
resetmap - Hides entire map.
pos - Shows player coordinates.
goto [x,z] Teleports player to the specified coordinates.
location - Sets spawn location.
event [name] - Starts the named event.
stopevent - Stops the current event.
randomevent - Starts a random event.

raiseskill [skill] [amount] - Raises the named skill by the value entered.
resetcharacter - Resets all of your character data.
dpsdebug - Toggles dps debug print on and off.
save - Forces the game to save the current world state.
players [nr] - Adjusts the difficulty scale. Enter 0 to reset difficulty.
removedrops - Removes all items dropped in the area.

wind [angle][intensity] - Adjusts the direction and intensity of the wind.
resetwind - Resets the wind angle and intensity

Valheim
9 Comments
Aaron Horse IT2 21 Feb @ 11:19am 
thanks
Hardee's 19 Feb, 2023 @ 10:46am 
Pepperoni Secret is correct maybe we could have it added to the guide to help others? :steamthis:
INsanit 5 Feb, 2023 @ 10:48am 
nice
SRSter 16 Dec, 2021 @ 7:18pm 
cool
Pepperoni Secret 24 Oct, 2021 @ 4:47pm 
You also have to right click the game on steam, go to properties and type "-console" under launch options in case this doesn't work
tyler 29 Apr, 2021 @ 8:30am 
that is why he likes it
Jackee4 22 Apr, 2021 @ 9:47pm 
you guys are same
xmaniacx  [author] 19 Apr, 2021 @ 12:50pm 
THANKS
Dovahkiin3264 19 Apr, 2021 @ 6:07am 
I like your pfp