OnBanIdentity Forward

Called for calls to BanIdentity() with a non-empty command.

Action OnBanIdentity(const char[] identity, int time, int flags, const char[] reason, const char[] command, any source)

Parameters

const char[] identity

Identity string being banned (authstring or ip).

int time

Time the client is being banned for (0 = permanent).

int flags

Ban flags (only IP or AUTHID are valid here).

const char[] reason

Reason passed via BanIdentity().

const char[] command

Command string to identify the ban source.

any source

Source value passed via BanIdentity().

Return Value

Plugin_Handled to block the actual server banning.