How To Configure World Generation On Your Don't Starve Together Server

How To Configure World Generation On Your Don't Starve Together Server
There are multiple changes that can be made to Don't Starve Together's default world generation. This includes spawn rates for animals/resources, season length, the server's starting season and much more. In order to edit these options, you'll need to add a new config file to your server called聽leveldataoverride.lua. This article will walk you through the process of creating and uploading that file.
#Creating The Config File
The easiest way to create the聽leveldataoverride.lua聽file is to create and edit it in-game and then upload it to your server.
-
Open Don't Starve Together and click on Host Game.
-
Select a server playstyle which will take you to the Settings page automatically.
-
On the Settings tab enter all your preferred settings. These are just placeholders so the config file can be saved and won't be applied to your server.
-
Click on either the聽Forest (The standard overworld)聽or聽Caves tab.
-
Make any required changes to the聽World Setting options.
-
Click on the聽World Generation聽tab.
- Make any required changes to the聽World Generation聽options.
#Locating The Config File
Now that you've created the聽leveldataoverride.lua聽file, you'll need to locate it on your local machine before uploading it.
- On the main menu, click the聽Data icon at the bottom left of the screen.
- Open the cluster folder of your created world. In this example, it's
Cluster_1.
- Navigate to
/Cluster_1/Master/and locate the聽leveldataoverride.luafile.
#Uploading The Config File To Your Server
Once you've created and located the聽leveldataoverride.lua聽file the final step is uploading it to your server.
-
Access your聽control panel聽and聽Stop聽your server.
-
Navigate to聽Files.
- Navigate to聽
/config/<ClusterName>/Master/and then upload your聽leveldataoverride.lua聽file.
- Start your server.
Note
If you have an existing world, you will need to delete any save folders inside聽`/config//Master/`聽before the聽`leveldataoverride.lua`聽file can take effect.
If you have an existing map that you would like to upload to your server, we have an article on our Knowledgebase that will walk you through the process here.