Unfortunately, due to the way Barotrauma is built, we're unable to provide customers with access to the console at this time, meaning admins need to be added to the configs manually.
To do this, follow these steps:
- Stop the server
- In the main game panel page for your service, click the "Configuration Files" button.
- In here, you should see a file named
clientpermissions.xml
. Click Text Editor next to it. - You should see this:
<?xml version="1.0" encoding="utf-8"?> <ClientPermissions> </ClientPermissions>
- Between the 2 client permissions lines, paste:
<Client name="YOUR INGAME NAME HERE" steamid="YOUR STEAM ID here" preset="Admin" />
- Replace text for the name and steamid with the relevant details for the player you wish to be an admin or moderator. You can find a user's SteamID here - https://steamid.io/
NOT STEAMID64!
If you wish the player to be a moderator, replace theAdmin
text withModerator
. - Press save at the top left.
- Start the server. Once it boots, your changes should now have taken effect.
Please contact support if you have any issues following this guide.
Working Example:
<?xml version="1.0" encoding="utf-8"?>
<ClientPermissions>
<Client
name="Pingupdate"
accountid="STEAM_1:1:76841077"
preset="Admin">
<command
name="lock" />
<command
name="oxygen" />
<command
name="resetkarma" />
<command
name="botcount" />
<command
name="respawnnow" />
<command
name="freecamera" />
<command
name="godmode_mainsub" />
<command
name="freeze" />
<command
name="difficulty" />
<command
name="servermsg" />
<command
name="autorestartinterval" />
<command
name="togglekarmatestmode" />
<command
name="campaigndestination" />
<command
name="setkarma" />
<command
name="mute" />
<command
name="water" />
<command
name="revive" />
<command
name="traitorlist" />
<command
name="autorestart" />
<command
name="autorestarttimer" />
<command
name="kickid" />
<command
name="spawn" />
<command
name="explosion" />
<command
name="showkarma" />
<command
name="clientlist" />
<command
name="power" />
<command
name="botspawnmode" />
<command
name="giveaffliction" />
<command
name="heal" />
<command
name="gamemode" />
<command
name="banaddress" />
<command
name="campaigninfo" />
<command
name="shuttle" />
<command
name="teleportcharacter" />
<command
name="enablecrewai" />
<command
name="sub" />
<command
name="lockx" />
<command
name="fixitems" />
<command
name="spawnitem" />
<command
name="banid" />
<command
name="togglecampaignteleport" />
<command
name="locky" />
<command
name="setclientcharacter" />
<command
name="togglekarma" />
<command
name="godmode" />
<command
name="fixhulls" />
<command
name="unban" />
<command
name="showperm" />
<command
name="unmute" />
<command
name="readycheck" />
<command
name="ban" />
<command
name="disablecrewai" />
<command
name="kick" />
<command
name="fire" />
<command
name="unbanaddress" />
</Client>
</ClientPermissions>
Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect Barotrauma server today! https://pingperfect.com/gameservers/barotrauma-game-server-hosting-rental.php