dontstarvetogether_linux32 steamcmd Dont Starve Together dontstarve_dedicated_server_nullrenderer %IP% %PORT% -persistent_storage_root {OGP_HOME_DIR} -conf_dir config -cluster Server bin 6 none 343050 anonymous cluster_name.* cluster_name = %key% config/Server/cluster.ini key-regex max_players.* max_players = %key% config/Server/cluster.ini key-regex cluster_description.* This server is super duper! cluster_description = config/Server/cluster.ini s Cluster description. This will show up in the server details area on the "Browse Games" screen cluster_password.* cluster_password = config/Server/cluster.ini s This is the password that players must enter to join your server. Leave this blank for no password game_mode.* survival game_mode = config/Server/cluster.ini s The cluster’s game mode. This field is the equivalent of the "Game Mode" field on the "Host Game" screen cluster_intention.* cooperative cluster_intention = config/Server/cluster.ini s The cluster’s playstyle. This field is the equivalent of the "Server Playstyle" field on the "Host Game" screen console_enabled.* true console_enabled = config/Server/cluster.ini s The console allows to input admin commands, cheats, and so on autosaver_enabled.* true autosaver_enabled = config/Server/cluster.ini s The auto saver creates a save at the start of each day, which will be resumed from when the server restarts enable_vote_kick.* true enable_vote_kick = config/Server/cluster.ini s When no admin is present, vote kick allows players to vote to kick players that are disrupting the game pause_when_empty.* true pause_when_empty = config/Server/cluster.ini s Pause the server when there are no players connected pvp.* false pvp = config/Server/cluster.ini s Players versus Players echo echo echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S ////////////////" echo cluster_ini="config/Server/cluster.ini" if [ -f "$cluster_ini" ]; then echo "Configuration file $cluster_ini found. OK!" else echo "Configuration file $cluster_ini not found" echo "Generating new configuration file in $cluster_ini" mkdir -p config/Server echo 'W0dBTUVQTEFZXQpnYW1lX21vZGUgPSBlbmRsZXNzCm1heF9wbGF5ZXJzID0gNjQKcHZwID0gZmFsc2UKcGF1c2Vfd2hlbl9lbXB0eSA9IGZhbHNlCgpbbmV0d29ya10KY2x1c3Rlcl9uYW1lID0gRG9udCBTdGFydmUgVG9nZXRoZXIKY2x1c3Rlcl9kZXNjcmlwdGlvbiA9IEEgRG9udCBTdGFydmUgVG9nZXRoZXIgU2VydmVyCmNsdXN0ZXJfaW50ZW50aW9uID0gY29vcGVyYXRpdmUKY2x1c3Rlcl9wYXNzd29yZCA9CnRpY2tfcmF0ZSA9IDMwCmF1dG9zYXZlcl9lbmFibGVkID0gdHJ1ZQpjb25uZWN0aW9uX3RpbWVvdXQgPSA4MDAwCnNlcnZlcl9zYXZlX3Nsb3QgPSAxCmVuYWJsZV92b3RlX2tpY2sgPSBmYWxzZQoKW2FjY291bnRdCmRlZGljYXRlZF9sYW5fc2VydmVyID0gZmFsc2UKCgpbU1RFQU1dCkRJU0FCTEVDTE9VRCA9IHRydWUKCgpbTUlTQ10KQ09OU09MRV9FTkFCTEVEID0gdHJ1ZQphdXRvY29tcGlsZXJfZW5hYmxlZCA9IHRydWUKCg==' | base64 -di > $cluster_ini fi cluster_token="config/Server/cluster_token.txt" if [ -f "$cluster_token" ]; then echo "Cluster token file found in $cluster_token OK!" else echo "You will have to upload your file cluster_token.txt to folder config/Server/" echo "Please see official forum if you don't know how to generate it. http://forums.kleientertainment.com/forum/" fi echo echo "If you want to reset your server to initial state, delete the folder config and re-install the server from OGP" echo echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S ////////////////"