Skip to content

Barotrauma: Become Admin on Your Own Server

Discover how to grant administrator rights for full server control and seamless in-game management → Learn more now

12 November 20262 min read32 Views0 helpful

Don't have your own server yet? Host your Barotrauma server with ZAP-Hosting.

Introduction

Granting administrator rights allows you easy and comprehensive management with full control over your server. As an administrator, you can use all available options and features the game offers directly in-game. All steps you need to take to grant administrator rights for your server are described below.

Configuration

Adding an admin is done via the Clientpermissions.xml config, which you can find in the Configuration tab of your game server (raw text view).

A new client entry must be added to the config to add a new player. The syntax looks like this:

xml
<Client
    name="<playername>"
    steamid="<steamid>"
    permissions="<permission(s)>">
    <command
      name="<commandname>" />

The client entry contains the variables Name, SteamID, Permissions, and Command. These must be adjusted. The name can be chosen freely and serves only as a placeholder for clarity. Then you must define the SteamID64 of your Steam account.

You can find it by opening your Steam profile and right-clicking somewhere on the profile. There you can copy the Steam URL of the profile.

Then enter the URL on one of the following websites:

This will give you general account info as well as the Steam ID. In this case, the Steam ID 64 is required. The Steam ID must then be entered in the client entry under SteamID. The result looks like this:

xml
<Client
    name="Name"
    steamid="123456789"
    permissions="<permission(s)>">
    <command
      name="<commandname>" />

From now on, you are an admin, but no specific rights have yet been assigned to your account. You can add these by entering the permissions and commands that may be used. For example, it can look like this:

xml
...
    permissions="<permission(s)>"> ---> permissions="ServerLog, ConsoleCommands">
...
xml
<?xml version="1.0" encoding="utf-8" ?>

    <command
      name="heal" />
    <command
      name="spawn" />

In this example, the admin has access to server logs, console, and the heal and spawn commands. Below you will find an overview of the permissions you can set.

Permissions

PermissionsDescription
ManageRoundCan start/end rounds.
KickCan kick other players.
BanCan ban other players.
UnbanCan lift bans from other players.
SelectSubCan select the submarine.
SelectModeCan select the game mode.
ManageCampaignCan select the objective, mission, and buy supplies in the campaign store.
ConsoleCommandsCan use console commands – note that you must also grant permissions for individual console commands.
ServerLogCan read server logs.
ManageSettingsCan change server settings.
ManagePermissionsCan change permissions of other clients.
KarmaImmunityIs immune to negative effects of the karma system, does not lose karma.
AllGrants all permissions.

Conclusion

Congratulations, you have successfully configured administrator rights. If you have any further questions or need help, our support team is available daily! 🙂

FAQ

Frequently asked questions

Add a new client entry with name, SteamID64, permissions, and commands in the Clientpermissions.xml file found in the Configuration tab (raw text view) of your game server.
Right-click your Steam profile to copy the profile URL, then enter it on steamrep.com, steamidfinder.com, or steamid.io to get your SteamID64.
The ConsoleCommands permission, plus you must grant permissions for individual console commands separately.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.