Admin commands in Valheim
As an admin on your Valheim server, you have several admin and cheat commands to help you manage your server perfectly.
Customization
With the update 0.148.6
the developers of Valheim have disabled the console in the game by default. For this reason, you need to start the game with the -console
startup parameter.
- Open Steam and navigate to Valheim in the
Library
- Make a right click on
Valheim
- Open the
properties
and go to theStartup parameters
- Add
-console
to the startup parameters and save the settings - Restart the game and check in-game with the command
devcommands
if everything has worked
Admin commands
Command | Description |
---|---|
help | list of all commands |
kick <Name/IP/User Id> | kicks the selected player |
ban <Name/IP/User Id> | Ban the selected player |
unban <IP/User Id> | Unban the selected player |
banned | Show list of all banned players |
ping | Latency to server] |
lodbias <Number> | Change graphic detail level. Default = 1.5 |
info | Display system info |
Cheat commands
Command | Cescription |
---|---|
god | Enable God Mode |
pos | Display current position |
goto <x, z> | Teleport |
killall | kill enemies in the nearer radius |
exploremap | uncover map completely |
resetmap | Cloak map again |
tame | Tame nearby creatures |
location | Spawn Location |
freely | Camera Free Flight Mode |
ffsmooth | Free Flight Smoothness |
event <Name> | Start event |
stopevent | Stop event |
raiseskill <Skill> <Amount> | Adjust skill |
resetcharacter | Reset character |
dpsdebug | toggle dps debug print |
save | force save |
removedrops | remove item drops |
resetwind | reset wind |
players <Number> | set difficulty scaling (0 = reset) |