Author Topic: Changing server Name and Password  (Read 10659 times)

0 Members and 1 Guest are viewing this topic.

Smoot

  • Guest
Changing server Name and Password
« on: December 07, 2006, 02:15:20 PM »
Got ULX working yay.

Now how do I change the server name and password for GMOD10 and hpw does one change the map?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Changing server Name and Password
« Reply #1 on: December 07, 2006, 04:21:46 PM »
Best way is to set them in your server.cfg file, located in garrysmod\cfg (you probably don't have one unless you created it, there is an example file server_cfg.txt or something like that)
Look for the two paramaters, both of which can also be used in the ded. server console
hostname "my server name"
sv_password "my server password"

ULX doesn't have a command to change server and password, at least technically.
You mentioned running a dedicated server in another post.
If you've given yourself ulx rcon access, while in game you could use 'ulx rcon hostname "my server name" ' and ' ulx rcon sv_password "my server password" '

As for the map when starting from command line ded server, use +map mapname
While in game, ulx map mapname
.bsp isn't required
« Last Edit: December 07, 2006, 04:23:18 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Smoot

  • Guest
Re: Changing server Name and Password
« Reply #2 on: December 07, 2006, 09:06:48 PM »
How does one change the rcon password it doesnt seem to work in server.cfg.  Neither does rcon_password in server console.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Changing server Name and Password
« Reply #3 on: December 08, 2006, 03:20:06 PM »
Odd. It should.

I have (password hidden)
   "rcon_password"         "************"
in my garrysmod/cfg/server.cfg

Are you using quotes around at least the password? In console or server.cfg?
 I could see special characters causing problems if you don't.
Quotes aren't required for the rcon_password, however, they couldn't hurt.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming