CSB Admin Menu

v1.0.0 0 descărcări Daemon666 Ultima actualizare: Jul 14, 2026

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 through is_map_valid() so a typo cannot crash the server.
  • CVar menu that cycles mp_friendlyfire, mp_freezetime, mp_roundtime, sv_gravity, mp_autoteambalance and sv_alltalk through 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_IMMUNITY targets are refused.
  • Coloured chat announcement and an log_amx() audit line for every action.

Installation

  1. Compile csb_admin_menu.sma (or download the ready .amxx).
  2. Copy it to addons/amxmodx/plugins/.
  3. Add csb_admin_menu.amxx to addons/amxmodx/configs/plugins.ini.
  4. 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.

Instalare

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-uri

CVARDefaultDescription
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.

Comenzi

CommandAccessDescription
amx_csbmenu u (ADMIN_MENU) Opens the CSB admin menu.
say /admin u (ADMIN_MENU) Same menu from chat.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Autor original: AMX Mod X Development Team (Admin Commands / amxmodmenu) Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma
Fișiere:
csb_admin_menu.sma main 13.1 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Module cstrike fun
Conflicte cunoscute Overlaps in scope with the stock admin.amxx / amxmodmenu; both can be loaded but the menus will duplicate each other.
Înapoi la Pluginuri