8 min readUpdated Aug 30, 2026

How To Add Admins To Your Barotrauma Server

Here's how to add yourself, or another player, as an admin on your Barotrauma server.

Adding Players As Admins

Before starting, you'll need the in-game username and the SteamID64 of every player you want to add.

Caution

Stop your server before editing this file. Barotrauma rewrites clientpermissions.xml when it shuts down, so any edits made while the server is running will be overwritten.

  1. 1

    Log in to Bropanel and Stop your server.

  2. 2

    In the sidebar, go to Files and open Data/clientpermissions.xml.

  3. 3

    Add a <Client> entry for each player, setting name to their username and accountid to their SteamID64. Add or remove <command> lines to control which console commands they can run, for example:

    <?xml version="1.0" encoding="utf-8"?>
    <ClientPermissions>
      <Client name="Pedrotski" accountid="<SteamID64>" permissions="All">
        <command name="kick" />
        <command name="ban" />
        <command name="godmode" />
      </Client>
      <Client name="HurpTurp" accountid="<SteamID64>" permissions="ConsoleCommands">
        <command name="startgame" />
        <command name="endgame" />
        <command name="say" />
      </Client>
      ...
    </ClientPermissions>
    
  4. 4

    Save the file and Start your server.

Note

The <command> lines are only read if the player has the ConsoleCommands permission, which permissions="All" includes. If you're writing your own permission list, make sure ConsoleCommands is part of it.

Once the server saves the file itself, you'll notice it rewrites each accountid into the STEAM_X:Y:Z format. That's expected, and both formats work.

Barotrauma Permissions List

The permissions attribute takes a comma-separated list of the values below, or All to grant every one of them.

PermissionDescription
AllGrants every permission listed below.
ManageRoundStart and end rounds.
KickKick players from the server.
BanBan players from the server.
UnbanLift bans on players.
SelectSubChoose the submarine and respawn shuttle.
SelectModeChoose the game mode.
ManageCampaignManage the campaign, including the store and submarine upgrades.
ConsoleCommandsUse the console commands granted by the <command> lines.
ServerLogView the server log.
ManageSettingsChange the server settings from in-game.
ManagePermissionsGrant and revoke other players' permissions.
KarmaImmunityIgnore the karma system.
ManageMoneySpend the crew's money.
SellInventoryItemsSell items held in character inventories.
SellSubItemsSell items belonging to the submarine.
ManageMapChoose the campaign's next destination.
ManageHiresHire and fire crew members.
ManageBotTalentsChoose the talents that bots unlock.
SpamImmunityBypass the chat spam filter.

Tip

Instead of listing permissions yourself, you can replace the permissions attribute with the built-in preset like preset="Admin" or preset="Moderator" from Data/permissionpresets.xml. You can also create your own custom presets by editing Data/permissionpresets_player.xml.

Barotrauma Admin Commands

These are every console command you can grant with a <command> line. Most of them need cheats to be enabled with enablecheats first.

