How to Add Custom Ranks on Your Barotrauma Server
You can create custom permission ranks to assign specific permissions to players.
Warning
Make sure your server is stopped before editing the config file.
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Open permissionpresets.xml
Open the filepermissionpresets.xmlat:/config/permissionpresets.xml/config/permissionpresets.xmlAdd a custom rank
Add a new<PresetPermission>entry with the desired name and permissions. For example:xml<PresetPermission Name="Moderator" Permissions="Kick, Ban, Unban" Description="Can kick and ban players"> </PresetPermission><PresetPermission Name="Moderator" Permissions="Kick, Ban, Unban" Description="Can kick and ban players"> </PresetPermission>You can combine multiple permissions by separating them with commas.
Start the server
Save the file and start your server.
Tip
You can find a list of available permissions by looking at the existing presets in the file. Common permissions include Kick, Ban, Unban, ConsoleCommands, ManageSettings, and ManageRound.