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"

From Survival Servers
Jump to navigation Jump to search
Line 23: Line 23:
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
| '''ban [character name] ''' || Bans the selected character from the server.
+
| '''ban [character name]''' || Bans the selected character from the server.
 
|-
 
|-
 
| '''banendpoint [IP Address/SteamID]''' (slot number 1-5) || Bans the selected IP Address/SteamID from the server.
 
| '''banendpoint [IP Address/SteamID]''' (slot number 1-5) || Bans the selected IP Address/SteamID from the server.
 
|-
 
|-
| '''banid [clientID] ''' || Bans the selected clientID from the server.
+
| '''banid [clientID]''' || Bans the selected clientID from the server.
 
|-
 
|-
| '''clientlist ''' || Outputs the character name, clientID and ping of all players in the server to the console.
+
| '''clientlist''' || Outputs the character name, clientID and ping of all players in the server to the console.
 
|-
 
|-
 
| '''givecommandperm [clientID/SteamID/character name/IP Address]''' (steam id) || Gives the selected player the permission to use the console commands typed in the next entry.
 
| '''givecommandperm [clientID/SteamID/character name/IP Address]''' (steam id) || Gives the selected player the permission to use the console commands typed in the next entry.
 
|-
 
|-
| '''giveperm [clientID/SteamID/character name/IP Address] ''' (steam id) || Gives the selected player the permission typed in the next entry.
+
| '''giveperm [clientID/SteamID/character name/IP Address]''' (steam id) || Gives the selected player the permission typed in the next entry.
 
|-
 
|-
| '''giverank [clientID/SteamID/character name/IP Address] ''' || Gives the selected player the rank typed in the next entry.
+
| '''giverank [clientID/SteamID/character name/IP Address]''' || Gives the selected player the rank typed in the next entry.
 
|-
 
|-
 
| '''kick [character name]''' || Kicks the selected character from the server.
 
| '''kick [character name]''' || Kicks the selected character from the server.
Line 41: Line 41:
 
| '''kickid [clientID]''' || Kicks the selected clientID from the server.
 
| '''kickid [clientID]''' || Kicks the selected clientID from the server.
 
|-
 
|-
| '''killdisconnecttimer [seconds] ''' || Kicks the selected clientID from the server.
+
| '''killdisconnecttimer [seconds]''' || Kicks the selected clientID from the server.
 
|-
 
|-
 
| '''mute [character name]''' || Blocks a character from speaking through voice chat.
 
| '''mute [character name]''' || Blocks a character from speaking through voice chat.
Line 48: Line 48:
 
|-
 
|-
 
| '''revokecommandperm [clientID/SteamID/character name/IP Address]''' || Revokes the selected player's permission to use the console commands typed in the next entry.
 
| '''revokecommandperm [clientID/SteamID/character name/IP Address]''' || Revokes the selected player's permission to use the console commands typed in the next entry.
 +
|-
 +
| '''revokeperm [clientID/SteamID/character name/IP Address]''' || Revokes the selected player's permission typed in the next entry.
 +
|-
 +
| '''setkarma [clientID] [0-100]''' || Sets the karma of a client to the specified value.
 +
|-
 +
| '''showkarma ''' || Outputs the karma of all players to the console.
 +
|-
 +
| '''showperm [clientID/SteamID/character name/IP Address]''' || Outputs the permissions of the selected player to the console.
 +
|-
 +
| '''togglecharacternames''' || Toggle visibility of names above players. Client-side only.
 
|-
 
|-
 
|}
 
|}

Revision as of 10:38, 17 May 2023

Admins can be added by using FTP and navigating to Data\clientpermissions.xml.

Adding Admins

Here is an example of permissions & commands. The Steam ID can be found here. --> Steam ID

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

Admin Commands

Commands are used by pressing F3 to open the console.

Command Description
ban [character name] Bans the selected character from the server.
banendpoint [IP Address/SteamID] (slot number 1-5) Bans the selected IP Address/SteamID from the server.
banid [clientID] Bans the selected clientID from the server.
clientlist Outputs the character name, clientID and ping of all players in the server to the console.
givecommandperm [clientID/SteamID/character name/IP Address] (steam id) Gives the selected player the permission to use the console commands typed in the next entry.
giveperm [clientID/SteamID/character name/IP Address] (steam id) Gives the selected player the permission typed in the next entry.
giverank [clientID/SteamID/character name/IP Address] Gives the selected player the rank typed in the next entry.
kick [character name] Kicks the selected character from the server.
kickid [clientID] Kicks the selected clientID from the server.
killdisconnecttimer [seconds] Kicks the selected clientID from the server.
mute [character name] Blocks a character from speaking through voice chat.
resetkarma [clientID] Resets the karma of a client to 100.
revokecommandperm [clientID/SteamID/character name/IP Address] Revokes the selected player's permission to use the console commands typed in the next entry.
revokeperm [clientID/SteamID/character name/IP Address] Revokes the selected player's permission typed in the next entry.
setkarma [clientID] [0-100] Sets the karma of a client to the specified value.
showkarma Outputs the karma of all players to the console.
showperm [clientID/SteamID/character name/IP Address] Outputs the permissions of the selected player to the console.
togglecharacternames Toggle visibility of names above players. Client-side only.


Share your opinion