Inspired by SourceMod plugins Very Basic High Ping Kicker and High Ping Kicker
- Admin immunity (anyone with any flag or group is immune)
- Grace period on map change and when first connected
- Install CounterStrike Sharp and Metamod:Source.
- Download HighPingKicker.zip from the releases section.
- Unzip the archive and upload it to the game server.
- Start the server and wait for the configuration file to be generated.
- Edit the configuration file with the parameters of your choice.
When the plugin is first loaded, the following config will be generated in counterstrikesharp/configs/plugins/HighPingKicker/HighPingKicker.json
:
{
"max_ping": 150,
"max_warnings": 5,
"check_interval": 20,
"show_warnings": true,
"show_public_kick_message": true,
"warning_message": "You will be kicked for excessive ping. You have {WARN} out of {MAXWARN} warnings.",
"kick_message": "{NAME} has been kicked due to excessive ping.",
"grace_period_seconds": 90,
"EnableDebug": false,
"ConfigVersion": 2,
}
Message type | Broadcast to | Default |
---|---|---|
Warning message | The player being warned | You will be kicked for excessive ping. You have {WARN} out of {MAXWARN} warnings. |
Kick message | Everyone | {NAME} has been kicked due to excessive ping. |
{NAME}
{WARN}
{MAXWARN}
{PING}
{MAXPING}