/* Notes */
This plugin was written to enable server admins to enforce a maximum ping that players can have. It takes the players cmdrate and the servers tickrate into account when doing this. It will not check players who are currently connecting or are not on a team.
Server Config Information:
http://forums.srcds.com/viewtopic/1094 -- Thanks to |GsX| GrimReaper for finding that article.
This plugin has been compiled and tested on both non-orange box and the orange box servers, and requires SM 1.0.x or 1.1.x. Those can be downloaded at:
http://www.sourcemod.net/snapshots.php
/* Installation */
Compile the attached file and place it in the <mod>/addons/sourcemod/plugins folder and either change the map on your server or type sm plugins load hpk_lite.
The Config file is located in <mod>/cfg/sourcemod/hpk_lite.cfg. Edit the settings within that to control the variables of the plugin itself.
/* ConVars */
sm_hpk_enabled "1" Enable the HPK. 1 = On | 0 = Off
sm_maxping "150" Maximum ping allowed by clients.
sm_maxchecks "15" Number of grace checks allowed by the HPK before kicking a client.
sm_startcheck "60" Amount of time in seconds before starting to check pings on map start.
sm_adminsimmune "1" Admins immune. 1 = On | 0 = Off
/* Changelog */
1.0.0.0
---Initial Release
1.0.0.1
---Changed the default poll time to 15 seconds.
---Changed the default amount of checks to 10.