New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Kick and Ban Players on Your Barotrauma Server
BarotraumaBarotraumaKick & Ban Players

How to Kick and Ban Players on Your Barotrauma Server

Kick and ban players on a Barotrauma server

2 min read
Apr 10, 2026

As an admin you can kick, ban and unban players using the in-game console.

Open the console

Press F3 or the tilde key (~) to open the command console.

Show connected players

Use the following command to list all connected players with their client IDs:

clientlist

Kick a player

kick [name]

Replace [name] with the name of the player. The player is removed from the server but can rejoin.

Ban a player

You can ban a player by name or by client ID:

Command Description
ban [name] Bans a player by name
banid [client id] Bans a player by client ID

The player is permanently banned from the server.

Unban a player

To unban a player via the console:

unban [name]

Replace [name] with the name of the banned player.

Edit the ban list

You can also manage the ban list directly in the file banlist.txt.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open banlist.txt
    Open the file banlist.txt at:

    /config/banlist.txt
    
  4. Edit the entries
    Delete the entry of a player to unban them, or add a new entry manually.

  5. Start the server
    Start your server.

All commands

Command Description
clientlist Show connected players with IDs
kick [name] Kick a player
ban [name] Ban a player by name
banid [client id] Ban a player by client ID
unban [name] Unban a player
Written byEmeraldHost Team
Last updated on Apr 10, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Barotrauma

Ready to get started?

Rent your Barotrauma Server now

Join our Discord community 1257 members online right now