Kick or Ban Players from a Valheim Server
Sometimes a player needs to be removed from your Valheim server. Server admins can kick players temporarily, ban them from reconnecting, and remove bans when needed.
This guide covers the commands used to kick and ban players from a Valheim server, along with how to manage banned players directly through your Nodecraft server files.
Note: You need administrator access before using moderation commands.
Open Valheim and select Settings.
Select Gameplay.
Turn on Enable Console, as shown below. Join your server, then press F5 to open the console.

Kick a Player
Join the server with an administrator account.
Press F5 to open the console.
Confirm that the console appears as shown below, then enter kick PLAYERNAME, replacing PLAYERNAME with the player's exact name. The player can reconnect afterward.

Ban a Player
Press F5 to open the console.
Enter ban PLAYERNAME, replacing PLAYERNAME with the player's exact name.
Unban a Player
Press F5 to open the console.
Enter banned to display the current ban list.
Enter unban USERID, replacing USERID with the account you want to restore.
Using the Server Files
You can also manage bans directly through bannedlist.txt. This is useful if the player is no longer online or if you want to review the server's current ban list.
Add a Manual Ban
Navigate to your Nodecraft dashboard.
Locate your Valheim server and click Manage.
Stop the server.
Click Server Files in the menu on the left, then click Files.
Navigate to /.config/unity3d/IronGate/Valheim.
Locate bannedlist.txt

Select bannedlist.txt and click Edit.
Add one complete Platform User ID per line.
Save the file, then start the server.

Remove a Manual Ban
Stop the server to remove a manual ban.
Delete the player's line from the bannedlist.txt that you edited earlier.
Save the file and restart the server.
Final Thoughts
Valheim's moderation tools are simple, but they cover the important jobs: removing a disruptive player, keeping an account out, and opening the door again when the situation is resolved. Used carefully, they keep the server welcoming without turning every disagreement over a misplaced workbench into a Viking tribunal.
Need Help?
If you have questions or run into any issues, our support team is here to help! Reach out using the support widget on our website or visit our support center for further assistance.