WARNING: The forum is now in read-only mode as we will soon be transitioning to different forum software. Feel free to join our Discord server in the meantime.
BIG95
Posts:1
Joined:Sat Mar 01, 2014 8:29 pm
Hello, how can I set a password to my Battlefield Server??

Tue Mar 04, 2014 4:16 pm

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!

User avatar
RobbingHood
Posts:3305
Joined:Mon Dec 17, 2012 8:50 pm

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

Tue Mar 04, 2014 6:23 pm

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.

Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 20 guests