One flag-gated /admin menu for kick, ban, slay, slap, team moves, map change and the cvars you actually touch.
| csb_admin_menu.sma main | cf67e7a | 13.1 KB |
CSB Admin Menu is a single entry point for day-to-day moderation. Type /admin (or amx_csbmenu) and you get a paginated menu built with the AMX Mod X menus API: pick a player, pick an action, done. Every item is checked against the caller's access flags with get_user_flags() before it runs, and every action is written to the AMXX log with the admin's SteamID, so you can always answer "who slayed me?".
This is an independent GPL re-implementation inspired by the classic Admin Commands / amxmodmenu plugin shipped with AMX Mod X by the AMX Mod X Development Team. None of their source is reused — the credit is here because the idea is theirs.
Features
- Player menu with kick, ban, slay, slap, move to T and move to CT.
- Map menu built from
mapcycle.txt, filtered throughis_map_valid()so a typo cannot crash the server. - CVar menu that cycles
mp_friendlyfire,mp_freezetime,mp_roundtime,sv_gravity,mp_autoteambalanceandsv_alltalkthrough sane preset values and shows the current one inline. - Instant team swap plus round restart.
- Per-item flag checks:
ADMIN_KICK,ADMIN_BAN,ADMIN_SLAY,ADMIN_MAP,ADMIN_CVAR,ADMIN_LEVEL_A. ADMIN_IMMUNITYtargets are refused.- Coloured chat announcement and an
log_amx()audit line for every action.
Installation
- Compile
csb_admin_menu.sma(or download the ready.amxx). - Copy it to
addons/amxmodx/plugins/. - Add
csb_admin_menu.amxxtoaddons/amxmodx/configs/plugins.ini. - Change the map or restart the server.
Notes
Bans go through the engine's banid + writeid, which stores them in listip.cfg/banned.cfg. If you want SteamID bans in MySQL with reasons and expiry dates, run CSB Ban Manager next to it.
1. Put csb_admin_menu.amxx in addons/amxmodx/plugins/ 2. Add csb_admin_menu.amxx to addons/amxmodx/configs/plugins.ini 3. Change map 4. The map menu reads mapcycle.txt from the game directory (cstrike/mapcycle.txt).
| CVAR | Default | Description |
|---|---|---|
csb_adminmenu_enabled |
1 |
Enable or disable the menu. |
csb_adminmenu_bantime |
30 |
Minutes used by the menu's Ban item (0 would be permanent). |
csb_adminmenu_slapdmg |
5 |
Damage dealt by the menu's Slap item. |
| Command | Access | Description |
|---|---|---|
amx_csbmenu |
u (ADMIN_MENU) |
Opens the CSB admin menu. |
say /admin |
u (ADMIN_MENU) |
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 | cstrike fun |
| Bekannte Konflikte | Overlaps in scope with the stock admin.amxx / amxmodmenu; both can be loaded but the menus will duplicate each other. |









