Back to Templates
Sons of the Forest
Sons of the Forest
GameCP OfficialSurvival
Verified

Sons of the Forest

Dedicated Server Template

Sons of the Forest is a horror survival game and sequel to The Forest by Endnight Games. Sent to find a missing billionaire on a remote island, you find yourself in a cannibal-infested hellscape. Craft, build, and struggle to survive, alone or with friends.

v17
2/25/2026

Sons of the Forest Game Server Hosting

Deploy and manage your own Sons of 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 Sons of the Forest server administration simple and reliable.

Free Control PanelOne-Click DeployAuto UpdatesDocker Containerized
Full Hosting Guide

Ready to host Sons of the Forest?

Read our complete step-by-step guide covering installation, configuration, performance tuning, and getting your server online in minutes.

Resource Requirements

CPU Cores
2
Memory
4.0 GB(max 8 GB)
Storage
8 GB

+256 MiB per player

Recommended Players

4
Recommended
Min: 1Max: 8

Performance Tiers

Economy

Small co-op session, 1-4 players

RAM2 GB
CPU Shares256
Recommended

Standard

Full server, 4-8 players

RAM4 GB
CPU Shares512

Pro

Dedicated server with heavy building, 8 players

RAM6 GB
CPU Shares1024

Startup Command

#!/bin/bashBash shell with full features

Default

Standard startup using Wine

Default

Environment Variables

SERVER_NAME

Required

Server Name

Server name displayed in the server browser

Default
(empty)

MAX_PLAYERS

RequiredRead Only

Max Players

Maximum number of players (1-8)

Default
(empty)

LAN_ONLY

Required

LAN Only

Restrict server to LAN connections only

Default
false

GAME_MODE

Required

Game Mode

Game difficulty mode. Ignored when loading an existing save.

Default
Normal

SAVE_SLOT

Required

Save Slot

Save slot number to use

Default
1

SAVE_MODE

Required

Save Mode

Continue loads existing save or creates new. New always creates fresh game.

Default
Continue

IDLE_DAY_SPEED

Idle Day Cycle Speed

Day/night cycle speed multiplier when no players connected (0.0 = paused)

Default
0.0

TREE_REGROWTH

Tree Regrowth

Allow trees to regrow after being cut down

Default
true

STRUCTURE_DAMAGE

Structure Damage

Allow enemies to damage player structures

Default
true

ENEMY_SPAWN

Enemy Spawn

Enable enemy spawning (Custom mode only)

Default
true

ENEMY_HEALTH

Enemy Health

Enemy health multiplier (Custom mode only)

Default
Normal

ENEMY_DAMAGE

Enemy Damage

Enemy damage multiplier (Custom mode only)

Default
Normal

ENEMY_AGGRESSION

Enemy Aggression

Enemy aggression level (Custom mode only)

Default
Normal

ENEMY_ARMOUR

Enemy Armour

Enemy armour strength (Custom mode only)

Default
Normal

ANIMAL_SPAWN

Animal Spawn Rate

Animal spawn rate (Custom mode only)

Default
Normal

STARTING_SEASON

Starting Season

Starting season for the game world (Custom mode only)

Default
Summer

SEASON_LENGTH

Season Length

Length of each season (Custom mode only)

Default
Default

DAY_LENGTH

Day Length

Length of each day (Custom mode only)

Default
Default

SERVER_PASSWORD

Server Password

Server password for private games. Leave empty for public.

Default
(empty)

AUTO_UPDATE

Auto Update

Automatically update server files on restart

Default
1

WINEDEBUG

RequiredRead Only

Wine Debug

Wine debug output level. Set to -all to suppress debug messages.

Default
-all

SAVE_INTERVAL

Required

Save Interval (seconds)

Auto-save interval in seconds (default: 600 = 10 minutes)

Default
600

SKIP_NET_TEST

Required

Skip Network Test

Skip network accessibility test on startup. Recommended true for containerized servers.

Default
true

IDLE_FPS

Idle Target FPS

Target framerate when no players are connected

Default
5

ACTIVE_FPS

Active Target FPS

Target framerate when players are active

Default
60

SOTF_BLOBSYNC_PORT

RequiredRead Only

BlobSync Port

UDP port used by the BlobSync system for game data exchange

Default
9700

WINEARCH

RequiredRead Only

Wine Architecture

Wine architecture. Sons of the Forest requires 64-bit Wine.

Default
win64

WINEPATH

RequiredRead Only

Wine Path

Wine application path.

Default
/home/container

WINETRICKS_RUN

RequiredRead Only

Winetricks Packages

Winetricks packages to install for runtime dependencies.

Default
mono vcrun2019

Lifecycle Scripts

Installation Script

Post-install setup: creates default config, sets up Steam SDK, verifies server binary.

after installghcr.io/ptero-eggs/installers:debian

Configuration Files

Server Configuration

Save slot and game mode settings. Only updates the settings shown here.

serverconfig/dedicatedserver.cfgjson
0 fields

Container Configuration

Docker Image

ghcr.io/ptero-eggs/yolks:wine_latest

Technical Profile

Template ID

sons-of-the-forest

Author

GameCP Team

Last Updated

February 25, 2026

Status

Active

Configuration Metadata

Information about the origin and version of this game configuration.

Author

GameCP Team

Version

1

Source

gamecp

originalAuthor

eggs@goover.dev