Skip to content
/SLASHPLAY

How to make someone admin on a Barotrauma server

An admin can type giverank PlayerName Admin in the F3 console. The first admin goes in Data/clientpermissions.xml with preset="Admin", uploaded in Files, then restart.

giverank

Gives a player a rank, a ready set of permissions such as Moderator or Admin.

giverank <client> <rank>

Examples

giverank Jones Moderator

Makes Jones a moderator.

giverank 3 Admin

Gives client 3 the Admin rank.

Arguments

clientRequired
Client ID, SteamID, address or name.
rankRequired
None, Moderator or Admin.

What it does

The easiest way to make someone an admin or moderator. The ranks come from Data/permissionpresets.xml: None, Moderator and Admin.

Good to know

  • Type it in Barotrauma's console (F3) while connected to the server. You need the ConsoleCommands permission and giverank on your command list. The Admin rank doesn't include it: add a <command name="giverank"/> 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.
  • The game saves ranks to Data/clientpermissions.xml. Nobody has a rank on a new server, so the first admin goes in that file: see clientpermissions.xml.

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.