How to Ban a player
Using the In-Game Console
Before you can ban someone in-game, you will need to make sure that you are an admin on your server. We have a guide on adding yourself as an admin here - https://pingperfect.com/index.php/knowledgebase/807/Valheim--How-to-add-Admins.html
- Login to your server, and press the
F5
key to bring up the Console. - Enter the command
ban <SteamID64>
Alternatively, you can useban <Character Name>
to also ban them from the server.
Banning someone using their Character name will also ban their SteamID64 and thus all their characters from the server. - Shortly after sending the command, the player will be banned from the server.
Using the Config Files
- Login to the game panel.
- Click "Configuration Files”.
- Click "Text Editor" next to bannedlist.txt
- Add the SteamID64 to the file of the player you want banned, if you're banning multiple players make sure to put each SteamID64 on a new line.
- Press “Save” in the top left.
- Shortly after saving the file, the player/s will be banned from the server.
How to View Banned Players
Using the In-game Console
- Login to your server, and press the
F5
key to bring up the Console. - Enter the command
banned
- This will then show all the currently banned players.
NOTE: If you ban a player using their Character Name, it will show up as their SteamID64.
Using the Config Files
- Login to the game panel.
- Click "Configuration Files”.
- Click "Text Editor" next to bannedlist.txt
- This will then open the ban list for the server.
How to Unban a player
Using the In-game Console
- Login to the server, and press the
F5
key to bring up the Console. - Enter the command
unban <SteamID64>
- Shortly after entering the command, the player will be able to join the server again.
Using the Config Files
- Login to the game panel.
- Click "Configuration Files”.
- Click "Text Editor" next to bannedlist.txt
- Remove the player’s SteamID64 from the file
You can use Ctrl + F to search the file if it has a lot of users in it - Press “Save” in the top left.
- Shortly after saving the file, the user will be unbanned from the server.
Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect Valheim server today! https://pingperfect.com/gameservers/valheim-server-hosting.php