Prints a coloured [ADMIN]/[OWNER] prefix before an admin's chat, driven by access flags from configs/csb_tags.ini.
Daemon666
1.0.0 - Initial release.
| csb_admin_tag.sma main | bcb7084 | 4.3 KB |
README.md
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
- Compile
csb_admin_tag.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map. - Edit
addons/amxmodx/configs/csb_tags.inito taste.
Installation
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
Cvars
| CVAR | Default | Description |
|---|---|---|
csb_tag_enabled |
1 |
Enable or disable the chat prefix. |
Befehle
| Command | Access | Description |
|---|---|---|
say |
|
Chat is hooked; admins with a matching flag get a prefix. |
say_team |
|
Team chat is hooked the same way. |
Änderungsprotokoll — v1.0.0
1.0.0 - Initial release.Versionen →
Bewertung
No ratings yet.
Download v1.0.0
Anforderungen
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Optional |
| ReAPI | Optional |
| Metamod | Metamod / Metamod-r |
| Bekannte Konflikte | Other chat-formatting plugins that also re-send SayText will double up prefixes; run only one chat manager. |
Mitwirkende









