Skip to main content

Administration

Admin Players

Players on the admin list have the ability to run the Admin Commands. You can add a player to the admin list by opening the file located at .config/unity3d/IronGate/Valheim/adminlist.txt using the GCP File Manager or SFTP and adding the player's Valheim Player ID to the file. Each Valheim Player ID should be placed on a new line and changes to this list require a server restart.

Admin Commands

Being a Valheim server admin comes with a few basic commands. These can be run through the in-game console, which can be accessed by pressing F5 after activating it using the Steam Launch Parameter -console.

Kick

/kick <Character Name|Player ID>
You can kick a player that is currently online off the server by running the above kick command with either their Valheim Player ID or their character name.

case sensitive

Character names and Valheim Player IDs are case sensitive when used in admin commands!

Ban

/ban <Character Name|Player ID>
Players can be banned from joining the server by either editing the banned list manually, or running the ban command in-game. You can use either the player's Valheim Player ID or their character name, but using a character name allows for the player to create new Valheim characters to bypass the ban. If you use the player's Valheim Player ID it bans the account that owns the game instead of that specific player.

case sensitive

Character names and Valheim Player IDs are case sensitive when used in admin commands!

Unban

/unban <Character Name|Player ID>
Players can be un-banned from joining the server by either removing them from the banned list manually, or running the unban command in-game with their character name or Valheim Player ID.

tip

Make sure you un-ban a player the same way that they were banned! If they were banned using their character name, un-banning their Valheim Player ID won't do anything!

case sensitive

Character names and Valheim Player IDs are case sensitive when used in admin commands!

Banned

/banned
This prints a list of currently banned/permitted players using the method that they were banned/permitted with, either their character name or Valheim Player ID.

Looking for Game Server hosting?

Get 15% off your first purchase with WNHC15

Reach Out!

Have Questions? Need Help? Feel free to reach out!

Join our Discord