How to Ban Players on Your Valheim Server
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
- Log in to the Game Control Panel and navigate to your Valheim server.
- Click the HH Server Admin icon.
- 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
- Open HH Server Admin and click Bans, admins & whitelist on the left.
- Click Unban next to the player under Banned. They can join again straight away.
Another way: bannedlist.txt
- Click Configuration Files on your server's page.
- Find
bannedlist.txtand click Text Editor. - 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.