Skip to content
/SLASHPLAY

How to take console commands away from a player in Barotrauma

In the F3 console, type revokecommandperm PlayerName revive to remove that command from the player's list.

revokecommandperm

Takes specific console commands off a player's list.

revokecommandperm <client> <commands>

Examples

revokecommandperm Jones revive

Jones can no longer use revive.

Arguments

clientRequired
Client ID, SteamID, address or name.
commandsRequired
One or more command names.

What it does

The counterpart of givecommandperm.

Good to know

  • Type it in Barotrauma's console (F3) while connected to the server. You need the ConsoleCommands permission and revokecommandperm on your command list. The Admin rank doesn't include it: add a <command name="revokecommandperm"/> line under your entry in Data/clientpermissions.xml, or have someone run givecommandperm. 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.