Skip to main content

Banned

Gets called when the player is banned.

Start a script section

!-- OnEvent Banned
-- require @evPlayer $evPlayerId @evIssuer $evReason $evDuration

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerBannedEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is being banned.
$evPlayerIdtext valueGets the ID of the player who is being banned.
@evIssuerplayer valueGets the player who issued the ban.
$evReasontext valueGets the reason of the ban.
$evDurationnumber valueGets the duration of the ban.