One flag-gated /admin menu for kick, ban, slay, slap, team moves, map change and the cvars you actually touch.
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.









