Don't Starve Together

Don't Starve Together

Not enough ratings
Create server with caves using .bat file
By omarfl7
This guide was based on the following guide:
http://steamcommunity.com/sharedfiles/filedetails/?id=635281092
The purpose is simplify the creation of the server if you previously was created a server
I hope it could be helpful
 
Rate  
Favorite
Favorited
Unfavorite
Previously
We assume:
  • You already have a configurate server in Don't Starve Together, both for the normal map and caves. I mean, they are working.
  • You already installed Don't Starve Dedicated Server and it is working. However, you do not allowed to enter to the caves (this guide would be repair that)

If you didn't installed Don't Starve Dedicated Server, you can follow the guide:
http://steamcommunity.com/sharedfiles/filedetails/?id=635281092#1019516

...and create your token like:
http://steamcommunity.com/sharedfiles/filedetails/?id=635281092#1019137
But, take in account that the token must be placed in the folder:
DoNotStarveTogether\Cluster_1
.bat file
Locate yourself in the folder:

The Folder looks like

Create the file DoNotStarveTogether_createServer.bat:

The file have the following content:
@echo off mkdir DoNotStarveTogether_EasyConfigCaves\Cluster_1\Master mkdir DoNotStarveTogether_EasyConfigOverworld\Cluster_1\Master copy DoNotStarveTogether\Cluster_1\cluster.ini DoNotStarveTogether_EasyConfigOverworld\Cluster_1\ copy DoNotStarveTogether\Cluster_1\cluster_token.txt DoNotStarveTogether_EasyConfigOverworld\Cluster_1\ copy DoNotStarveTogether\Cluster_1\cluster.ini DoNotStarveTogether_EasyConfigCaves\Cluster_1\ copy DoNotStarveTogether\Cluster_1\cluster_token.txt DoNotStarveTogether_EasyConfigCaves\Cluster_1\ xcopy /s DoNotStarveTogether\Cluster_1\Master DoNotStarveTogether_EasyConfigOverworld\Cluster_1\Master xcopy /s DoNotStarveTogether\Cluster_1\Caves DoNotStarveTogether_EasyConfigCaves\Cluster_1\Master @pause
Th folder looks like:
The folder with .bat file

Just execute the file with double click:DoNotStarveTogether_createServer.bat and it will create the necessary files for the server with caves
The folder with the files created

Execute the server
In order to execute the server you to locate yourself in the path where you previously installed steam like:
Steam\steamapps\common\Don't Starve Together Dedicated Server\bin\scripts
This folder has the .bat file:
Script to execute
That's all, we have two consoles, one is for caves and another for the normal map. Right now, we can enter like an user, search for our created server
Anything else
I have to remark that script previously create, it create the folders and files based on the game located on the folder DoNotStarveTogether. In this folder you could be found the necessary file for the caves. We just only use this files to create the files without any additional configurations

...and you could realize that we can create backup files just using these created folders

I hope you find them useful.