Skip to content

Commit

Permalink
Merge branch 'main' of github.com:connercsbn/HighPingKicker
Browse files Browse the repository at this point in the history
  • Loading branch information
connercsbn committed Dec 29, 2023
2 parents c94dfeb + 7ec93f0 commit 5494874
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# High Ping Kicker
Inspired by SourceMod plugins [Very Basic High Ping Kicker](https://forums.alliedmods.net/showthread.php?p=769939) and [High Ping Kicker](https://github.com/ZK-Servidores/High-Ping-Kicker)

### Features
- Admin immunity (anyone with any flag or group is immune)
- Grace period on map change and when first connected


### Config
When the plugin is first loaded, the following config will be generated in `counterstrikesharp/configs/plugins/HighPingKicker/HighPingKicker.json`

<pre>
{
"max_ping": 150,
"max_warnings": 5,
"check_interval": 20, // in seconds, can be decimal number
"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,
"ConfigVersion": 1
}
</pre>

### Configurable messages

| Message | Default | Variables you can use |
| ------------- | ------------- | ------- |
| Warning message | You will be kicked for excessive ping. You have {WARN} out of {MAXWARN} warnings. | {WARN}, {MAXWARN}, {PING}
| Kick message | {NAME} has been kicked due to excessive ping. | {WARN}, {MAXWARN}, {PING}, {NAME}

0 comments on commit 5494874

Please sign in to comment.