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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is being banned. |
$evPlayerId | text value | Gets the ID of the player who is being banned. |
@evIssuer | player value | Gets the player who issued the ban. |
$evReason | text value | Gets the reason of the ban. |
$evDuration | number value | Gets the duration of the ban. |