This plugin was designed to not only give you a few useful network statistics through the
netstats command, but also to maintain control over the ping, loss, and choke of the players in the server. For this, the
sm_ping_threshold,
sm_loss_threshold and
sm_choke_threshold ConVars are available which define how much higher a player's ping, loss, or choke can be from the other players before being kicked from the server. The advantage to this is if the server experiences a lag spike or something similar which causes everyone's pings to raise, but no one's ping will exceed the difference from the average ping of the rest of the players so no one is kicked.
The default ConVar values are shown below:
Code:
"sm_ping_threshold" = "150" min. 20.000000
- Maximum difference in ping from other players before being kicked
"sm_loss_threshold" = "30" min. 3.000000
- Maximum difference in loss from other players before being kicked
"sm_choke_threshold" = "50" min. 5.000000
- Maximum difference in choke from other players before being kicked
// Example 'netstats' output
Avg Ping Avg Loss Avg Choke
79.41 0.00 5.26
Download mirror available
here.