Page 1 of 1

KAC and Globalban

Posted: Mon Jul 26, 2010 3:51 am
by Mader6000
Hi there,
I am, with odonel, developer of Globalban.
I see that kac bans listet in sourcebans now we want to make the same for Globalban.
How we can catch a ban from kac from logs or any message outgoing from kac?

Re: KAC and Globalban

Posted: Mon Jul 26, 2010 5:34 pm
by Kigen
KAC is designed to use SourceBans' and SourceMod's internal ban systems. If you wish to catch KAC's bans (and others done through SourceMod). Just build a optional SourceMod plugin that catches bans and then sends them to your plugin (as I see GlobalBans is EventScripts).

http://docs.sourcemod.net/api/index.php ... how&id=292&
http://docs.sourcemod.net/api/index.php ... how&id=293&

Remember to return Plugin_Handled to prevent it from going to the server's built-in banlist.