/CSGO-Timeleft-in-Hostname

Timeleft in server title or hostname.

Primary LanguageSourcePawnGNU General Public License v3.0GPL-3.0

[CS:GO] Timeleft in Hostname 2.0

Shows the time left in the servers hostname. You can either add {{timeleft}} in your hostname and it will replace it with the time thats left or you dont add anything and it will put the [timeleft] add the end of the hostname.

Cvar

  • hostname "My Server 2017" - Change this in server.cfg.
  • sm_hostname_update <1-30> - Time between update.
  • sm_hostname "My Server | EVENT" - You can change hostname at any time with this cvar.

Supports

  • TIME : [12:23]
  • LAST ROUND : [LAST ROUND]
  • WARMUP : [WARMUP]

Credit to AzaZPPL

I've improved things in the code and added several new features. This is based on AzaZPPL's code and you can find it here: https://github.com/AzaZPPL/Timeleft-in-Hostname