background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
קטגוריות

The Front Server Setup Guide

the-front setup config survival 0 מצאו את זה מועיל
זמין גם ב: ESPAÑOL

This guide covers everything you need to set up and configure your The Front dedicated server on Legion Hosting, including first start, GPanel startup variables, ServerConfig_.ini configuration, game mode settings, connecting to your server, and save management. For admin console commands, see The Front Admin Commands.

What Is The Front

The Front is a post-apocalyptic open-world survival shooter developed by Samar Studio. Set in a devastated world overrun by mutants and hostile factions, players must scavenge resources, craft weapons and equipment, build and fortify bases, and fight for survival against both AI enemies and other players. The game combines third-person shooter mechanics with deep base-building and survival systems.

Key features of the dedicated server include:

  • Support for up to 40+ concurrent players on a single server
  • PvP and PvE game modes with configurable fight mode types
  • Extensive gameplay tuning through the ServerConfig_.ini configuration file
  • Base raiding mechanics with configurable raid NPC levels and cooldowns
  • Beacon-based territory control and building protection systems
  • In-game admin console with over 100 commands for live server management
Stop your server before editing any configuration files. Always stop your server from the Console tab in GPanel before making changes to configuration files. Changes made while the server is running may be overwritten when the server saves.

First Start

When you first receive your The Front server from Legion Hosting, it needs to complete an initial installation before it can be played on.

  1. Log in to GPanel and select your The Front server from the server list.
  2. Click the Console tab and press Start.
  3. The server will download and install The Front dedicated server files via Steam (App ID 2334200). This initial download can take several minutes depending on disk speed.
  4. Once the download completes, the server will start automatically. The first boot generates the initial world data and may take longer than subsequent starts.
  5. Wait until the console output indicates the server is ready and listening for connections. You should see messages indicating that the game port is active.
Initial boot time. The first server start takes longer while the game generates the world and initializes all systems. Subsequent starts will be faster. Allow 3-5 minutes for the initial boot to complete.

GPanel Startup Variables

Core server settings are configured as startup variables in GPanel. These values are passed as command-line parameters when the server launches and override any corresponding settings in configuration files.

  1. In GPanel, select your The Front server.
  2. Click the Startup tab.
  3. Set the variables listed below. Changes take effect the next time you start or restart the server.
Variable Default Description
SRV_NAME Pterodactyl hosted Server The name displayed in the in-game server browser (-ServerName launch parameter). Make it descriptive so players can find your server.
MAX_PLAYERS 10 Maximum number of simultaneous players (-QueueThreshold parameter). Adjust based on your server's available resources.
BEACON_PORT 27016 The Unreal Engine beacon port used for connection handshakes. Automatically configured (game port + 1).
QUERY_PORT 27017 The UDP port used by Steam for server browser queries. Automatically configured (game port + 2).
SHUTDOWN_PORT 27017 The shutdown service listening port. Used for remote shutdown signals. Automatically configured (game port + 3).
Startup variables override config files. If a setting is configured both as a startup variable and inside the ServerConfig_.ini file, the startup variable takes precedence. Use startup variables for core identity settings and the config file for detailed gameplay tuning.

ServerConfig_.ini Configuration

Detailed server and gameplay settings are controlled through the ServerConfig_.ini file. This is the primary configuration file for tuning your server's behavior, rules, and gameplay parameters.

Locating the File

The configuration file is located at:

TheFrontManager/ServerConfig_.ini

Access this file through the GPanel Files tab or via SFTP. All settings go under the [BaseServerConfig] section header.

Basic Server Settings

