10 hours ago10 hr Administrator Shows the time left or the current round count in the hostname, so players browsing the server list know when the map ends. Dynamic Server Name Status 1.0.0 (olds.ro) Puts the map, the minutes left and the round number in the server name, so players browsing the server list see how far the map is: olds.ro | de_dust2 | 17 min | R6 Requirements AMX Mod X 1.10 or newerReAPI (ReGameDLL_CS) for the round countWritten for AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_hoststatus.sma with amxxpc 1.10 (with the ReAPI include files) and copy olds_hoststatus.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_hoststatus.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_hoststatus.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start).Add olds_hoststatus.amxx to addons/amxmodx/configs/plugins.ini. The format (olds_hs_format) Any text; these words are replaced: %map% the map name %left% whole minutes left on the map, rounded up (so 0 shows only when the time is over); -- without a time limit %round% the round number on this map: 1, 2, 3 ... An empty format turns the plugin off: the hostname is left alone. How it works The name is updated every olds_hs_interval seconds and at once at every round start. It is set only when the text changed.The server list shows at most 63 bytes: a longer name is cut there, never inside a letter.Rounds are counted from the game's round starts. "Game Commencing" and sv_restart start again at round 1, and so does every new map.The minutes come from AMX Mod X's own time left, the same as the timeleft chat command, so both agree within one update.A hostname line in server.cfg is replaced as soon as the map has started. Server command olds_hs_status prints the format, the round, the time left and the hostname now Settings (addons/amxmodx/configs/plugins/olds_hoststatus.cfg) olds_hs_format "olds.ro | %map% | %left% min | R%round%" olds_hs_interval 10 seconds between updates (1 - 300) Texts are in data/lang/olds_hoststatus.txt (English). No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1571. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). InstallDownload the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini. Files: addons/amxmodx/scripting/olds_hoststatus.sma, test/olds_hoststatus_test.sma Idea: olds.ro workshop library · Plugin: alexit · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-1571). Dynamic Server Name Statusv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.7 KBUpdated 10 hours agoSign in to downloadolds_hoststatus.smaPawn (AMX Mod X) · 243 lines4 files/* * Dynamic Server Name Status (olds.ro workshop card LIB-1571) * * Puts the map, the minutes left and the round number in the server name * (hostname), so players browsing the server list see how far the map is. * * Cvars (saved with their descriptions in configs/plugins/olds_hoststatus.cfgShow all 243 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.