Ban and Kick Players

Remove disruptive players from your Valheim server using kick, ban, and unban commands.

As a server admin, you can kick or ban players who break your rules. Kicks disconnect a player immediately while bans prevent them from reconnecting.

Kick a Player

In-Game Command

Open the console with F5 and type:

kick [name]

Or kick by SteamID:

kick [steamID64]

The player is immediately disconnected but can rejoin.

Ban a Player

In-Game Command

Open the console with F5 and type:

ban [name]

Or ban by SteamID:

ban [steamID64]

The player is disconnected and permanently banned until you unban them.

Via Server Files

You can also ban players by editing the ban list directly:

Stop your server

Go to the Dashboard and stop your server.

Edit the ban list

Go to Files and open:

bannedlist.txt

Add the player's ID

Add one SteamID64 per line:

bannedlist.txt
76561198012345678
76561198087654321

Unban a Player

In-Game Command

unban [steamID64]

Via Server Files

Open bannedlist.txt in Files and remove the player's ID.

View Banned Players

In the console, type:

banned

This lists all currently banned players and their IDs.

Find a Player's SteamID

In-game: Press F2 to see all connected players and their SteamIDs.

Online: Use steamid.io — enter the player's Steam profile URL.

Server logs: Check the console output when a player connects — their SteamID appears in the connection message.

Dealing with Griefers

If a player is actively griefing:

  1. Kick them immediatelykick [name]
  2. Ban themban [name] to prevent them from coming back
  3. Save the world — type save to preserve the current state
  4. Restore if needed — if damage was done, restore from a backup

💡 Tip: Consider using a whitelist for a more secure server. Whitelisted servers only allow approved players to connect.

See also: Adding Admins | Console Commands | Set Up a Whitelist

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page