Page 1 of 1

Cold war maps and put password on a server

Posted: Fri Oct 11, 2013 2:01 pm
by peperonski
Hi guys, i've been hosting a game only for personal purposes, practise with helicopter and so, and i would like to know if i can host a server with a password.

Thanks in advance.

Re: Cold war maps and put password on a server

Posted: Fri Oct 11, 2013 2:09 pm
by RobbingHood
Of course you can.
Server root/Instance/AdminScripts/Startup.txt:

Code: Select all

vars.gamepassword "yourpass"

Re: Cold war maps and put password on a server

Posted: Fri Oct 11, 2013 2:17 pm
by peperonski
Hi thank you so much for your quick response, but it's "vars" right? instead of "var"? And one question more, it seems there is the startup notepad for tweaking some options of the server, but inside i find some examples of some commands that there could be in a server, so my question is, should i have to erase all the content inside and start from the beginning? or can i add a command line just at the end?

It could be like that? starting with # and it will continue below as i show you:

#vars.gamepassword "mypass" for example?

Thanks!

Re: Cold war maps and put password on a server

Posted: Fri Oct 11, 2013 2:49 pm
by RobbingHood
You're right, it's "vars", I made a typo.
You can leave all the content the way it is, as long as it starts with a # (# means comment, so it will be ignored by the game).
Add your command somewhere (beginning, start, middle; doesn't matter), but remove the # from the beginning of the line.

Re: Cold war maps and put password on a server

Posted: Fri Oct 11, 2013 3:07 pm
by peperonski
Thank you!!!