CSB Vote Kick v1.0.0
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.
Instalacja
1. Put csb_vote_kick.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvary5
| 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. |
Komendy1
| Command | Access | Description |
|---|---|---|
say /votekick | | say /votekick <name> - start a vote to kick a player. |
Ocena
No ratings yet.









