Skip to main content

BanRevoking

Gets called when the server is revoking a ban.

Start a script section

!-- OnEvent BanRevoking
-- require $evIsAllowed $evBanType *evBanDetails

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: Yes
  • Event data: BanRevokingEventArgs

Injected variables

VariableTypeDescription
$evIsAllowedbool valueWhether the event is allowed to run.
$evBanTypeBanType enum valueThe type of ban that is being revoked.
*evBanDetailsreference to BanDetails objectThe details of the ban that is being revoked.