<p><strong>CSB Admin Menu</strong> is a single entry point for day-to-day moderation. Type <code>/admin</code> (or <code>amx_csbmenu</code>) 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 <code>get_user_flags()</code> 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?".</p><p>This is an independent GPL re-implementation inspired by the classic <em>Admin Commands / amxmodmenu</em> 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.</p><h2>Features</h2><ul><li>Player menu with kick, ban, slay, slap, move to T and move to CT.</li><li>Map menu built from <code>mapcycle.txt</code>, filtered through <code>is_map_valid()</code> so a typo cannot crash the server.</li><li>CVar menu that cycles <code>mp_friendlyfire</code>, <code>mp_freezetime</code>, <code>mp_roundtime</code>, <code>sv_gravity</code>, <code>mp_autoteambalance</code> and <code>sv_alltalk</code> through sane preset values and shows the current one inline.</li><li>Instant team swap plus round restart.</li><li>Per-item flag checks: <code>ADMIN_KICK</code>, <code>ADMIN_BAN</code>, <code>ADMIN_SLAY</code>, <code>ADMIN_MAP</code>, <code>ADMIN_CVAR</code>, <code>ADMIN_LEVEL_A</code>.</li><li><code>ADMIN_IMMUNITY</code> targets are refused.</li><li>Coloured chat announcement and an <code>log_amx()</code> audit line for every action.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_admin_menu.sma</code> (or download the ready <code>.amxx</code>).</li><li>Copy it to <code>addons/amxmodx/plugins/</code>.</li><li>Add <code>csb_admin_menu.amxx</code> to <code>addons/amxmodx/configs/plugins.ini</code>.</li><li>Change the map or restart the server.</li></ol><h2>Notes</h2><p>Bans go through the engine's <code>banid</code> + <code>writeid</code>, which stores them in <code>listip.cfg</code>/<code>banned.cfg</code>. If you want SteamID bans in MySQL with reasons and expiry dates, run <a href="/plugins/csb-ban-manager">CSB Ban Manager</a> next to it.</p>









