Promover servidor

CSB Admin Chat gives admins three chat channels, chosen by how many @ characters they type:

  • @message — private channel; only players holding the admin flag see it.
  • @@message — a coloured announcement to every player.
  • @@@message — a centred HUD message (also mirrored in chat, because a HUD message is easy to miss).

Everything is re-emitted with message_begin(MSG_ONE, SayText) and the sender's entity index, so the standard colour codes (^x01 normal, ^x03 team colour, ^x04 green) render correctly and the (DEAD) marker stays accurate in the admin channel.

Inspired by Admin Chat Colored by AlexALX. Independent GPL re-implementation.

Features

  • Access flag is a cvar (csb_achat_flag, default d = ADMIN_BAN), parsed with read_flags().
  • Configurable prefix (default ADMIN) — set it to OWNER, your clan tag, whatever.
  • HUD colour and hold time are cvars.
  • Every message is written to the AMXX log with the admin's name, SteamID and channel — useful when someone claims an admin was abusive.
  • Non-admins typing @ are simply passed through to normal chat; nothing is swallowed.

Installation

  1. Compile and copy csb_admin_chat.amxx into addons/amxmodx/plugins/.
  2. Add it to addons/amxmodx/configs/plugins.ini.
  3. Optionally set csb_achat_flag and csb_achat_prefix in amxx.cfg.
  4. Change the map.

Notes

No modules are required — the plugin only uses core natives, so it loads on any AMX Mod X 1.9 install with no extra modules enabled.