TheMegaNight 14. sep. 2018 kl. 14.59
Help with hostname
How can i set the hostname of my server?
It's hosted on debian.... where i can see:

lgsm
serverfiles
steam
steamcmd

I want to change motd from LinuxGSM to Competitive CSGO (-insecure only)


To start the server i'm using this command "./srcds_run -game csgo -insecure"
(deleted some text srry)
i can paste ./srcds_run -game csgo -insecure -hostname CSGO TEST -descrition TEST?
Sist redigert av TheMegaNight; 14. sep. 2018 kl. 15.00
< >
Viser 15 av 5 kommentarer
Sepp 15. sep. 2018 kl. 7.54 
The hostname is typically set in the server.cfg.
If you put it in the startupline you'll probably need to put the name in quotation marks:
-hostname "CSGO TEST"
Although on the Valve Wiki it says that spaces won't work:
+hostname "Hostname" - Specifies the name of the server (Spaces between words won't work here!).
However spaces will work if you set the hostname in the server.cfg.
TheMegaNight 15. sep. 2018 kl. 9.24 
Opprinnelig skrevet av Sepp:
The hostname is typically set in the server.cfg.
If you put it in the startupline you'll probably need to put the name in quotation marks:
-hostname "CSGO TEST"
Although on the Valve Wiki it says that spaces won't work:
+hostname "Hostname" - Specifies the name of the server (Spaces between words won't work here!).
However spaces will work if you set the hostname in the server.cfg.


Don't work :(
Sepp 15. sep. 2018 kl. 11.30 
In the server.cfg you don't need - or +...it's just:
hostname "CSGO TEST"

If you still wann do it in the startupline then try a hostname without spaces.
TheMegaNight 15. sep. 2018 kl. 12.52 
on my server the cfg is modified..... i can't paste that :(
「MD」Nevik 25. sep. kl. 10.11 
Just a hint for people trying to sort this, if you escape the quotes it should work inline on srcds (tested on linux)

+hostname "\"My spacey hostname\""
< >
Viser 15 av 5 kommentarer
Per side: 1530 50