Skip to main content

RequestingRaPlayersInfo

Gets called when a player is requesting info for multiple players in the remote admin.

Start a script section

!-- OnEvent RequestingRaPlayersInfo
-- require @evPlayer @evTargets $evIsSensitiveInfo $evHasSensitiveInfoPerms $evHasUserIdPerms *evInfoBuilder $evIsAllowed

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: Yes
  • Event data: PlayerRequestingRaPlayersInfoEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueThe player that made the request.
@evTargetsplayer valueThe target players selected.
$evIsSensitiveInfobool valueGets or sets whether the Player requested sensitive info.
$evHasSensitiveInfoPermsbool valueGets or sets whether the player has permissions to view sensitive info.
Remarks: If IsSensitiveInfo is and this is no response is sent.
$evHasUserIdPermsbool valueGets or sets whether the Player has permission to view the UserId of the Targets.
*evInfoBuilderreference to StringBuilder objectGets the StringBuilder used to construct the response message.
$evIsAllowedbool valueWhether the event is allowed to run.