CSB Scrolling Hostname v1.0.0
CSB Scrolling Hostname makes your server name move in the browser. A base string in csb_host_text supports live placeholders - {players}, {map} and {time} (time left) - which are substituted every tick, and a sliding window of that text is written to the hostname cvar on a timer to create a smooth marquee scroll. The window width and scroll speed are cvars, and the original hostname is restored in plugin_end so nothing is left mangled on map change.
Features
- Marquee scrolling of the hostname on a configurable interval.
- Live placeholders:
{players},{map},{time}. - Configurable window width (clamped to a safe range).
- Restores the real hostname on map end / unload.
Installation
- Compile
csb_scrolling_hostname.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Set
csb_host_textinserver.cfgand change the map.
Installation
1. Put csb_scrolling_hostname.amxx in addons/amxmodx/plugins/ 2. Add it to plugins.ini and set csb_host_text in server.cfg 3. Change map
CVARs4
| CVAR | Default | Description |
|---|---|---|
csb_host_enabled | 1 | Enable or disable the scrolling hostname. |
csb_host_text | *** Welcome to {map} - {players} players - {time} left *** | Base text; supports {players}, {map} and {time}. |
csb_host_width | 32 | Width of the scrolling window in characters (8-63). |
csb_host_interval | 0.6 | Seconds between scroll steps (minimum 0.2). |
Rating
No ratings yet









