View Single Post
Author Message
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 10-17-2008 , 18:55   High Ping Kicker - Lite Edition
Reply With Quote #1

/* 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.
Attached Files
File Type: sp Get Plugin or Get Source (hpk_lite.sp - 41447 views - 5.4 KB)
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager

Last edited by Liam; 12-10-2008 at 19:50.
Liam is offline