CSB Admin Tag

v1.0.0 11 загрузок Daemon666 Обновлено: Jul 16, 2026

Prints a coloured [ADMIN]/[OWNER] prefix before an admin's chat, driven by access flags from configs/csb_tags.ini.

CSB Admin Tag puts a coloured prefix in front of an admin's chat line based on their access flags. The mapping lives in configs/csb_tags.ini — one rule per line, <flags> <tag>, first matching line wins — and a sensible default file is written the first time the plugin loads.

The say / say_team line is intercepted and re-sent through the SayText user message, so the name keeps its team colour (via ^x03) and dead players still get the *DEAD* marker. Players without a tag are left untouched and chat flows normally.

Inspired by Admin Prefix by Alka; this is an independent GPL re-implementation.

Features

  • Flag-to-tag rules loaded from configs/csb_tags.ini.
  • Team-coloured name and *DEAD* marker preserved on re-send.
  • Team chat only reaches the sender's team.
  • Command-style lines (/ or !) are passed through untouched.

Installation

  1. Compile csb_admin_tag.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.
  3. Edit addons/amxmodx/configs/csb_tags.ini to taste.

Установка

1. Put csb_admin_tag.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map
4. Edit addons/amxmodx/configs/csb_tags.ini

Cvar-ы

CVARDefaultDescription
csb_tag_enabled 1 Enable or disable the chat prefix.

Команды

CommandAccessDescription
say Chat is hooked; admins with a matching flag get a prefix.
say_team Team chat is hooked the same way.

История изменений — v1.0.0

1.0.0 - Initial release.
Версии →
Участники: Daemon666 ✦
Оригинальный автор: Alka (Admin Prefix) Лицензия: GPL-3.0

Рейтинг

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Скачать .sma
Файлы:
csb_admin_tag.sma main 4.3 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Известные конфликты Other chat-formatting plugins that also re-send SayText will double up prefixes; run only one chat manager.
Назад к плагинам