How to make yourself admin on a Barotrauma dedicated server
Upload Data/clientpermissions.xml in Files with <Client name="You" accountid="76561198000000000" preset="Admin"/> inside <ClientPermissions>, then restart the server.
clientpermissions.xml
Lists the players with admin ranks or permissions on the server, one Client line each, by SteamID.
<Client name="<name>" accountid="<accountid>" preset="<rank>"/> Examples
<Client name="Jones" accountid="76561198000000000" preset="Admin"/> Makes this Steam player an admin.
<Client name="Kim" accountid="76561198000000001" preset="Moderator"/> A moderator: can kick and run rounds, not ban.
Arguments
nameRequired- The player's name, for your reference.
accountidRequired- The player's SteamID64 (or a
STEAM_1:0:123style ID). rankRequired- Admin, Moderator or None, from
Data/permissionpresets.xml.
What it does
This is how the first admin is made on a dedicated server, where nobody is the host. Give yourself preset="Admin", then hand out ranks in game with giverank.
Good to know
- Write the file on your computer with the lines inside
<ClientPermissions>and</ClientPermissions>, upload it to the server'sDatafolder in Files, then restart the server. An uploaded file is yours automatically, so it's kept. - Instead of a preset, a line can carry
permissions="Kick,Ban"and<command name="..."/>lines for the console commands that player may use. - The game also writes this file when ranks change in game.
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.