Skip to content

How do I set up and join my Don't Starve Together server?

Your server is a full cluster: the Overworld and the Caves run together as one server, so players can go down a sinkhole into the Caves and come back up. It installs on its own after you order it.

Before anyone can join, the server needs a free server token from your own Klei account. Without one the server starts, but it is not listed and nobody can connect. If you started a free trial, you pasted the token in when you created it. A paid server starts with placeholder text in Server Token on the Startup page: replace it with your token and restart. The Klei server token guide shows where to get one.

To join, open Don't Starve Together, choose Browse Games and search for your Cluster Name. To connect directly instead, open the in-game console with the ~ key and type c_connect("address", port) with the address and port shown on the Console page. If you set a password, add it as a third value: c_connect("address", port, "password").

Cluster Name (the name players see in Browse Games), Cluster Description, Game mode (survival, endless or wilderness), Max Players and Server Password are on the Startup page. The server writes them into cluster.ini every time it starts, so change them on the Startup page rather than in the file, then restart. Your plan sets Max Players: 8 on Starter, 16 on Standard and 24 on Pro.

Klei updates the game often, and players on a newer version cannot join a server on an older one. New servers start with Auto-update server set to 0. Set it to 1 on the Startup page so the server checks for a game update every time it starts, and restart it after a game update.

To make yourself an admin, open DoNotStarveTogether/config/server in Files, add your Klei User ID (it starts with KU_) on its own line in adminlist.txt (create the file if it is not there) and restart.

Mods come from the Steam Workshop. Add a line such as ServerModSetup("123456789") for each mod to mods/dedicated_server_mods_setup.lua, using the number from the mod's Workshop page. Then switch each mod on in modoverrides.lua in both the Master and Caves folders under DoNotStarveTogether/config/server, for example return { ["workshop-123456789"] = { enabled = true } }, and restart. Take a backup before adding mods to a world you care about.

Want to try it first? The free 48-hour trial gives you a 4 GB cluster with no card required. Paid plans start at £5/mo.

Was this helpful?

Want to try this on a real server?

Everything described here is available on the trial too, on the same hardware and the same panel as the paid plans. Try it free for 48 hours, no credit card required.

Didn't fix it? Ask in Discord.

Ask in our Discord - we help with hosting questions whether or not you host with us.