How To Add An Admin On Your Barotrauma Server

Barotrauma

·

Nov 8, 2024

·

3 Mins Read

Barotrauma server administrators have access to a range of server management commands including kicking/banning players, changing server settings, spawning items and a lot more.


# Adding an Administrator

Administrators can be set by adding their name and Steam64ID in the Barotrauma Permission Settings section of your control panel.

  1. Access your control panel and Stop your server.
  2. Navigate to Config.

Barotrauma server with the Config button highlighted

  1. Click Barotrauma Server Settings.
  2. Set Validate Files to Disabled.

Barotrauma server config turning Validate Files off

  1. Navigate to Files.

Barotrauma server with the Files button highlighted

  1. Navigate to Data and edit clientpermissions.xml.

Barotrauma server files showing clientpermissions

  1. Replace the existing <ClientPermissions /> line with the following snippet (if it hasn't been changed yet):
<ClientPermissions>
</ClientPermissions>​
  1. Enter the following between <ClientPermissions> and </ClientPermissions>:
<Client
    name="NAME"
    steamid="STEAM64ID"
    preset="Admin"
>
    <command name="givecommandperm" />
</Client>​
  1. Save and Start your server.
Ruben B

Partnership Manager