serverCommandAvailable: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |  (added note about rcon permissions state for serverCommandAvailable sqf command) | ||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 16: | Line 16: | ||
| |descr= Returns [[true]] if given [[serverCommand]] is available on current machine, [[false]] if not. | |descr= Returns [[true]] if given [[serverCommand]] is available on current machine, [[false]] if not. | ||
| {{Feature|informative| | |||
| Execution via [[BattlEye#RCon|RCon]] is basically being '''logged-in''' as [[admin]] in terms of permissions. | |||
| }} | |||
| {{{!}} class="wikitable align-center" | {{{!}} class="wikitable align-center" | ||
| Line 26: | Line 30: | ||
| ! [[isServer|Server Host]] | ! [[isServer|Server Host]] | ||
| {{!}}- | {{!}}- | ||
| {{!}} {{hl|#login}}, {{hl|#userlist}}, {{hl| #beclient}}, {{hl| #vote}} | {{!}} {{hl|#login}}, {{hl|#userlist}}, {{hl|#beclient}}, {{hl|#vote}} | ||
| {{!}} {{Icon|checked}} | {{!}} {{Icon|checked}} | ||
| {{!}} {{Icon|checked}} | {{!}} {{Icon|checked}} | ||
| Line 50: | Line 54: | ||
| {{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
| {{!}}- | {{!}}- | ||
| {{!}} {{hl|#shutdown}}, {{hl|#restartserver}}, {{hl|# | {{!}} {{hl|#shutdown}}, {{hl|#restartserver}}, {{hl|#restartserveraftermission}}, {{hl|#shutdownaftermission}}, {{hl|#dctimeout}}, {{hl|#exec}}, {{hl|#monitords}}, {{hl|#beserver}} | ||
| {{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
| {{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
| Line 56: | Line 60: | ||
| {{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
| {{!}}- | {{!}}- | ||
| {{!}}  | {{!}} {{hl|#logentities}}, {{hl|#exportjipqueue}} | ||
| {{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
| {{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
| {{!}} {{Icon|checked}} | {{!}} {{Icon|checked}} | ||
| {{!}} {{Icon|checked}} | |||
| {{!}}- | |||
| {{!}} Profiling type builds only: {{hl|#captureframe}}, {{hl|#captureslowframe}} | |||
| {{!}} {{Icon|unchecked}} | |||
| {{!}} {{Icon|unchecked}} | |||
| {{!}} {{Icon|checked}} | |||
| {{!}} {{Icon|checked}} | |||
| <!-- | |||
| {{!}}- | |||
| {{!}} Disabled: {{hl|#admin}} | |||
| {{!}} {{Icon|unchecked}} | |||
| {{!}} {{Icon|unchecked}} | |||
| {{!}} {{Icon|unchecked}} | |||
| {{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
| --> | |||
| {{!}}} | {{!}}} | ||
Latest revision as of 15:40, 29 October 2024
Description
- Description:
- Returns true if given serverCommand is available on current machine, false if not.
Arma 3 Multiplayer Server Commands Available to Client Voted Admin Logged Admin Server Host #login, #userlist, #beclient, #vote         #kick, #debug         #lock, #unlock, #maxping, #maxdesync, #maxpacketloss         #logout, #restart, #mission, #missions, #reassign, #monitor, #init         #shutdown, #restartserver, #restartserveraftermission, #shutdownaftermission, #dctimeout, #exec, #monitords, #beserver         #logentities, #exportjipqueue         Profiling type builds only: #captureframe, #captureslowframe         To check if a server command can be executed in the current environment, use serverCommandExecutable. 
- Groups:
- Multiplayer
Syntax
- Syntax:
- serverCommandAvailable command
- Parameters:
- command: String
- Return Value:
- Boolean
Examples
- Example 1:
- Example 2:
Additional Information
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
 Only post proven facts here! Add Note
 
	


