Skip to content

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.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open permissionpresets.xml
    Open the file permissionpresets.xml at:

    /config/permissionpresets.xml
    /config/permissionpresets.xml
  4. Add 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.

  5. 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.