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 Forest Dedicated Server Setup Guide

forest setup config saves 0 מצאו את זה מועיל
זמין גם ב: ESPAÑOL

The Forest Dedicated Server Setup Guide

This guide covers how to configure your The Forest dedicated server on Legion Hosting, including config.cfg settings, difficulty modes, save management, and how to connect.

Accessing Your Server Panel

All server management is done through GPanel at gpanel.legionhosting.net. Log in with your Legion Hosting credentials to access your file manager, console, and server controls.

Configuration File (config.cfg)

The main server configuration file is config.cfg, located at:

TheForestDedicatedServer_Data/forest/config/config.cfg

You can edit it directly through the GPanel file manager or via SFTP. After making changes, restart your server for them to take effect.

Server Identity

Setting Example Value Description
serverName My Forest Server The name displayed in the server browser. Keep it unique and descriptive.
serverPassword secretpass Password required to join. Leave blank for a public server.
maxPlayers 8 Maximum number of players allowed (1–8).
serverSteamAccount (your token) Steam Game Server Login Token (GSLT). Required for the server to appear in the Steam server browser. Generate one at steamcommunity.com/dev/managegameservers using App ID 242760.

Gameplay Settings

Setting Values Description
difficulty 0, 1, 2, 3 Difficulty mode. See the Difficulty Modes section below for details.
veganMode true / false Disables all enemies (cannibals and mutants) when set to true.
vegetarianMode true / false Enemies only appear at night when set to true.
allowBuildingDestruction true / false Whether enemies can destroy player-built structures.
allowEnemiesCreativeMode true / false Enables enemies even when creative mode is active.
allowTrees true / false Controls whether cut trees regrow over time.
enableSpawnRegion true / false Restricts player spawns to the crash site area.

Network Settings

Your assigned game port and query port are shown in GPanel's Network tab. Ensure the serverPort and serverQueryPort values in config.cfg match your assigned ports.

Setting Description
serverPort Primary game port (UDP). Must match the game port shown in GPanel's Network tab.
serverQueryPort Steam query port (UDP). Must match the query port shown in GPanel's Network tab.
serverIP IP to bind to. Leave as 0.0.0.0 to bind all interfaces (recommended).

Save Settings

Setting Example Value Description
saveFolderPath TheForestDedicatedServer_Data/ Directory where save files are stored, relative to the server root. Defaults to TheForestDedicatedServer_Data/ if not set.
slot 1 Save slot number (1–5). Each slot is an independent world.
initType New / Continue Set to New to start a fresh world, or Continue to load an existing save.
Tip: After the server has generated a world for the first time, change initType from New to Continue. If left as New, restarting the server will wipe the world and start fresh.

Difficulty Modes

The difficulty setting controls the overall challenge level of the server:

Value Mode Description
0 Peaceful No enemies. Ideal for building-focused servers.
1 Normal Standard difficulty. Balanced survival experience.
2 Hard Increased enemy aggression and fewer resources.
3 Hard Survival Most challenging mode. Realistic survival mechanics, permadeath on some settings.
Note: The veganMode and vegetarianMode settings override the difficulty value with respect to enemy spawning. If either is true, enemies will be suppressed regardless of the difficulty level set.

How to Connect to Your Server

Finding Your IP and Port

Before connecting, you will need your server's IP address and port. See our guide: How to Find Your Server IP and Port.

Your assigned game port and query port are shown in GPanel's Network tab. Ensure the serverPort and serverQueryPort values in config.cfg match your assigned ports.

Method 1: Steam Server Browser

  1. In Steam, open View > Game Servers.
  2. Click the Favorites tab, then click Add a Server.
  3. Enter your server's IP and query port (from GPanel's Network tab) in the format your.ip.address:QueryPort and click Add This Address to Favorites.
  4. Your server should appear in the list. Double-click it or select it and click Connect.
  5. If the server has a password, you will be prompted to enter it.

Method 2: Direct Connect In-Game

  1. Launch The Forest and select Multiplayer from the main menu.
  2. Choose Join Game, then switch to the Friends / LAN tab.
  3. If your server is not listed automatically, look for a Direct Connect or Enter IP option and enter your server IP and game port (from GPanel's Network tab).
Note: For your server to appear in the Steam server browser, the serverSteamAccount (GSLT) must be set in config.cfg. Without a valid token, the server will only be reachable via direct connect.

Save File Management

Save File Location

Save files are stored in the directory defined by saveFolderPath in config.cfg. By default this is the TheForestDedicatedServer_Data/ folder within your server root. Each save slot is a numbered subfolder (e.g., TheForestDedicatedServer_Data/1/, TheForestDedicatedServer_Data/2/).

Backing Up a Save

  1. Stop your server from GPanel to prevent data corruption during copy.
  2. Navigate to the TheForestDedicatedServer_Data/ directory in the GPanel file manager or connect via SFTP.
  3. Download the entire slot folder (e.g., TheForestDedicatedServer_Data/1/) to your local machine.
  4. Restart your server when done.

Restoring a Save

  1. Stop your server.
  2. Upload your backup slot folder back to the correct path (e.g., TheForestDedicatedServer_Data/1/), overwriting the existing files.
  3. Ensure initType is set to Continue and slot matches the slot number you restored.
  4. Start your server.

Starting a New World

  1. Stop your server.
  2. Change the slot value in config.cfg to an unused slot number (e.g., 2), or delete the contents of the current slot folder to wipe it.
  3. Set initType to New.
  4. Start your server. Once the world has generated, set initType back to Continue.
Warning: Deleting save files is permanent and cannot be undone. Always back up your save before wiping or switching slots.

Related Articles

Still Need Help?

If you have followed this guide and are still experiencing issues, our support team is available to assist. Open a support ticket and include your server ID, a description of the problem, and any relevant console output.


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

Ready to Get Started?

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