How to become an administrator on a Barotrauma server
Last updated:
Create your Barotrauma server today!
In Barotrauma, administrator rights on the server are set through the file clientpermissions.xml. If you need to add a specific player to the administrators list, it is enough to specify their name and Steam64ID in the server settings and save the changes.
How to assign an administrator
Open the server control panel.
Go to the Data section and open the file
clientpermissions.xml.If the file contains the line
<ClientPermissions />, replace it with:<ClientPermissions> </ClientPermissions>Inside the tags
<ClientPermissions>and</ClientPermissions>, insert the following block:
<Client
name="NAME"
steamid="STEAM64ID"
preset="Admin"
>
<command name="givecommandperm" />
</Client>Instead of NAME, specify the player's name, and instead of STEAM64ID, their Steam64ID.
Example
<Client
name="Ivan"
steamid="7656119XXXXXXXXXX"
preset="Admin"
>
<command name="givecommandperm" />
</Client>Completion
Save the file and start the server. After that, the specified player will receive administrator rights.
If the rights were not applied, check that the Steam64ID is correct and make sure the file was saved without errors.