Configuring Your The Forest Server

Customize your The Forest dedicated server settings including difficulty, tree regrowth, building destruction, and more.

The Forest dedicated servers are configured through the config.cfg file. This guide covers how to access and modify your server settings.

Server Configuration

Stop Your Server

Access the XGamingServer Panel and Stop your server.

Open the Configuration File

Go to Files and open the config.cfg file in the server's root directory.

Edit Server Settings

The configuration file uses key-value pairs. Here are the most common settings:

SettingDescriptionValues
serverNameServer name shown in browserAny text
serverPlayersMaximum players1-8
serverPasswordPassword to joinAny text or blank
serverAutoSaveIntervalAuto-save interval in minutesNumber
difficultyGame difficultyPeaceful, Normal, Hard, HardSurvival
initTypeNew or continue gameNew, Continue
slotSave slot number1-5
treeRegrowModeWhether trees regrowOn, Off
vegetationModeVegetation densityOn, Off
enemySpawnWhether enemies spawnOn, Off
allowBuildingDestructionCan buildings be destroyedOn, Off
allowCheatsEnable cheat commandsOn, Off

Save and Start Your Server

Save your changes and start your server to apply the new settings.

💡 Tip: Many common settings like server name, max players, and password can also be changed from Startup in the panel. See Change Server Name, Max Players, and Set a Password for details.

If you need help with configuration, join our Discord and we will assist you.

How is this guide?

40% Off — Limited TimeGet your The Forest server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page