Skip to content
/SLASHPLAY

How to ban a player by ID in Barotrauma

Type clientlist in the F3 console, then banid 5 to kick and ban client 5.

banid

Kicks and bans the player with the given client ID.

banid <id>

Examples

banid 5

Bans client 5.

Arguments

idRequired
The client ID from clientlist.

What it does

Use it when the name is awkward to type. clientlist lists the IDs.

Good to know

  • Type it in Barotrauma's console (F3) while connected to the server. You need the ConsoleCommands permission and banid on your command list; the Admin rank has both. 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.