---
title: "Configuring Caves on Your Nodecraft Don't Starve Together Server"
description: "Learn how to configure Caves world generation on your Nodecraft hosted Don't Starve Together server."
source: "https://nodecraft.com/support/games/dont-starve-together/configuring-caves-on-your-nodecraft-dont-starve-together-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvMTM0NmQ2NmUyNi9kb24tdC1zdGFydmUtbGFuZGluZy0xLTItMC5wbmcvbS8ifSx7Im5hbWUiOiJnYW1lX2xvZ28iLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMzc1eDE1MC9kYmZjZjA2NWE2L2xvZ28ucG5nL20vIn0seyJuYW1lIjoiY3RhX3RleHQiLCJ0ZXh0IjoiQ3JlYXRlIHlvdXIgb3duIHNlcnZlciEifSx7Im5hbWUiOiJ0ZXh0IiwidGV4dCI6IkNvbmZpZ3VyaW5nIENhdmVzIG9uIFlvdXIgTm9kZWNyYWZ0IERvbid0IFN0YXJ2ZSBUb2dldGhlciBTZXJ2ZXIifV0&s=2a0938b9ac27bed5b46ced52a8bc9445953a50fb6e36463e5f4aaec6ca64a0ba"
published: "2020-03-24T19:00:16.772Z"
updated: "2020-06-04T22:14:00.000Z"
---

# Configuring Caves on Your Nodecraft Don't Starve Together Server

Learn how to configure Caves world generation on your Nodecraft hosted Don't Starve Together server.

If you want to change the default settings for "Caves" world generation on your Don't Starve Together server, you will have to add a config file to your server that records what changes are to be made. The file is called `leveldataoverride.lua`, and once created it must be placed in the `Caves` folder for your server.

This config file will allow you to set all kinds of things on the "Caves" server, such as increased or decreased resources, spawn rates of animals and enemies, and much more.

## Creating the `leveldataoverride.lua` File

The most accurate way to create the config file is to let the game itself do it! If the game creates the config file, it will have all the most up-to-date settings, including any new settings for any of the special events that are frequently introduced into the game (The Gorge, The Forge, Return of Them, etc).

The only problem is that the `leveldataoverride.lua` file **won't normally be found on a multiplayer server at all**. There is no existing file that can be opened up and edited, and no way to easily see what settings are. While you can find examples of the file on the game's wiki and online in forums, they are usually **severely out of date.**

### Start a Single Player Game

Start the Don't Starve Together client on Steam. Once the title screen appears, click "Play!", then choose "Host Game" on the left side of the screen, and you should see the following below:

![A view of the world creation UI for hosting a new world in Don't Starve Together](https://s3-assets.nodecraft.com/attachments/F2lWziHBTBKjvxfsE9Eq_DST_leveloverride_02_create_world.png)

### Choose Playstyle

You need to choose the playstyle you want to have by clicking one of the four choices: Social, cooperative, Competitive, and Madness. It doesn't matter which one you pick, it won't affect making the config file. Until you do pick one, all the other pages of game settings shown behind it are locked.

### Configure World Settings

There will be 5 Tabs across the top of the page: Settings, Forest, Caves, Mods (0), and Rollback. On the "Settings" tab, choose a slot on the far left for the new world, and then change all the settings for your new world, like the server's name, description, password, and other settings.

Like above, you don't need to be too picky here. You're only creating a single player game for the sole purpose of making this config file, and you can't finish the process if the "Settings" page is blank.

![A view of creating a new server in Don't Starve Together](https://s3-assets.nodecraft.com/attachments/XLANmkbTRXOuATvguZmJ_DST_leveloverride_03_settings.png)

### Configure Cave Settings

This page shows the settings for the "Caves." Use the arrows to change each setting just the way you want it. If you have any questions about what a settings controls or does, the information in the online wiki for Don't Starve Together is accurate (just the examples of the config file they show are usually out of date).

![A view of the configuration screen for caves in the single player game of Don't Starve Together](https://s3-assets.nodecraft.com/attachments/YUMSulwgTImNFHnlvPUh_dontstarve_caves.PNG)

When you're finished changing the settings for your world, click the "Generate World" button in the lower right corner.

It will create a new world, which may take a few minutes. Choose your character (any character, doesn't really matter since we only want to start a new game just make the config file) and then click "go!". Once your character appears in the game world, hit `ESC` and then disconnect from the server.

Return to the main menu of the game, and then look for the "data" button in the lower left corner. Click on it, and it will open a window which shows the game save files on your computer, which will look something like the image below:

![A view of the data folder for Don't Starve Together newly created server](https://s3-assets.nodecraft.com/attachments/brbn48cOQFGlLLy1ULyV_DST_leveloverride_05_data_folder.png)

Each world that has been created will be in a different `Cluster` folder, like `Cluster_1`, `Cluster_2`, `Cluster_3`, and so on. Simply find and open the "Caves" world you just created.

Open the cluster folder, and then open the `Caves` folder inside. There you will see the `leveldataoverride.lua` file that you will need. Copy that file from your local computer, so that you can upload it to your online server!

## Upload the `leveldataoverride.lua` to Your Server

Open the control panel of your Nodecraft Don't Starve Together server and navigate to the following folder:

`/.klei/DoNotStarveTogether/MyDediServer`

You should see the following:

![A view of the MyDediServer folder location within Nodecraft Pro for a Don't Starve Together server](https://cms-a.nodecraft.com/f/133932/1900x683/adeb87ef94/mydediserver.png/m/1000x0/smart)

Open the `Caves` folder and place the `leveldataoverride.lua`file you created into the folder. If everything has been done right, when you start the server next time, it will create a whole new world, using the settings from the `leveldataoverride.lua` file you added to your server!

## Previously Created Worlds

The `leveldataoverride.lua` file is only used when the game needs to make a whole new world, and the **game won't create a new world if one already exists.**

The presence of a `save` folder inside the `Caves` folder is how the game tells that a world already exists. The `save` folder is loaded, and it won't look at or use the `leveldataoverride.lua` file at all.

So you need to move or delete the `save` folder first. With the `save` folder gone, it triggers the game to make a new world, and that's when it will read in and use the `leveldataoverride.lua` file.
