How to let a player use console commands in Barotrauma
Give them giveperm PlayerName ConsoleCommands, then givecommandperm PlayerName heal revive for the commands they may use.
givecommandperm
Lets a player use specific console commands.
givecommandperm <client> <commands> Examples
givecommandperm Jones heal revive Lets Jones use heal and revive.
Arguments
clientRequired- Client ID, SteamID, address or name.
commandsRequired- One or more command names.
What it does
A player also needs the ConsoleCommands permission before any command on their list works.
Good to know
- Type it in Barotrauma's console (F3) while connected to the server. You need the ConsoleCommands permission and
givecommandpermon your command list. The Admin rank doesn't include it: add a<command name="givecommandperm"/>line under your entry inData/clientpermissions.xml, or have someone rungivecommandperm. 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.