Setting Default Description
ServerName "My Server" Display name for the server in the server browser. Enclose in quotes.
ServerPassword (empty) Password required to join the server. Leave empty for a public server.
ServerTitle (empty) A short description of your server displayed in the server browser.
ServerAdminAccounts (empty) Semicolon-separated list of Steam64 IDs for admin accounts. Example: 76561198012345678;76561198087654321;
QueueThreshold 40 Maximum number of players allowed on the server at once.
IsCanMail 1.000000 Enable or disable the in-game mail and chat system. Set to 0 to disable.
UseSteamSocket 1 Use Steam networking sockets for connections. Leave enabled for most setups.

Game Mode and Fight Settings

Setting Default Description
ServerFightModeType 0 Server PvP mode. 0 = PvP (players can attack each other), 1 = PvE (players cannot damage each other).
IsCanSelfDamage 1 Allow players to damage themselves. 1 = enabled, 0 = disabled.
IsCanFriendDamage 1 Allow friendly fire between squad members. 1 = enabled, 0 = disabled.

Port Configuration

Setting Default Description
Port 5001 Primary game port (UDP). Players connect on this port.
BeaconPort 5002 Unreal Engine beacon port for connection handshakes.
ShutDownServicePort 5004 Port for remote shutdown service signals.
QueryPort 5003 Steam query port for server browser listings.
Ports are pre-configured. On Legion Hosting, all ports are automatically assigned and configured. Your server will be assigned a random port unless you have a private IP. Do not change port values unless instructed by support.

Example ServerConfig_.ini

Below is an example configuration file showing common settings:

[BaseServerConfig]
ServerName="My Legion Server"
ServerPassword=
ServerTitle="A friendly survival server"
ServerAdminAccounts=76561198012345678;
QueueThreshold=40
ServerFightModeType=1
IsCanSelfDamage=0
IsCanFriendDamage=0
IsCanMail=1.000000
UseSteamSocket=1
PlayerAddExpRate=1.5

Game Mode Settings

The Front supports PvP and PvE modes that fundamentally change the multiplayer experience. The mode is set via the ServerFightModeType setting.

PvE Mode (ServerFightModeType=1)

  • Players cannot damage each other directly.
  • Focus is on cooperative survival against AI enemies and mutants.
  • Bases are protected from player raids (NPC raids still occur).
  • Ideal for communities focused on building and exploration.
  • Players can still form squads, trade, and cooperate.

PvP Mode (ServerFightModeType=0)

  • Players can attack and kill each other.
  • Bases and structures can be raided by other players.
  • Territory control through the Beacon system becomes competitive.
  • Damage multipliers between players can be tuned with admin commands (SetMeleePlayerDamageRatio, SetRangedPlayerDamageRatio).
  • Recommended for competitive and experienced players.

Building and Raid Settings

These settings control base protection and raiding mechanics. They can be configured via admin console commands or the config file:

Setting / Command Description
SetPlayerMaxHouseFlagNumber [N] Maximum number of Beacons (territory flags) each player can place.
SetHouseFlagExcitantTime [0-24] Sets the attack/raid window in hours. During this window, enemy players can damage structures within a Beacon's territory.
SetHFTrapMaxNum [N] Maximum number of traps that can be placed within a Beacon's coverage area.
SetConstructDisableRot [1/0] Toggle structure decay. When enabled (1), structures slowly decay over time if not maintained.
SetConstructMaxHealthRatio [multiplier] Multiplier for maximum structure durability. Higher values make buildings harder to destroy.
SetConstructDefenseRatio [multiplier] Multiplier for damage taken by structures. Lower values reduce damage to buildings.
Raid NPC attacks. Even in PvE mode, your base may be attacked by NPC raid waves. Configure raid NPC difficulty with SetCityNPCLevelRate, SetCityNPCDamageRate, SetCityNPCHealthRate, and SetCityNPCNumRate commands.

Experience and Resource Rate Settings

You can tune experience gain rates, resource collection rates, and various gameplay multipliers through the ServerConfig_.ini file or via admin console commands while the server is running.

Experience Rates

