Skip to main content

BanIssuing

Gets called when the server is issuing a ban.

Start a script section

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

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

Injected variables

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