Skip to content
/SLASHPLAY

How to ban a SteamID or IP in Barotrauma

In the F3 console, type banaddress STEAM_1:1:12345678 (or an IP address). The player stays banned even if they're offline.

banaddress

Bans an IP address or SteamID, even if that player isn't online. banip does the same.

banaddress <endpoint>

Examples

banaddress STEAM_1:1:12345678

Bans a SteamID.

banip 203.0.113.7

Bans an IP address.

Arguments

endpointRequired
An IP address or a SteamID.

What it does

For keeping out someone who left before you could ban them, as long as you have their SteamID or address.

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.