OnBanIdentity

Last Updated2007-09-21
Created At2007-09-14

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

forward 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

Action Plugin_Handled to block the actual server banning.