Barotrauma Admin Commands: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
Line 3: Line 3:
==Adding Admins==
==Adding Admins==
#Using [[FTP Access|FTP]], navigate to '''Data\clientpermissions.xml'''.
#Using [[FTP Access|FTP]], navigate to '''Data\clientpermissions.xml'''.
#Using this format, add in the player name, [https://steamid.io/ Steam ID], and command if desired.
#Using this format, add in the player name, [https://steamid.io/ Steam ID], and commands.
<pre>
<pre>
  <Client
  <Client
Line 12: Line 12:
       name="<commandname>" />
       name="<commandname>" />
   </Client>
   </Client>
</pre>
Here is an example of permissions & commands.
<pre>
<ClientPermissions>
<Client
    name="Player Name"
    steamid="123456789"
    permissions="ServerLog, ConsoleCommands">
    <command
      name="heal" />
    <command
      name="spawn" />
  </Client>
</ClientPermissions>
</pre>
</pre>

Revision as of 09:20, 17 May 2023

Admins can be added by using FTP.

Adding Admins

  1. Using FTP, navigate to Data\clientpermissions.xml.
  2. Using this format, add in the player name, Steam ID, and commands.
 <Client
    name="<player name>"
    steamid="<steamid>"
    permissions="<permission(s)>">
    <command
      name="<commandname>" />
  </Client>

Here is an example of permissions & commands.

<ClientPermissions> 
<Client
    name="Player Name"
    steamid="123456789"
    permissions="ServerLog, ConsoleCommands">
    <command
      name="heal" />
    <command
      name="spawn" />
  </Client>
</ClientPermissions>