How to Ban Players on Your Valheim Server

Published November 18, 2026 · By Host Havoc Technical Support Team

You can ban players from the control panel with HH Server Admin. Valheim reads its ban list again within a few seconds, so a banned player who's online is kicked straight away and there's no restart needed.

Ban a player in HH Server Admin

  1. Log in to the Game Control Panel and navigate to your Valheim server.
  2. Click the HH Server Admin icon.
  3. Pick how you want to ban them:
    • Player has played here: click Players on the left, click the player (use Played lately if they're offline), then click Ban and confirm.
    • Player hasn't played here: click Bans, admins & whitelist on the left, type their ID under Add a player, add a name if you like, and click Ban.

Steam players use their 17-digit Steam ID, which you can find at steamidfinder.com. For Xbox, Game Pass, PS5 and Switch 2 players, use the ID shown for them in Played lately.

Unban a player

  1. Open HH Server Admin and click Bans, admins & whitelist on the left.
  2. Click Unban next to the player under Banned. They can join again straight away.

Another way: bannedlist.txt

  1. Click Configuration Files on your server's page.
  2. Find bannedlist.txt and click Text Editor.
  3. Add each player's ID on its own line, then click Save. To unban someone, delete their line.

Ban in the game

Admins can also open the in-game console (F5) and type ban <name or ID> or unban <ID>. See Add Admins and Enable In-Game Console.