Players start a Yes/No vote to kick a named player; passes on a cvar ratio. Per-starter cooldown (Trie), min-players and immunity checks stop abuse.
Daemon666
1.0.0 - Initial release.
| csb_vote_kick.sma main | c02fa43 | 6.7 KB |
README.md
CSB Vote Kick gives your community a controlled way to remove a disruptive player without an admin online. Typing say /votekick <name> opens a Yes/No menu for everyone; when the timer runs out the target is kicked if the yes ratio reaches csb_vk_ratio. Abuse is fenced off on three sides: a per-starter cooldown stored in a Trie by SteamID (so one player cannot spam votes), a minimum-player requirement, and an ADMIN_IMMUNITY check that protects staff from being voted out.
Features
say /votekick <player>— matches a single connected player by name substring.- Yes/No menu shown to every player, one vote each.
- Configurable pass ratio, vote duration and minimum players.
- Per-starter cooldown by SteamID kept in a Trie; the cooldown is applied even on a failed vote.
- Immune admins cannot be targeted.
Installation
- Compile
csb_vote_kick.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
Tune csb_vk_ratio (default 0.6) and csb_vk_cooldown (seconds) to fit your traffic.
Установка
1. Put csb_vote_kick.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvar-ы
| CVAR | Default | Description |
|---|---|---|
csb_vk_enabled |
1 |
Enable vote kicks. |
csb_vk_ratio |
0.6 |
Fraction of yes votes needed to pass (0.0-1.0). |
csb_vk_cooldown |
300 |
Seconds a starter must wait between votes. |
csb_vk_minplayers |
4 |
Minimum players on the server to allow a vote. |
csb_vk_duration |
20 |
Vote length in seconds. |
Команды
| Command | Access | Description |
|---|---|---|
say /votekick |
|
say /votekick <name> - start a vote to kick a player. |
История изменений — v1.0.0
1.0.0 - Initial release.Версии →
Рейтинг
No ratings yet.
Download v1.0.0
Требования
| AMX Mod X | ≥ 1.9 |
| Движок | ReHLDS HLDS |
| ReGameDLL | Необязательно |
| ReAPI | Необязательно |
| Metamod | Metamod / Metamod-r |
| Известные конфликты | Other vote / kick-vote plugins bound to say /votekick will double-trigger. |
Участники









