Skip to content
/SLASHPLAY

How to ban a player in Barotrauma

Open the console with F3 and type ban PlayerName. The player is kicked and can't rejoin. You need the Ban permission.

ban

Kicks a player by name and bans them from the server.

ban <name>

Examples

ban Griefer

Bans the player named Griefer.

Arguments

nameRequired
The player's name, in quotation marks if it has spaces.

What it does

Bans are kept in the server's ban list, so the player can't come back after a restart. Use unban to lift it.

Good to know

  • Type it in Barotrauma's console (F3) while connected to the server. It needs the Ban permission, which the Admin rank has. The server page's Console tab can't send commands to Barotrauma.

Run it on your server

The Console tab can't send commands to Barotrauma: a player with permission types them in the game's console (F3), after being made admin in Data/clientpermissions.xml. Settings go in serversettings.xml on the Files tab and apply at the next restart. New to this? Start a Barotrauma server first.

Your own
Barotrauma server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.