Bans an identity (either an IP address or auth string).
bool BanIdentity(const char identity, int time, int flags, const char reason, const char command, any source)
String to ban (ip or authstring).
Time to ban for (0 = permanent).
Flags (only IP and AUTHID are valid flags here).
Ban reason string.
Command string to identify the source. If this is left empty, then the OnBanIdentity forward will not be called.
A source value that could be interpreted as a player index of any sort (not actually checked by Core).
True on success, false on failure.