First install Don't Starve Together Dedicated Server tool
Use steamcmd or steam client to download
Here I use steam client to install
After installation, don't worry about it
First create archive folder and configuration file
Folder:
Document KleiDoNotStarveTog. EtherMyDediServer -- server root directory
document Kleidotstarvetothermydesiervermaster-surface archive root directory
document kleidotstarvetothermydesiervercaves-cave archive root directory
file:
document kle. Idonotstarvetogethermydediser server cluster.ini-server settings file
document kleidotstarvetogethermydediser server cluster _ token.txt-token file (generated by command later)
document kleidotstarvetogethermydediser server.ini-surface archive setting file
document kleidotstarvetogethermydediser server modoverrides.lua-mod configuration file
document kleidonstarvetogethermydediser modoverrides. Otstarvetogethermydesiderserver worldgenoverride.lua (optional) -map configuration file
document kleidotstarvetogethermydediseversserver.ini-cave archive setting file
document kleidotstarvetogethermydediseversmodoverrides.lua-mod configuration file
document. Kleidotstarvetogether mydesiderservcarvesworldgenoverride.lua-map configuration file
and then token file acquisition
1. Open the game
2. Call up the console (the default button is on the tab key of dash, under the esc key, Numeric key 1 left)
3. Enter the net: generate clustertoken ()
4. Cut the automatically produced "document kleidotstarvetogethercluster _ token.txt" into "document kleidotstarvetogethermydediser".