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
 
(2 intermediate revisions by one other user not shown)
Line 43: Line 43:
 
There are also a few files that can be configured.<br>
 
There are also a few files that can be configured.<br>
  
'''thefront_server.json''' - modifies the server configuration<br>
+
'''/TheFrontManager/ServerConfig_.ini''' - modifies the server configuration<br>
  
 
<pre>
 
<pre>
{
+
[BaseServerConfig]
"name": "The Front Game Server",
+
IsCanMail=1.000000
"password": "",
+
ServerName="YOUR SERVER NAME"
"saveDirectory": "./savegame",
+
ServerPassword=
"logDirectory": "./logs",
+
ServerAdminAccounts=STEAM64ID;STEAM64ID;
"ip": "0.0.0.0",
+
ServerTitle="A simple description of your server"
"gamePort": 15636,
+
PlayerAddExpRate=1
"queryPort": 15637,
 
"slotCount": 16
 
}
 
 
</pre>
 
</pre>
  
 
Make sure to modify the following in order to get your game server to work:
 
Make sure to modify the following in order to get your game server to work:
  
'''name''' - Changes the host name of your game server<br>
+
'''ServerName''' - Changes the host name of your game server<br>
'''password''' - Enables a password to join<br>
+
'''ServerPassword''' - Enables a password to join<br>
'''saveDirectory''' - Changes the location of the save directory<br>
+
'''ServerAdminAccounts''' - Adds Admin users to your server<br>
'''logDirectory''' - Changes the location of the log directory<br>
+
'''ServerTitle''' - Allows you to enter a brief description of your server<br>
'''ip''' - Set to the home IP, you can find your home ip here: https://www.google.com/search?q=what+is+my+ip<br>
+
'''PlayerAddExpRate''' - Edits the Experience gain rate of the server<br>
'''gamePort''' - No need to change<br>
 
'''queryPort''' - No need to change<br>
 
'''slotCount''' - Changes the max allowable number of players (max is 16)<br>
 
  
 
== Step 3: Port Forwarding ==
 
== Step 3: Port Forwarding ==
Line 78: Line 72:
 
To locate your save folder, navigate to this folder:
 
To locate your save folder, navigate to this folder:
  
'''savegame'''
+
'''C:\PATH\TO\YOUR\FILES\ProjectWar\Saved\GameStates'''
  
There will be two files, back them up both in order to make a backup.
+
There will be four folders and two files, back them all up in order to make a backup.
  
 
== Additional Resources and Reading ==
 
== Additional Resources and Reading ==

Latest revision as of 09:46, 12 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.

/TheFrontManager/ServerConfig_.ini - modifies the server configuration

[BaseServerConfig]
IsCanMail=1.000000
ServerName="YOUR SERVER NAME"
ServerPassword=
ServerAdminAccounts=STEAM64ID;STEAM64ID;
ServerTitle="A simple description of your server"
PlayerAddExpRate=1

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

ServerName - Changes the host name of your game server
ServerPassword - Enables a password to join
ServerAdminAccounts - Adds Admin users to your server
ServerTitle - Allows you to enter a brief description of your server
PlayerAddExpRate - Edits the Experience gain rate of the server

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:

C:\PATH\TO\YOUR\FILES\ProjectWar\Saved\GameStates

There will be four folders and two files, back them all up in order to make a backup.

Additional Resources and Reading

Admin Commands
How to Join a The Front Server


Share your opinion