Skip to main content

Cluster Configuration

Cluster.ini

The cluster.ini is the primary configuration file for cluster wide options. The server will look in <persistent_storage_root>/<conf_dir>/<cluster>/ for the existence of this file.

An example of the file

[GAMEPLAY]
game_mode = endless
max_players = 12
pvp = false
pause_when_empty = true

[NETWORK]
cluster_description = Silence Miranda
cluster_name = Mirandaville
cluster_intention = madness
cluster_password = password1234

[MISC]
console_enabled = true

[SHARD]
shard_enabled = true
master_port = 10889

Gameplay

Name

Default

Options

Description

game_mode

survival endless, survival, wilderness Sets the game mode: Reference

max_players

6 2, 4, 6, 8, 10, ... No functional limit

pvp

false true, false Enable/Disable player-vs-player

pause_when_empty

true true, false Wether the game will pause with no players online.

Network

Name

Default

Options

Description

cluster_description

empty Anything The description of your server seen when someone selects your server in the server browser.

cluster_name

None Anything The name of your server seen on the server browser.

cluster_intention

cooperative cooperative, competitive, social, or madness Basically deprecated

cluster_password

None Anything This sets the password people need to input to enter your server.

Misc

Name

Default

Options

Description

console_enabled

true true, false DST runs with an interactive console that you can send commands to locally on the server itself. This option enables or disables that.

max_snapshots

6 Any Integer Maximum number of snapshots to retain.

Shard

Name

Default

Options

Description

shard_enabled

false true, false Enables sharding, aka multi world. If you want caves enabled you need this, and the cave shard enabled.

master_port

10888 Any integer The port slave shards will connect to the master shard on.

Cluster Token

This file just contains a token that you generate from Klei's Website

The server will look for the token in <persistent_storage_root>/<conf_dir>/<cluster>/cluster_token.txt