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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is being kicked. |
@evIssuer | player value | Gets the player who is issuing the kick. |
$evReason | text value | Gets the reason for which is player being kicked. |
$evIsAllowed | bool value | Whether the event is allowed to run. |