How to Add an Admin to Your Barotrauma Server
You can manage admins via the clientpermissions.xml file.
Tip
Here you can find a guide on how to find your SteamID64.
Add admin
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Open clientpermissions.xml
Open the fileclientpermissions.xmlat:/config/clientpermissions.xml/config/clientpermissions.xmlAdd admin
Add a new entry:xml<Client name="PlayerName" steamid="YOUR_STEAMID64" preset="Admin" /><Client name="PlayerName" steamid="YOUR_STEAMID64" preset="Admin" />Start the server
Save the file and start your server.
Remove admin
To remove an admin, delete the corresponding <Client> entry from clientpermissions.xml and restart the server.
Available presets
| Preset | Description |
|---|---|
Admin | Full access to all commands and settings |
Moderator | Can kick, ban players and moderate the chat |
None | No special permissions |
Note
You can also assign custom permissions by using permissions="ManageRound,Kick,Ban,ConsoleCommands" instead of a preset.