The “Ping Control” plugin for CS 1.6
About this content
Author: neygomon
Description:
Ping Control - a plugin that can kick players for both high ping and an unstable connection. Its operating principle is designed to deliver maximum performance with minimal resource usage. In typical kickers like high ping kicker a player is checked several times per minute, so we end up burdening the server with pointless work. After all, if a player has been checked and their ping is good, why check them again and again?
Features:
- Extensive options for monitoring a player's connection. Players can be kicked for high ping, ping spikes, and packet loss. A player may have low ping but still move jerkily and lag due to an intermittent connection.
- Immunity for admins.
- Minimal server load.
#define ACCESS_LEVEL_IMMUNITY (ADMIN_MENU|ADMIN_LEVEL_H) // Уровень доступа позволяющий пропускать проверку на пинг.
#define MAX_ALLOWED_PING 100 // Максимально допустимый пинг, превышение этого значения выкидывает игрока с сервера.
#define MAX_FLUX 30 // Максимальные скачки пинга, если привышение то выкидывает с сервера
#define MAX_ALLOWED_LOSS 20 // Максимально допустимая потеря пакетов loss, превышение этого значения выкидывает игрока с сервера.
#define MAX_WARNING_CHECK 5 // Количество предупреждений после которых последует наказание.
#define INTERVAL_CHECK 10.0 // Интервал между проверками, чем меньше значение, тем больше нагрузка на сервер.
#define CHECK_COUNT MAX_WARNING_CHECK + 3 // Количество проверок определенного игрока (снижаем и без того маленькую нагрузку xD)Installation and configuration:
- download the plugin source code.
- change the settings as you see fit.
- compile it.
- install it on the server and enjoy playing with only good players)

Comments (0)