NEW! Servers for GTA V (FiveM).. Use Coupon SPOOK, take 20% off Click here to order now at SurvivalServers.com
	
	
	
	Difference between revisions of "Barotrauma Admin Commands"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
	
Share your opinion
		
		
	
| 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  | + | #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 10:20, 17 May 2023
Admins can be added by using FTP.
Adding Admins
- Using FTP, navigate to Data\clientpermissions.xml.
- 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>
Share your opinion
