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.
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:
bannedThis 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:
- Kick them immediately —
kick [name] - Ban them —
ban [name]to prevent them from coming back - Save the world — type
saveto preserve the current state - 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.
Related Guides
See also: Adding Admins | Console Commands | Set Up a Whitelist
If you need help, join our Discord.
How is this guide?

How to Add Admins on Your Valheim Server
Learn how to add admins, enable the in-game console, and use admin commands on your Valheim dedicated server.
How to Change Difficulty on Your Valheim Server
Learn how to adjust World Modifiers to change combat difficulty, resource rates, death penalties, and more on your Valheim dedicated server.