Promuj serwer
csb-admin-tag / README.md
1 lines 1.3 KiB Markdown Source Rendered Raw Permalink History
<p><strong>CSB Admin Tag</strong> puts a coloured prefix in front of an admin's chat line based on their access flags. The mapping lives in <code>configs/csb_tags.ini</code> &mdash; one rule per line, <code>&lt;flags&gt; &lt;tag&gt;</code>, first matching line wins &mdash; and a sensible default file is written the first time the plugin loads.</p><p>The <code>say</code> / <code>say_team</code> line is intercepted and re-sent through the <code>SayText</code> user message, so the name keeps its team colour (via <code>^x03</code>) and dead players still get the <code>*DEAD*</code> marker. Players without a tag are left untouched and chat flows normally.</p><p>Inspired by <em>Admin Prefix</em> by Alka; this is an independent GPL re-implementation.</p><h2>Features</h2><ul><li>Flag-to-tag rules loaded from <code>configs/csb_tags.ini</code>.</li><li>Team-coloured name and <code>*DEAD*</code> marker preserved on re-send.</li><li>Team chat only reaches the sender's team.</li><li>Command-style lines (<code>/</code> or <code>!</code>) are passed through untouched.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_admin_tag.sma</code> and copy it to <code>addons/amxmodx/plugins/</code>.</li><li>Add it to <code>plugins.ini</code> and change the map.</li><li>Edit <code>addons/amxmodx/configs/csb_tags.ini</code> to taste.</li></ol>