Votre serveur ici Participez à l'enchère hebdomadaire Promouvoir serveur

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

  1. Compile csb_scrolling_hostname.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  2. Set csb_host_text in server.cfg and 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
CVARDefaultDescription
csb_host_enabled1Enable or disable the scrolling hostname.
csb_host_text*** Welcome to {map} - {players} players - {time} left ***Base text; supports {players}, {map} and {time}.
csb_host_width32Width of the scrolling window in characters (8-63).
csb_host_interval0.6Seconds between scroll steps (minimum 0.2).
Note
Pas encore de notes