
On a dedicated Barotrauma server there is no host player. Nobody gets admin rights just by starting the game, so somebody has to give them out. Until you do, your crew can sit in the lobby with nobody able to start a round.
This guide covers how permissions work, the built-in ranks, the console commands to hand them out, the clientpermissions.xml file, and how to kick and ban. If you need a server for your crew, look at our Barotrauma server plans. For server settings and Workshop mods, see our Barotrauma dedicated server guide.
A note before we start: the official Barotrauma wiki pages on permissions and console commands are marked as possibly outdated for the current game version. Everything below comes from those pages and the game's source files on GitHub, but test on your own server before you rely on it.
How permissions work
Barotrauma has two layers of rights:
- Permissions decide what a player can do in the lobby and the game: start rounds, kick, ban, change settings.
- Console command permissions decide which console commands a player may type. A player needs the
ConsoleCommandspermission and also permission for each individual command.
Permissions can be given one by one, or as a rank, which is a preset bundle.
The permissions you will use most
From the official wiki:
| Permission | What it allows |
|---|---|
| ManageRound | Start and end rounds |
| Kick | Kick players |
| Ban | Ban players |
| Unban | Unban players |
| SelectSub | Pick the submarine when selection is manual |
| SelectMode | Pick the game mode |
| ManageCampaign | Covers ManageMoney, SellInventoryItems, SellSubItems, ManageMap and ManageHires |
| ManageSettings | Change server settings |
| ManagePermissions | Change other players' permissions (only ones they have themselves) |
| ConsoleCommands | Use console commands, together with per-command rights |
| ServerLog | Read the server log |
| KarmaImmunity | Ignore the karma system |
| All | Everything |
For a crew that just wants to play, ManageRound is the one that matters. It is what lets someone press start.
The built-in ranks
The game ships with presets in Data/permissionpresets.xml. In the current source on GitHub there are three:
- None: no permissions.
- Moderator: ManageRound, Kick, SelectSub, SelectMode, ManageCampaign, ConsoleCommands, ServerLog, ManageSettings, ManageMoney and a few more, plus moderation commands such as
kick,clientlistand karma commands. Note that it does not include Ban. - Admin: All permissions, plus a long list of commands including
ban,banid,banip,unban,spawn,healandteleportcharacter.
For most groups, Moderator for trusted regulars and Admin for one or two owners is enough.
Step 1: Make yourself admin from the server console
The easiest start is the server console. On our servers that is the Console tab in the panel.
-
Join the server with your game.
-
In the server console, list the connected players:
clientlist -
Give yourself the Admin rank by name or client ID:
giverank YourName Admin -
In the game, open the lobby. You should now be able to start rounds and change settings.
The server saves these rights to clientpermissions.xml, so you keep them after a restart.
Step 2: Give rights to your crew
Use the same commands for others. The wiki lists these, each taking a client ID, Steam ID, IP address or player name:
giverank PlayerName Moderator
giveperm PlayerName ManageRound
revokeperm PlayerName Kick
givecommandperm PlayerName heal
showperm PlayerName
giverankapplies a preset.givepermandrevokepermadd or remove a single permission, orall.givecommandpermlets a player use specific console commands.showpermshows what a player currently has.
A player with ManagePermissions can do the same in-game from the lobby, but can only hand out permissions they already have.
Step 3: Edit clientpermissions.xml directly
You can also edit the file. The wiki says it lives in the Data folder of the server installation. Stop the server first, so it does not overwrite your changes.
A single entry looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<ClientPermissions>
<Client
name="John"
accountid="STEAM_1:1:12345678"
permissions="ManageRound, Kick, ServerLog, ConsoleCommands">
<command name="clientlist" />
<command name="kick" />
</Client>
</ClientPermissions>
Points to watch:
accountiduses the Steam2 ID format (STEAM_1:...) in the wiki example. You can convert a profile link with an online Steam ID tool.- Separate permissions with commas.
- Each allowed console command gets its own
<command name="..." />line. - The wiki warns that if the file is not correctly formatted, the server deletes it and creates a new one. Keep a backup before you edit.
For most groups, the console commands in steps 1 and 2 are safer than hand editing.
Letting everyone start rounds
A common request: "I just want anyone to be able to start." There are two ways.
- Give ManageRound to everyone in your group with
giveperm. Simple, and you know who has it. - Use the ready check and autorestart settings. The Moderator preset includes commands such as
readycheck,autorestartandautorestartinterval, which a moderator can use to keep rounds starting without one person present. Check the exact settings in your serversettings.xml.
Avoid giving All to everyone. It includes kicking, banning and changing permissions.
Kicking and banning
These are the moderation commands, with the permission each needs:
kick PlayerName
kickid 3
ban PlayerName
banid 3
banip 76561198000000001 3600 Griefing
unban PlayerName
unbanip 203.0.113.5
kickandkickidneed the Kick permission.banandbanidneed the Ban permission. Useclientlistto see client IDs.banendpoint(aliasbanip) bans a Steam ID or IP address, with an optional duration in seconds and a reason.unbanandunbaniplift a ban.
According to the game's source code, bans are saved in Data/bannedplayers.xml. Back that file up with your other configs.
Karma and moderation
Karma automatically punishes behaviour like friendly fire and sabotage. The togglekarma command switches it on or off, and the KarmaImmunity permission exempts trusted players. For small friend groups, many owners turn karma off and rely on their moderators instead.
Backups
Before you change permissions in bulk, copy these files somewhere safe:
Data/clientpermissions.xmlData/bannedplayers.xmlserversettings.xml
On our servers you can download them from the File Manager or with SFTP. If you are also preparing for the new expansion, our post on Home & Harbor on a dedicated server covers save backups.
Running it with Space-Node
Our Barotrauma servers run on the Pterodactyl panel with a console for commands like giverank, a File Manager, SFTP and a Startup tab. Storage is NVMe SSD and every plan has DDoS protection. Regions are Europe (the Netherlands, Germany or France, the panel picks), Canada, the USA (San Jose, California), Singapore and Australia (Sydney).
Plans start at EUR 2.00 per month for 2 GB and go up to EUR 15.80 for 16 GB.
FAQ
Why can nobody start a round on my dedicated server?
Nobody has the ManageRound permission yet. Give yourself the Admin rank from the server console with giverank.
Where is clientpermissions.xml?
In the Data folder of the server installation, according to the official wiki.
What is the difference between Moderator and Admin?
In the current presets, Moderator can manage rounds, kick and change settings but cannot ban. Admin has all permissions.
How do I ban someone who already left?
Use banip (banendpoint) with their Steam ID or IP address, an optional duration in seconds and a reason.
My permissions disappeared after editing the file. Why?
If clientpermissions.xml is not formatted correctly, the server deletes and recreates it. Restore your backup and use the console commands instead.
Ready to run a server for your crew? Compare our Barotrauma server plans.