Skip to content

How to Kick and Ban Players on Your Valheim Server

You can kick and ban players using the in-game console or edit the ban list manually via SFTP.

Kick and ban players via console

Open the console with F5 and enter the following commands:

Kick a player

kick <name>
kick <name>

The player is removed from the server but can rejoin.

Ban a player

ban <name>
ban <name>

The player is permanently banned from the server.

Unban a player

unban <name>
unban <name>

Edit ban list manually

You can also edit the ban list and permitted list directly via SFTP:

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Edit files
    Open the files at /config/:

    • bannedlist.txt – Banned players (one SteamID64 per line)
    • permittedlist.txt – Permitted players (one SteamID64 per line)
  4. Add or remove SteamID64
    Add the player's SteamID64 on a new line or remove it.

  5. Start the server
    Start your server.

Tip

Here you can find a guide on how to find your SteamID64.

All commands

CommandDescription
kick <name>Kick a player
ban <name>Ban a player
unban <name>Unban a player