PDA

View Full Version : Config Help: Ban an IP



halojango78
15th September 2013, 16:52
Hi guys, its Halo once again. I hope this message finds you all in good life :]

I recently acquired an IP that I need to ban from our CoD2 server. I put this command into the config:


//BannedIPs
g_banIPs "##.###.###.###"

Is this the correct way to do it? Thanks in advance!

YuriJurek
15th September 2013, 23:08
Well it might be correct but as far as I know cod2 doesn't support IP-Bans.

Jared
16th September 2013, 06:34
Halo it looks right but make sure you have "set" infront of it.
set g_banIPs "111.111.12.10"

kung foo man
16th September 2013, 06:50
I would either use iptables or std\player::getIP() to implement the IP ban (though needs libcod on linux). Never had any success with this g_banIPs