Shows the time left in the servers hostname
- Copy the .smx to your addons/sourcemod/plugins folder.
- Restart your server.
- Change settings in cfg/sourcemod/plugin.timeleft-in-hostname.cfg
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.
These are the changes
- Fix: Use
OnConfigsExecuted
instead ofOnMapStart
- New: when server is hibernating fallback to
mp_timelimit
- Fix: when a map change occurs the timer would not stop and would infinitely add more timers
- Fix: when a map change occurs the time would not be set fast enough so you would see
{{timeleft}}
or no time.
- New: when the time is lower than 0 or is not set it will return the values back to
00:00
- Fix: Fix the strange
29:58 15:23
issue
- Fix: Timeleft would get the wrong hostname after a map restart was initiated.
- Fixed an issue where the plugin had started but the hostname was not yet loaded into convar
hostname
- Fixed an issue where the
{{timeleft}}
was not being changed if it was at the beginning of the hostname - Increased speed by using
FormatEx
instead ofFormat
- Initial Release.