CommandDescription
ambientlightSets the ambient light color of the level.
autoitemplacerdebugToggles debug info for the automatic item placer.
autorestartTurns automatic restarts between rounds on or off.
autorestartintervalSets the number of seconds between automatic restarts.
autorestarttimerSets the current auto-restart countdown in seconds.
ballastfloraSpawns a ballast flora in the submarine's ballast.
banBans a player by name.
banaddressBans a player by IP address.
banidBans a player by their client ID.
botcountSets the number of bots in the crew.
botspawnmodeSets the bot spawn mode to Normal or Fill.
calculatehashesRecalculates the hashes of the selected content packages.
campaigndestinationSets the campaign's next destination.
campaigninfoPrints information about the current campaign.
clientlistLists every connected client along with their client ID.
controlTakes control of the specified character.
debugaiToggles AI debug drawing.
debugdrawToggles the debug overlay.
debugdrawlocalizationHighlights text that hasn't been localized.
debugdrawlosToggles line-of-sight debug drawing.
debugeventPrints debug information about a specific event.
debugjobassignmentToggles debug logging for job assignment.
debugwiringToggles wiring debug mode, letting you rewire anything.
despawnnowImmediately despawns the characters of disconnected players.
devmodeToggles developer mode.
difficultySets the difficulty of the current level.
disablecrewaiDisables the AI of the crew's bots.
disableenemyaiDisables the AI of monsters.
dumpidsPrints a list of entity IDs to the console.
dumptofileWrites the console output to a text file.
enablecheatsEnables cheat commands. Needed before most other commands work.
enablecrewaiRe-enables the AI of the crew's bots.
enableenemyaiRe-enables the AI of monsters.
endgameEnds the current round.
entitydataPrints network data about the targeted entity.
eventmanagerTurns the random event manager on or off.
exitShuts the server down.
explosionCreates an explosion at the cursor position.
findentityidsPrints the IDs of every entity matching a name.
fireStarts a fire at the cursor position.
fixhullsRepairs all walls and hull damage.
fixitemsRepairs every item and structure.
followsubToggles whether the camera follows the submarine.
freecameraDetaches the camera from your character.
freezeFreezes your character in place.
gamemodeSets the game mode for the next round.
giveGives an item to a character's inventory.
giveafflictionApplies an affliction to a character.
givecommandpermGrants a player permission to use specific console commands.
giveexperienceGives experience points to a character.
givepermGrants a permission to a player.
giverankAssigns a permission preset to a player.
givetalentUnlocks a talent for a character.
godmodeToggles god mode on your character.
godmode_mainsubMakes the main submarine invulnerable.
growthdelaySets the growth delay of ballast flora.
healHeals the specified character.
healmeHeals your own character.
helpLists the available commands, or shows help for one of them.
hidemonstersHides every monster in the level.
itemassembliesLists the loaded item assemblies.
itemsLists every item in the game.
kickKicks a player by name.
kickidKicks a player by their client ID.
killKills the specified character.
killallKills every character in the level.
killdisconnectedtimerSets how long a disconnected player's character survives.
killmonstersKills every monster in the level.
lightingToggles dynamic lighting.
listcoroutinesLists the coroutines that are currently running.
listlocationsLists the locations on the campaign map.
listsuitabletreatmentsLists suitable treatments for a character's afflictions.
listtasksLists the tasks that are currently running.
lockLocks the camera in place.
lockxLocks the camera's horizontal movement.
lockyLocks the camera's vertical movement.
losToggles line of sight.
loslightingfreecamToggles line of sight, lighting and free camera at once.
maxupgradesSets the maximum campaign upgrade level.
missionSets the mission type for the next round.
moneyAdds money to the campaign bank.
monstersignoreplayerMakes monsters ignore a specific player.
monstersignoresubMakes monsters ignore the submarine.
monstersrestoretargetsRestores monsters' normal targeting.
monstertargetingrestrictionsLists the monster targeting restrictions currently in place.
msgSends a message that appears on every player's screen.
muteMutes a player's voice chat.
netstatsToggles the networking statistics overlay.
oxygenRefills the oxygen in every hull.
powerAdds power to the submarine's grid.
ragdollRagdolls the specified character.
randomizeseedToggles level seed randomization between rounds.
readycheckStarts a ready check.
resetkarmaResets a player's karma to the default value.
respawnnowTriggers a respawn immediately.
restartRestarts the current round.
reviveRevives a dead character.
revokecommandpermRemoves a player's permission to use specific console commands.
revokepermRemoves a permission from a player.
saySends a chat message as the server.
seedSets the level seed for the next round.
sendchatmessageSends a chat message as any player.
servermsgSets the server's message of the day.
servernameChanges the server's name.
setcampaignmetadataSets a campaign metadata value.
setclientcharacterAssigns a character to a specific player.
setdifficultySets the difficulty of the current level.
setkarmaSets a player's karma value.
setlocationreputationSets your reputation with the current location.
setmaxplayersSets the maximum player count.
setpasswordSets the server password.
setreputationSets your reputation with a faction.
setsalarySets a player's campaign salary.
setskillSets a character's skill level.
showkarmaShows every player's karma values.
showmoneyShows the campaign's current funds.
showmonstersReveals monsters hidden with hidemonsters.
showpermShows a player's current permissions.
showreputationShows your reputation with every faction.
showseedPrints the current level seed.
shuttleToggles the respawn shuttle.
simulatedduplicateschanceSimulates duplicate network packets for testing.
simulatedlatencySimulates network latency for testing.
simulatedlossSimulates packet loss for testing.
skipeventcooldownSkips the cooldown before the next random event.
spawnSpawns a character at the given position.
spawnitemSpawns an item at the given position.
spawnnpcSpawns an NPC at the given position.
startgameStarts a new round.
startitemsSets the item set the crew starts a campaign with.
startwhenclientsreadyToggles starting the round once enough players are ready.
subSelects the submarine for the next round.
tagsLists the tags of the targeted entity.
teleportcharacterTeleports a character to the cursor position.
teleportsubTeleports the submarine to the cursor position or a location.
toggleaitargetsToggles AI target debug drawing.
togglecampaignteleportLets you teleport around the campaign map by clicking.
togglecharacternamesToggles character name tags.
togglehudToggles the entire HUD.
toggleitemhighlightsToggles item highlight outlines.
togglekarmaTurns the karma system on or off.
togglekarmatestmodeLogs karma changes without actually punishing players.
toggleupperhudToggles the top bar of the HUD.
togglevoicechatfiltersToggles the radio and muffling filters on voice chat.
traitorlistLists the current traitors and their objectives.
triggereventTriggers a specific random event.
triggertraitoreventTriggers a specific traitor event.
unbanUnbans a player by name.
unbanaddressUnbans an IP address.
unlockmissionUnlocks a mission in the campaign.
unlocktalentsUnlocks talents for a character.
unmuteUnmutes a player's voice chat.
verboseloggingToggles detailed server logging.
waterLets you flood or drain hulls with the cursor.