Promote server
Black Friday Ends in 50% off a Master Server place and the Client list, which comes with LIFETIME PREMIUM
02 Days 21 Hrs 26 Min 35 Sec
See the deals
History

CSB Warn System turns "final warning" into something the server actually remembers. amx_warn <target> [reason] records a warning against the player's SteamID in nVault. Reaching csb_warn_kick warnings kicks them; reaching the higher csb_warn_ban threshold bans them for csb_warn_bantime minutes using the engine banid command (and writes the ban list to disk). Warnings expire after csb_warn_expire days, so an old mistake does not haunt a player forever, and say /warns lets anyone check their own standing.

Features

  • amx_warn <name or #userid> [reason] — adds a warning and announces it.
  • Warnings persist per SteamID in nVault across map changes and restarts.
  • Auto-kick at one threshold, auto-ban (with banid + writeid) at a higher one.
  • Warnings older than csb_warn_expire days no longer count.
  • amx_warns <target> for admins and say /warns for players to check a count.

Installation

  1. Make sure the nvault module is enabled in addons/amxmodx/configs/modules.ini.
  2. Compile csb_warn_system.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map. The vault file csb_warns.vault appears under addons/amxmodx/data/vault/.