NEW! Servers for GTA V (FiveM).. Use Coupon SPOOK, take 20% off Click here to order now at SurvivalServers.com

Difference between revisions of "How to Create The Front Server Guide"

From Survival Servers
Jump to navigation Jump to search
(Created page with "Creating a The Front game server is an easy process that can be done from either a dedicated server or your home computer. Alternatively, you can choose a [https://www.surviva...")
 
Line 34: Line 34:
 
# Create a batch file named '''The FrontServer.bat''' in your newly created The Front server folder from step 1
 
# Create a batch file named '''The FrontServer.bat''' in your newly created The Front server folder from step 1
 
# Place the following code in this batch file:
 
# Place the following code in this batch file:
::: start thefront_server.exe -log
+
::: start "" "C:\PATH\TO\YOUR\FILES\ProjectWar\Binaries\Win64\TheFrontServer.exe" ProjectWar ProjectWar_Start ?Listen?MaxPlayers=8 -server -game -QueueThreshold=8 -ServerName="YOUR SERVER NAME" -ServerAdminAccounts=STEAM64ID;STEAM64ID;STEAM64ID -log log=log.log -locallogtimes -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -OutIPAddress=YOUR_PUBLIC_IP -ServerID=ANY_IDEA -port=PORT-BeaconPort=PORT+1 -QueryPort=PORT+2 -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -ShutDownServicePort=PORT+3
  
 
== Step 3: Configuring your The Front Server ==
 
== Step 3: Configuring your The Front Server ==

Revision as of 07:10, 11 October 2023

Creating a The Front game server is an easy process that can be done from either a dedicated server or your home computer. Alternatively, you can choose a The Front server host that will fit your needs.

Option #1: Renting The Front server (see example control panel below!)

Control panel.gif


The Front game server.png

Option #2: Creating a The Front Server From Your Home Computer or Dedicated Server

Server Requirements

Windows 10/11, Server 2016/2019/2022 & 64-Bit

Quad Core processor (requires up to 2 full cores)

Up to 8GB memory (currently uses around 1GB memory)

4GB disk space (install folder)

Step 1: Fetching Game Server files

The best method to get dedicated server game files is via the dedicated server depot on Steam via SteamCMD.

  1. Create a folder where you wish to store your The Front game server hosting files
  2. Inside of the folder, place the newly downloading SteamCMD.exe file
  3. Create a batch file named SteamCMD.bat
  4. Place the following code in this batch file:
@echo off
start "" steamcmd.exe +login USER PASS +force_install_dir "C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go" +app_update 2612550 validate +quit
  1. Right-click SteamCMD.bat and Run as Administrator
  2. Your game server files should be completely downloaded by now

Step 2: Setting up a The Front Dedicated Server

  1. Create a batch file named The FrontServer.bat in your newly created The Front server folder from step 1
  2. Place the following code in this batch file:
start "" "C:\PATH\TO\YOUR\FILES\ProjectWar\Binaries\Win64\TheFrontServer.exe" ProjectWar ProjectWar_Start ?Listen?MaxPlayers=8 -server -game -QueueThreshold=8 -ServerName="YOUR SERVER NAME" -ServerAdminAccounts=STEAM64ID;STEAM64ID;STEAM64ID -log log=log.log -locallogtimes -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -OutIPAddress=YOUR_PUBLIC_IP -ServerID=ANY_IDEA -port=PORT-BeaconPort=PORT+1 -QueryPort=PORT+2 -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -ShutDownServicePort=PORT+3

Step 3: Configuring your The Front Server

Now comes the fun part, setting up your The Front game server to your liking. There are some launch parameters to be aware of.

-log - Enables logging

There are also a few files that can be configured.

thefront_server.json - modifies the server configuration

{
	"name": "The Front Game Server",
	"password": "",
	"saveDirectory": "./savegame",
	"logDirectory": "./logs",
	"ip": "0.0.0.0",
	"gamePort": 15636,
	"queryPort": 15637,
	"slotCount": 16
}

Make sure to modify the following in order to get your game server to work:

name - Changes the host name of your game server
password - Enables a password to join
saveDirectory - Changes the location of the save directory
logDirectory - Changes the location of the log directory
ip - Set to the home IP, you can find your home ip here: https://www.google.com/search?q=what+is+my+ip
gamePort - No need to change
queryPort - No need to change
slotCount - Changes the max allowable number of players (max is 16)

Step 3: Port Forwarding

Add an incoming rule to your Windows Firewall to allow TCP/UDP port (game port) 15636, (Steam query port) 15637 (or whichever ports you decide to use)

You may additionally need to add a forwarding rule to your network router. You can use PortForward.com to read how to do this.

Location of World Save Data

To locate your save folder, navigate to this folder:

savegame

There will be two files, back them up both in order to make a backup.

Additional Resources and Reading

Admin Commands
How to Join a The Front Server


Share your opinion