Set Up Caves
This article assumes that you know how to access a server with SFTP, edit a text file, unzip files, and other server administration skills.
Prepare the Files
- Go here: https://accounts.klei.com/account/game/servers?game=DontStarveTogether
- At the KLEI website, fill in Cluster Name with whatever you want then click on ADD NEW SERVER
- Also at the KLEI website, click on Configure Server, fill in the blanks, and then click on DOWNLOAD SETTINGS.
- Unzip the file you downloaded. There should now be a folder called MyDediServer. Inside that folder are some folders and files.
Setup the Servers
- Create two Don't Starve servers: One for Overworld and one for Caves. Start both servers once so the
.klei
folders are created. - Upload the cluster.ini and cluster_token.txt files to the following folder on BOTH servers: /dont-starve-together/.klei/DoNotStarveTogether/Cluster_1/
- Upload the worldgenoverride.lua file from the Caves folder to this folder on the Caves server: /dont-starve-together/.klei/DoNotStarveTogether/Cluster_1/Master/
To see hidden files and folders, such as ".klei" for Don't Starve, Click on Options > Preferences. Inside of the Preferences window, click on the Panels section and select Show hidden files (Ctrl-Alt-H).
Configure the Servers
- Go to Command Center for your Overworld server and click on Port Forwarding on the left.
- Forward a port using these settings and then click on Add Port:
- Port Type: Other
- Original Port: 11001
- Port Range: 0
- Protocol UDP
- One to One: Unchecked
- Make note of the new Public Port to the left of the 11001 Private Port
- Click on the Files tab for your Overworld server and navigate to /dont-starve-together/.klei/DoNotStarveTogether/Cluster_1/
- Click to edit cluster.ini and edit the following section:
[SHARD]
shard_enabled = true
bind_ip = 0.0.0.0
master_ip = 123.456.789.012
(Use your ip for your Overworld server here)
master_port = 11001
(Use this port.)
cluster_key = supersecretkey
(leave this to whatever is already there that you downloaded earlier)
is_master = true
(add this) - Click on the Files tab for your Caves server and navigate to /dont-starve-together/.klei/DoNotStarveTogether/Cluster_1/
- Click to edit cluster.ini and edit the following section:
[SHARD]
shard_enabled = true
bind_ip = 0.0.0.0
master_ip = 123.456.789.012
(Use your ip for your Overworld server here)
master_port = 45055
(Use the port you got from step 10 here.)
cluster_key = supersecretkey
(leave this to whatever is already there that you downloaded earlier)
is_master = false
(add this)
Start the Servers
- Start your Overworld server and wait about 2 minutes. Start your Caves server.
- Enjoy your game!
Updated about 1 year ago