Page 1 of 1

hltv_kick

Posted: Mon Nov 22, 2021 11:08 pm
by greenie
This is my third plugin posted here, so please shoot


This plugin kicks illegal hltv connections to the server.
We had several incidents where a clan established a (0 seconds delayed) hltv connection to one of the servers during a war.
/*
hltvkick.sma


Depends on addons/amxmodx/configs/hltvallow.ini

Waits for new hltv connections from which he looks up the ip in hltvallow.ini
If the ip or part of it is not in hltvallow.ini, he kicks the connection

File format of hltvallow.ini:
;addons/amxmodx/configs/hltvallow.ini
127.0.0.1
85.196.80.
85.196.81.

Which means that connections of the following ip-addresses are allowed:
127.0.0.1
85.196.80.1 - 85.196.81.255

*/
get plugin