Setting / Command Default Description
PlayerAddExpRate 1 Multiplier for all experience gained by players. Set to 2 for double XP.
SetPlayerKillAddExpRate [N] 1 Multiplier for experience gained from killing NPCs.
SetPlayerFarmAddExpRate [N] 1 Multiplier for experience gained from gathering resources.
SetPlayerCraftAddExpRate [N] 1 Multiplier for experience gained from crafting items.

Resource Collection Rates

Command Description
GMSetTreeGainRate [N] Wood collection multiplier.
GMSetBushGainRate [N] Plant and bush collection multiplier.
GMSetOreGainRate [N] Ore and mineral collection multiplier.
GMSetCropReapRate [N] Crop harvesting yield multiplier.
GMSetFleshGainRate [N] Animal flesh/meat collection multiplier.
GMSetCropGrowRate [N] Crop growth speed multiplier.
GMSetTTC_Oil_Rate [N] Oil well production multiplier.
GMSetWaterCollector_Rate [N] Dew/water collector production multiplier.
GMSetTTC_Fish_Rate [N] Fish basket production multiplier.

How to Connect

Players connect to your The Front server through the in-game server browser. Find your server IP and port from the GPanel Console tab or see How to Find Your Server IP and Port.

Via In-Game Server Browser

  1. Launch The Front.
  2. From the main menu, click Servers.
  3. Click the Dedicated Servers tab at the top.
  4. Use the search bar or scroll through the list to find your server by name (the name you set in the ServerName setting).
  5. Click on your server and press Join. Enter the password if one is set.
Server not showing up? If your server does not appear in the browser, ensure it has fully started and been running for at least 2-5 minutes. New servers need time to register with the Steam master server list. Also check that the ServerName setting is configured correctly.

Via Steam Server Browser

  1. In Steam, go to View > Game Servers (or Servers).
  2. Click the Favorites tab and then Add a Server.
  3. Enter your server's IP and query port in the format IP:QUERY_PORT (for example, 192.168.1.100:5003).
  4. Once the server appears, double-click it to launch The Front and connect.
No direct IP connect in-game. The Front does not currently support a direct IP connection feature within the game client itself. Use the in-game server browser or the Steam server browser to find and join your server.

Save Management and World Wipes

The Front automatically saves world data at regular intervals. Understanding the save system is important for managing your server's world.

Save Location

World save data is stored in the server's data directory. The save interval can be configured with the SetSaveGameInterval admin command (value in seconds).

Manual Save

To trigger a manual world save, use the admin console command:

SaveWorld

This is useful before performing maintenance, making configuration changes, or shutting down the server.

Creating Backups

  1. Stop the server from GPanel.
  2. Navigate to the server's save directory via the GPanel Files tab or SFTP.
  3. Download the save files to your local computer for safekeeping.
  4. Also back up your ServerConfig_.ini file to preserve your settings.

Starting a New World (World Wipe)

To wipe the world and start fresh:

  1. Stop the server from GPanel.
  2. Navigate to the save data directory.
  3. Delete or rename the existing world save files.
  4. Optionally, set the ClearSeverTime parameter in ServerConfig_.ini to a date (format: yyyy-mm-dd) to schedule a wipe.
  5. Start the server. It will generate a fresh world from scratch.
Back up before wiping. Always download a copy of your save files before deleting them. Once deleted, world data cannot be recovered. If you want the option to restore the old world, keep the backup safe.

Port Reference

The Front uses the following network ports. These are automatically configured by your hosting plan on Legion Hosting.

Port Protocol Default Purpose
Game Port UDP 5001 Primary game connections. Players connect on this port.
Beacon Port UDP 5002 Unreal Engine beacon port for connection handshakes.
Query Port UDP 5003 Steam server browser queries.
Shutdown Service Port TCP 5004 Remote shutdown service listener.

Related Articles


Need Help?

If you are still having issues with your The Front server, please open a support ticket and our team will be happy to assist you.


האם המאמר הזה היה מועיל?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.