Skip to content
YYY edited this page Sep 30, 2019 · 2 revisions

Plugin for running a single server (Deprecated)

Suitable for running only a single server on one host.

Positional argument value: dstds

This should be for the second argument.

Configuration file: plugins/dstds.conf

Options

Option Value
START_SCRIPT Path of the server's start script.
INSTALL_DIR Server's installation path, same as force_install_dir specified in SteamCMD. Can be left empty if default installation path is used.
SESSION Session name of GNU Screen or tmux. Can be looked up with screen -ls or tmux. Can be left empty if there is only one session but not recommended.
WINDOW Window ID in the GNU Screen or tmux session. 0 if there is only one window. Can be left empty if there is only one session but not recommended.
CLUSTER "Cluster" option for DSTDS. Fill this according to the following path.
SHARD "Shard" option for DSTDS. Fill this according to the following path.
SERVER_LOG "$HOME/.klei/DoNotStarveTogether/$CLUSTER/$SHARD/server_log.txt"
No need to change.

Configuration file example

START_SCRIPT=~/Master.sh
INSTALL_DIR=~/dontstarvetogether_dedicated_server
SESSION=Master
WINDOW=0
CLUSTER=MyDediServer
SHARD=Master
SERVER_LOG="$HOME/.klei/DoNotStarveTogether/$CLUSTER/$SHARD/server_log.txt" 

Plugin for running multiple servers

Suitable for running multiple servers on one host.

Positional argument value: dstds-multi

Configuration files: Matching files of plugins/dstds-multi.conf plugins/dstds-multi@*.conf will be read.