One menu to slap, slay, freeze, gag, kick or ban a player, with a reason list from an ini.
| csb_punish_menu.sma main | dd663ec | 11.0 KB |
| csb_punish_reasons.ini | a6d5c5d | 0.4 KB |
CSB Punish Menu puts every routine punishment behind a single menu. Type /punish (or amx_punish), pick a player, pick an action — slap, slay, freeze/unfreeze, gag/ungag, kick or ban — and for the serious ones pick a reason from a list loaded from csb_punish_reasons.ini. Every action is announced in coloured chat and written to the AMXX log.
How it works
The menu is built with the AMX Mod X menus API. Slap and slay use the fun module; freeze toggles the FL_FROZEN flag through fakemeta and auto-releases after csb_punish_freezetime seconds; gag blocks say/say_team in a client_command hook; kick and ban go through the engine's kick and banid+writeid. Consistent reasons come from the editable ini, so different admins log the same wording.
Features
- Slap, slay, freeze/unfreeze, gag/ungag, kick and ban from one menu.
- Reason sub-menu for gag/kick/ban, loaded from
csb_punish_reasons.ini. - Timed auto-unfreeze and a preset ban length (
csb_punish_bantime). ADMIN_IMMUNITYtargets are refused; every action is logged.
Installation
- Compile and copy
csb_punish_menu.amxxintoaddons/amxmodx/plugins/. - Copy
csb_punish_reasons.iniintoaddons/amxmodx/configs/and edit it. - Add the plugin to
plugins.iniand change the map.
1. Put csb_punish_menu.amxx in addons/amxmodx/plugins/ and add it to plugins.ini 2. Copy csb_punish_reasons.ini into addons/amxmodx/configs/ 3. Change map
| CVAR | Default | Description |
|---|---|---|
csb_punish_enabled |
1 |
Enable or disable the punish menu. |
csb_punish_slapdmg |
5 |
Damage dealt by the Slap action. |
csb_punish_bantime |
30 |
Ban length in minutes for the Ban action. |
csb_punish_freezetime |
5.0 |
Auto-unfreeze delay in seconds (0 = manual). |
| Command | Access | Description |
|---|---|---|
amx_punish |
c (ADMIN_KICK) |
Opens the CSB punish menu. |
say /punish |
c (ADMIN_KICK) |
Same menu from chat. |
1.0.0 - Initial release.Versionen →
No ratings yet.
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Optional |
| ReAPI | Optional |
| Metamod | Metamod / Metamod-r |
| Module | fakemeta fun |
| Bekannte Konflikte | Other gag plugins will conflict with the gag action - run only one gag system. |









