From 7ec93f0f6217d2df6c6dbad190cdb85b286d4964 Mon Sep 17 00:00:00 2001 From: Conner <65339198+connercsbn@users.noreply.github.com> Date: Thu, 28 Dec 2023 18:28:50 -0800 Subject: [PATCH] Create README.md --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f9b602 --- /dev/null +++ b/README.md @@ -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` + +
+{ + "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 +} ++ +### 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}