
The Forest
Dedicated Server Template
As the lone survivor of a passenger jet crash, you find yourself in a mysterious forest battling to stay alive against a society of cannibalistic mutants. Build, explore, survive in this terrifying first-person survival horror simulator.
The Forest Game Server Hosting
Deploy and manage your own The Forest dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes The Forest server administration simple and reliable.
Resource Requirements
+128 MiB per player
Recommended Players
Performance Tiers
Economy
Small server, 1-4 players
Standard
Medium server, 4-8 players
Pro
Full server, 8-8 players
Startup Command
Default
Standard The Forest dedicated server startup via Wine with xvfb virtual display
Environment Variables
SERVER_NAME
RequiredServer Name
Server name displayed in the server browser
(empty)MAX_PLAYERS
RequiredRead OnlyMax Players
Maximum number of concurrent players
(empty)STEAM_ACCOUNT
Game Server Login Token
Create one with App ID `242760` at [Steam GSLT Management](https://steamcommunity.com/dev/managegameservers) to publicly list your server.
(empty)VAC_SECURE
VAC Protection
Enable Valve Anti-Cheat protection.
onDIFFICULTY
RequiredDifficulty
Game difficulty mode.
NormalSAVE_SLOT
RequiredSave Slot
Save slot to use (1-5). Each slot is an independent world.
1VEGAN_MODE
Vegan Mode (No Enemies)
No enemies will spawn at all (Vegan Mode).
offVEGETARIAN_MODE
Vegetarian Mode (No Day Enemies)
No enemies during daytime, enemies only at night (Vegetarian Mode).
offALLOW_CHEATS
Allow Cheats
Allow all players to use the built-in developer console.
offALLOW_BUILDING_DESTRUCTION
Allow Building Destruction
Allow enemies and players to destroy player structures.
onTREE_REGROW
Tree Regrow Mode
Regrow 10% of cut down trees when sleeping.
offRESET_HOLES
Reset Holes Mode
Reset all structure holes when loading a save.
offENEMIES_CREATIVE
Enemies in Creative Mode
Allow enemy spawning in creative mode games.
offREALISTIC_DAMAGE
Realistic Player Damage (PvP)
Dramatically increases player-vs-player damage for PvP-focused servers.
offSERVER_PASSWORD
Server Password
Password required for players to join the server. Leave empty for a public server.
(empty)ADMIN_PASSWORD
RequiredAdmin Password
Password for in-game admin console access. This grants full server control.
(empty)AUTO_UPDATE
Auto Update
Automatically check for and apply server updates on startup.
1WINEDEBUG
RequiredRead OnlyWine Debug
Wine debug output level. Set to -all to suppress debug messages.
-allINIT_TYPE
RequiredInit Type
Start a new world or continue from the last save. Set to 'Continue' after your first session to load saved progress.
NewAUTOSAVE_INTERVAL
Auto Save Interval (minutes)
Time in minutes between auto-saves. Minimum: 15.
15TARGET_FPS_IDLE
Idle FPS
Target FPS when no players are connected. Lower values save resources.
5TARGET_FPS_ACTIVE
Active FPS
Target FPS when players are connected.
60SHOW_LOGS
Show Logs
Show server event log output.
onWINEARCH
RequiredRead OnlyWine Architecture
Wine architecture. The Forest requires 64-bit Wine.
win64WINEPATH
RequiredRead OnlyWine Path
Wine application path.
/home/containerLifecycle Scripts
Installation Script
Post-install setup: creates the config directory, generates default config.cfg, verifies server binary, and sets up Steam SDK libraries.
Configuration Files
Server Configuration
Password, difficulty, and save management. Only updates the settings shown here.
TheForestDedicatedServer_Data/forest/config/config.cfgfileContainer Configuration
Docker Image
ghcr.io/ptero-eggs/yolks:wine_latest
Technical Profile
Template ID
the-forest
Author
GameCP Team
Last Updated
March 13, 2026
Status
ActiveConfiguration Metadata
Information about the origin and version of this game configuration.
Author
GameCP Team
Version
1
Source
gamecp
Steam Links
originalAuthor
admin@softwarenoob.com