Host a dedicated server
Time to go live! This guide sets up an unranked dedicated server, vanilla with the built-in launcher or modded with a shortcut.
Before you start
Section titled “Before you start”- Want players from outside your home network? In your router, forward these ports to your PC’s local IP (how):
29900(UDP or both)17567(both)
- The server lives in
C:\Program Files (x86)\Electronic Arts\Battlefield 2142 Server. Below, we just call it the server folder. - Can’t save a file in the server folder? Copy it to your desktop, edit it there, then copy it back.
Hosting a vanilla server
Section titled “Hosting a vanilla server”-
In the server folder, double-click
BF2142ServerLauncher.exe. -
Click the Add icon to create a new configuration.
-
Set up your Server Settings and Map List. Turn Internet on and AllowNATNegotiation off.
Don’t want the server in the public server browser? Leave Internet off.
-
For settings the launcher doesn’t show, edit
Documents\Battlefield 2142\ServerConfigs.con. See the list of server settings. -
Click Start.
Hosting a modded server
Section titled “Hosting a modded server”The server launcher doesn’t support mods, so you’ll start the server with a shortcut instead. We’ll use Project Remaster as the example, so swap in your own mod’s folder name.
-
Copy the mod’s folder (e.g.
Project_Remaster_v17) fromBattlefield 2142\modsinto the server folder’smods. -
Right-click
BF2142_w32ded.exein the server folder → Send to → Desktop (create shortcut). -
Right-click the new shortcut → Properties, and add
+modPath mods/Project_Remaster_v17to the end of Target:"C:\Program Files (x86)\Electronic Arts\Battlefield 2142 Server\BF2142_w32ded.exe" +modPath mods/Project_Remaster_v17 -
Open
mods\Project_Remaster_v17\Settings\ServerSettings.conin the server folder. Setsv.internetto1andsv.allowNATNegotiationto0, plus any other server settings you like.Don’t want the server in the public server browser? Set
sv.internetto0. -
Open
mods\Project_Remaster_v17\Settings\mapList.conand add a line for each map, e.g.:mapList.append Suez_Canal gpm_coop 16 -
Double-click the shortcut to start the server.