Rotacyjne ogłoszenia na czacie serwera CS 1.6 — z timerem, kolorami i konfiguracją.
CSB Server Adverts wyświetla na czacie serwera listę wiadomości w odstępach czasu. Reklamuj stronę, Discorda, zasady lub przywileje VIP bez męczenia graczy w każdej rundzie.
Funkcje
- Wiadomości z prostego pliku
csb_adverts.ini (do 32). - Interwał i prefiks konfigurowane przez CVAR-y.
- Obsługa kodów kolorów (
^x04 zielony, ^x03 drużyna, ^x01 zwykły). - Nie wysyła nic, gdy serwer jest pusty.
say /adverts pokazuje listę adminom.
Instalacja
- Skompiluj plugin (lub pobierz gotowy
.amxx). - Skopiuj
adverts.amxx do addons/amxmodx/plugins/. - Dodaj wpis do
addons/amxmodx/configs/plugins.ini. - Utwórz
addons/amxmodx/configs/csb_adverts.ini. - Zmień mapę lub zrestartuj serwer.
Instalacja
1. Put adverts.amxx in addons/amxmodx/plugins/
2. Add 'adverts.amxx' to addons/amxmodx/configs/plugins.ini
3. Create addons/amxmodx/configs/csb_adverts.ini (see csb_adverts.ini below)
4. Change map or restart the server
Requires AMX Mod X 1.9 or newer (1.8.2 is NOT supported — it lacks client_print_color).
Cvary
| CVAR | Default | Description |
csb_adverts_enabled |
1 |
Enable (1) or disable (0) the advert rotation. |
csb_adverts_interval |
90.0 |
Seconds between adverts. Minimum 10. |
csb_adverts_prefix |
[INFO] |
Prefix shown before every advert. |
Komendy
| Command | Access | Description |
say /adverts |
ADMIN_CFG |
List the loaded adverts in console. |
Lista zmian — v1.0.0
1.0.0 — Initial release.
* Config-driven advert rotation (csb_adverts.ini)
* Configurable interval and prefix
* Skips broadcasting on empty servers
Wersje →
Oryginalny autor:
counter-strike-boost.com
Licencja: GPL-3.0
Ocena
No ratings yet.