BanUpdating
Gets called when the server is updating a ban.
Start a script section
!-- OnEvent BanUpdating
-- require $evIsAllowed $evBanType *evBanDetails *evOldBanDetails
# Add your instructions here
- Group: ServerEvents
- Cancellable: Yes
- Event data:
BanUpdatingEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
$evIsAllowed | bool value | Whether the event is allowed to run. |
$evBanType | BanType enum value | The type of ban that is being updated. |
*evBanDetails | reference to BanDetails object | The new details of the ban that is being updated. |
*evOldBanDetails | reference to BanDetails object | The old details of the ban that is being updated. |