CSB Adverts

v1.0.0 0 descărcări Daemon666 Ultima actualizare: Jul 14, 2026

Rotating server messages from a file, shown as coloured chat, HUD or DHUD, with placeholders and a per-player mute.

CSB Adverts 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: {HOSTNAME}, {TIMELEFT}, {NEXTMAP}, {PLAYERS}, {MAXPLAYERS}, {MAP} and {NAME}. A per-map file is loaded automatically when it exists.

Features

  • Coloured chat, HUD or DHUD per line
  • Live placeholders including the player's own name and the player count
  • Per-map advert files (csb_adverts_<map>.ini)
  • Every player can mute the adverts with say /noads
  • A default config file is written on first run

Installation

  1. Put csb_adverts.amxx in addons/amxmodx/plugins/
  2. Add it to plugins.ini
  3. Edit addons/amxmodx/configs/csb_adverts.ini

Instalare

1. Put csb_adverts.amxx in addons/amxmodx/plugins/
2. Add it to plugins.ini
3. Edit configs/csb_adverts.ini (a default is written on first run)
4. Uses client_print_color, so AMX Mod X 1.9+ is required

Cvar-uri

CVARDefaultDescription
csb_adverts 1 Enable the plugin.
csb_adverts_interval 45 Seconds between messages (minimum 5).
csb_adverts_random 0 1 = pick a random line each time; 0 = go in order.
csb_adverts_prefix [Server] Prefix shown in front of chat adverts.

Comenzi

CommandAccessDescription
say /noads Toggle the adverts on or off for yourself.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma
Fișiere:
csb_adverts.sma main 6.6 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Înapoi la Pluginuri