Page 1 of 1

Hello, how can I set a password to my Battlefield Server??

Posted: Tue Mar 04, 2014 4:16 pm
by BIG95
Hi.
I recently created a battlefield 2 bad company server, I knew how to adjust settings ex; "Friendly fire, kill cam" and such.
But I kept searching for a way to put a server's password and I didn't know how.
Can anybody help me please ?
Much thanks in advance!

Oh and ! Do I have to forward any ports ? If yes, what are they ? Thanks!

Re: Hello, how can I set a password to my Bettlefold Server?

Posted: Tue Mar 04, 2014 6:23 pm
by RobbingHood
In Instance/AdminScripts/Startup.txt:

Code: Select all

vars.gamePassword "yourpass"


The ports:
TCP: 80, 18390, 18395, 13505
UDP: 18395, 10000

You can however try without opening them first and see if it works.