Thread: hltv_kick
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Xanimos (85)
hjvl
Member
Join Date: Oct 2005
Location: Almere
Old 08-21-2006 , 10:18   hltv_kick
Reply With Quote #1

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.

Code:
/*
		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

*/
Attached Files
File Type: sma Get Plugin or Get Source (hltv_kick.sma - 2274 views - 1.4 KB)

Last edited by hjvl; 10-03-2006 at 02:11.
hjvl is offline