Valheim offers console commands for server administration, allowing you to manage players, bans, and server settings. This guide covers all essential commands and how to access the console.
Accessing the Console
- 1Right-click Valheim in Steam and select Properties
- 2In Launch Options, add: -console
- 3Start the game and press F5 to open the console
- 4Press Ctrl to switch to Remote mode for dedicated servers
Tip
- Console commands are case-sensitive
- Use Ctrl mode for commands that affect the server
- Some commands require devcommands enabled first
Player Management Commands
kick <PlayerName>Kick a player from the server
Example: kick Steve
ban <PlayerName>Permanently ban a player
Example: ban Steve
unban <PlayerName>Remove a ban from a player
Example: unban Steve
bannedList all banned players
Example: Shows all bans
Admin Commands
devcommandsEnable developer/cheat commands (admin only)
Example: Required for many commands
saveForce save the world
Example: Use before shutdown
Tip
- devcommands only works for admins on multiplayer servers
- Using cheats can affect game progression
Useful Player Commands
posShow current coordinates
Example: Useful for navigation
resetcharacterReset your character skills
Example: Keeps inventory
resetskill <skillname>Reset a specific skill
Example: resetskill run
Ready to Start Your Valheim Server?
Get instant setup, powerful hardware, and 24/5 support with Loafhosts.
Get Valheim Hosting