Skip to main content

Kicking

Gets called when the player is being kicked.

Start a script section

!-- OnEvent Kicking
-- require @evPlayer @evIssuer $evReason $evIsAllowed

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is being kicked.
@evIssuerplayer valueGets the player who is issuing the kick.
$evReasontext valueGets the reason for which is player being kicked.
$evIsAllowedbool valueWhether the event is allowed to run.