Promoveaza serverul
csb-adverts / README.md
1 lines 1004 B Markdown Source Rendered Raw Permalink History
<p><strong>CSB Adverts</strong> shows rotating server messages read from a plain-text file. Each line carries its own display type (chat, HUD or DHUD) and may contain placeholders that are expanded when shown: <code>{HOSTNAME}</code>, <code>{TIMELEFT}</code>, <code>{NEXTMAP}</code>, <code>{PLAYERS}</code>, <code>{MAXPLAYERS}</code>, <code>{MAP}</code> and <code>{NAME}</code>. A per-map file is loaded automatically when it exists.</p><h2>Features</h2><ul><li>Coloured chat, HUD or DHUD per line</li><li>Live placeholders including the player's own name and the player count</li><li>Per-map advert files (<code>csb_adverts_&lt;map&gt;.ini</code>)</li><li>Every player can mute the adverts with <code>say /noads</code></li><li>A default config file is written on first run</li></ul><h2>Installation</h2><ol><li>Put <code>csb_adverts.amxx</code> in <code>addons/amxmodx/plugins/</code></li><li>Add it to <code>plugins.ini</code></li><li>Edit <code>addons/amxmodx/configs/csb_adverts.ini</code></li></ol>