Adjusting Difficulty Settings in Sons of the Forest
Change your Sons of the Forest server difficulty using gamemode presets or fully custom settings like enemy health, season length, and survival penalties.
By default, XGamingServer Sons of the Forest servers include multiple difficulty presets integrated into the game panel for quick configuration. This guide covers using existing gamemode presets along with custom difficulty settings.
Changing SotF Gamemode Presets
📝 Note: You must create a new world to change difficulty settings. You can do so by changing
Save SlotinStartup.
Stop Your Server
Access the XGamingServer Panel and Stop your server.
Select a Gamemode
In the sidebar, go to Startup. Set Gamemode to your desired difficulty.
Create a New Save Slot
Change Save Slot to generate a new world. For example, change this to 0000000002.
Start Your Server
Start your server to play on the new difficulty.
The available difficulty presets are: normal, hard, hardsurvival, peaceful, custom.
Custom SoTF Server Difficulty Configuration
📝 Note: You must create a new world to change difficulty settings. You can do so by changing
Save SlotinStartup.
Here is how to set custom difficulty settings, allowing you to adjust individual gameplay options for a fully tailored experience.
Stop Your Server
Access the XGamingServer Panel and Stop your server.
Set Gamemode to Custom
In the sidebar, go to Startup. Set Gamemode to custom.
Create a New Save Slot
Change Save Slot to generate a new world. For example, change this to 0000000002.
Edit the Config File
Go to Files and navigate to /serverconfig/dedicatedserver.cfg. Edit the settings you want under CustomGameModeSettings and click save.
Start Your Server
Start your server to apply the custom settings.
Here is a list of all gameplay settings found in dedicatedserver.cfg and their values.
| Setting | Description and Values |
|---|---|
| GameSettings.Gameplay.TreeRegrowth | Toggles if trees will regrow - true, false |
| Structure.Damage | Toggles if structures can be damaged - true, false |
| GameSetting.Vail.EnemySpawn | Toggles if enemies should spawn - true, false |
| GameSetting.Vail.EnemyHealth | Adjusts the starting health of enemies - low, normal, high |
| GameSetting.Vail.EnemyDamage | Adjusts how much damage enemies do - low, normal, high |
| GameSetting.Vail.EnemyArmour | Adjusts enemy armor strength - low, normal, high |
| GameSetting.Vail.EnemyAggression | Adjusts enemy aggression level - low, normal, high |
| GameSetting.Vail.AnimalSpawnRate | Adjusts animal spawn rate - low, normal, high |
| GameSetting.Environment.StartingSeason | Sets your starting season - spring, summer, autumn, winter |
| GameSetting.Environment.SeasonLength | Adjusts each seasonal duration - short, default, long, realistic |
| GameSetting.Environment.DayLength | Adjusts day length - short, default, long, realistic |
| GameSetting.Environment.PrecipitationFrequency | Adjust the frequency of rain and snow - low, default, high |
| GameSetting.Survival.ConsumableEffects | Enables damage taken when low hydration and low fullness - normal, hard |
| GameSetting.Survival.PlayerStatsDamage | Enable damage from rotten or bad food and drink - off, normal, hard |
| GameSetting.Survival.ColdPenalties | Adjusts the severity of penalties when chilled - off, normal, hard |
| GameSetting.Survival.ReducedFoodInContainers | Reduces the amount of food found in containers - true, false |
| GameSetting.Survival.SingleUseContainers | Toggles if containers can only be opened once - true, false |
How is this guide?

Setting Up Admins on a Sons of the Forest Server
Learn how to add admins to your Sons of the Forest dedicated server, enable the admin console, and use commands like godmode and item spawning.
Renaming Your Sons of the Forest Server
Change your Sons of the Forest server hostname to customize what players see in the server browser.