CSB Punish Menu

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

One menu to slap, slay, freeze, gag, kick or ban a player, with a reason list from an ini.

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_IMMUNITY targets are refused; every action is logged.

Installation

  1. Compile and copy csb_punish_menu.amxx into addons/amxmodx/plugins/.
  2. Copy csb_punish_reasons.ini into addons/amxmodx/configs/ and edit it.
  3. Add the plugin to plugins.ini and change the map.

Instalare

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

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

Comenzi

CommandAccessDescription
amx_punish c (ADMIN_KICK) Opens the CSB punish menu.
say /punish c (ADMIN_KICK) Same menu from chat.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma Descarcă .zip
Fișiere:
csb_punish_menu.sma main 11.0 KB
csb_punish_reasons.ini 0.4 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Module fakemeta fun
Conflicte cunoscute Other gag plugins will conflict with the gag action - run only one gag system.
Înapoi la Pluginuri