Commands for Valheim

Rent your own prepaid Valheim server today at nitrado.net
Open the console
You must set yourself as an admin to use any admin commands. In order to set yourself as an admin, please follow the guide here: Player control for Valheim.
Before you can use commands, the game's console must first be activated via the game's Properties in Steam:
- Open Steam
- Navigate to your Library
- Right click Valheim
- Select Properties
- In the General tab, look for Launch Options
- Type -console
- Exit the Properties window
When you next launch the game, you can then press the F5 key. Once the console opens, type in devcommands and press enter. You are now an Admin!
Here is helpful information about how to become admin on your server:
Console Commands
Command | Description |
---|---|
kick [name/ip/userID] | Kick the user. Case sensitive |
ban [name/ip/userID] | Ban the user. Case sensitive |
unban [ip/userID] | Unban the user. Case sensitive |
banned | Shows a list of banned users. |
ping | Send a ping to the server to ger your latency. |
lodbias [number] | Set distance lod bias. If empty shows actual lodbias. By default 1.5 |
info | Print system info |
dpsdebug | Toggle dps debug print |