Skip to main content

Kick/Ban and unban players

To kick/ban and unban player you will first need to make sure you are an admin and that you have enabled the console on your client. You can find a guide on enabling the console at https://www.creeperhost.net/wiki/books/valheim/page/enabling-and-opening-the-console and a guide on becoming an admin at https://www.creeperhost.net/wiki/books/valheim/page/adding-admins 


Some commands require the Steam64ID of the player, you can use the following guide to find their ID
https://www.creeperhost.net/wiki/books/steam/page/how-to-find-a-players-steamid 

Kicking a player

1. Login to your server and press the F5 key on your keyboard to open the console.

2. Type the command kick <Steam64ID> and press enter
You can also use the player name to kick the player kick <playerName>

3. You should now get a message that the player has been kicked and they should no longer be connected.

Banning a player

1. Login to your server and press F5 to open the console

2. Type the following command replacing <Steam64Id> with the steam id of the player you wish to ban ban <Steam64Id>
If the player is currently connected to the server you can use their name ban <playerName>

3. Press enter and you should see a message saying the user has been banned.

Unbanning a player

1. Login to your server and press the F5 key to open the console

2. Enter the command unban <Steam64Id> and press enter

3. You should now get a message saying the player has been unbanned

Viewing banned players

1. Login to your server and press F5 to open the console

2. Type banned into the console and press enter

3. You should now see a list of all the banned players