Skip to main content

RaPlayerListAddingPlayer

Gets called when adding a target player to the remote admin player list while processing the request for the player.

Start a script section

!-- OnEvent RaPlayerListAddingPlayer
-- require @evPlayer @evTarget *evTargetBuilder $evPrefix $evInOverwatch $evIsMuted $evBody $evIsAllowed

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueThe player that requested the RA player list.
@evTargetplayer valueThe player being added to the RA player list.
*evTargetBuilderreference to StringBuilder objectThe StringBuilder used to construct the RA player list item for the Target.
Remarks: String builder is empty in this event.
$evPrefixtext valueGets or sets the RA player list item prefix. Can contain a RA badge and/or link for whether the Target is one of either a Dummy, has RemoteAdminGlobalAccess, is NorthwoodStaff, or has RemoteAdmin. Otherwise this is Empty.
$evInOverwatchbool valueGets or sets whether the Target appears to be in overwatch on the RA player list.
$evIsMutedbool valueGets or sets whether the Target appears to be muted on the RA player list.
$evBodytext valueGets or sets the RA player list item body. Contains the color tags, identifier as the PlayerId and CombinedName of the Target.
$evIsAllowedbool valueWhether the event is allowed to run.