I want to request a new scripting command to return name of the server, which is "hostname" value from server config. Should be available for both server and client.
Suggested name: serverName
Should return server name as string.
I want to request a new scripting command to return name of the server, which is "hostname" value from server config. Should be available for both server and client.
Suggested name: serverName
Should return server name as string.
Purpose of this command is to display server name in the game since at the moment the only way to find which server you are on is to look at scoreboard which is not available on higher difficulties and also crops server name if it is too long. This command will let mission designers display server name elsewhere: on HUD, on custom scoreboard, in welcome message, in diary on the map, etc.
To display server name in the game since at the moment the only way to find which server you are on is to look at scoreboard which is not available on higher difficulties and also crops server name if it is too long. This command will let mission designers display server name elsewhere: on HUD, on custom scoreboard, in welcome message, in diary on the map, etc.
Doesn't really matter what the command is called from now, we just want the implementation. It's weird that they havn't implemented this command already, since it would be a VERY useful command.
Yet another Déjà-vu
http://dev-heaven.net/issues/35591
Let's hope that this ticket won't be open in 1 1/2 years.
Upvoted!
I do like the idea of a serverConfig command which can retrieve cfg parameters like hostname, motd and maxPlayers in an array.
Xeno (reporter)
2013-11-17 01:03
"Let's hope that this ticket won't be open in 1 1/2 years."
AHAHAHAHAHHHAHHAHAHAHAHA still open :)