Skip to main content

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

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