Skip to content

Commit 7ace189

Browse files
authored
Add missing parameters in cluster.ini (#15)
* Add missing parameters in cluster.ini * Fix command formatting in docs * Add badges to README.md * Bump version to 0.3.1
1 parent 191bb7f commit 7ace189

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

DSTClusterConfig/cluster.ini

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ max_players = 16
1818
pvp = false
1919
;; true|false
2020
pause_when_empty = true
21+
;; Set to true to enable voting features.
22+
;; true|false
23+
vote_enabled = true
2124

2225
[NETWORK]
2326
;; cooperative|competitive|social|madness
@@ -32,6 +35,10 @@ cluster_password = YouShallNotPass!!!
3235
autosaver_enabled = true
3336
;; true|false
3437
enable_vote_kick = false
38+
;; This is the number of times per-second that the server sends updates to clients. Increasing
39+
;; this may improve precision, but will result in more network traffic. It is recommended to
40+
;; leave this at the default value of 15. If you do change this option, do so only for LAN games,
41+
;; and use a number evenly divisible into 60 (15, 20, 30).
3542
;; 10|15|30|60
3643
tick_rate = 15
3744
;; milliseconds before unresponsive clients gets kicked out
@@ -44,6 +51,9 @@ connection_timeout = 8000
4451
; offline_server = true
4552

4653
[MISC]
54+
;; Maximum number of snapshots to retain. These snapshots are created every time a save occurs,
55+
;; and are available in the “Rollback” tab on the “Host Game” screen.
56+
max_snapshots = 6
4757
;; true|false
4858
console_enabled = true
4959

@@ -66,6 +76,10 @@ console_enabled = true
6676
;; true|false
6777
; steam_group_only = false
6878

79+
;; When this is set to true, admins of the steam group specified in steam_group_id will also have admin
80+
;; status on the server.
81+
; steam_group_admins = false
82+
6983
[SHARD]
7084
;;; [CHANGE THIS]
7185
;;; Optimally a randomly generated key

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Don't Starve Together - Dedicated Server
22

3+
[![Automated Docker Builds](https://img.shields.io/docker/automated/mathielo/dst-dedicated-server.svg)](https://cloud.docker.com/repository/docker/mathielo/dst-dedicated-server)
4+
[![Docker Build State](https://img.shields.io/docker/build/mathielo/dst-dedicated-server.svg)](https://cloud.docker.com/repository/docker/mathielo/dst-dedicated-server)
5+
[![Docker Image Pulls](https://img.shields.io/docker/pulls/mathielo/dst-dedicated-server.svg)](https://cloud.docker.com/repository/docker/mathielo/dst-dedicated-server)
6+
[![License: MIT]( https://img.shields.io/github/license/mathielo/dst-dedicated-server.svg)](https://github.com/mathielo/dst-dedicated-server/blob/master/LICENSE.md)
7+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-round)](http://makeapullrequest.com)
8+
39
DST Dedicated Server Guide for all platforms (Linux, Mac, Windows) with Docker.
410

511
The purpose of this project is to have DST servers up and running with the **bare minimum** necessary setup.

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22
services:
33
dst_caves:
44
container_name: dst_caves
5-
image: mathielo/dst-dedicated-server:0.3.0
5+
image: mathielo/dst-dedicated-server:0.3.1
66
ports:
77
- 10998:10998/udp
88
networks:
@@ -17,7 +17,7 @@ services:
1717

1818
dst_master:
1919
container_name: dst_master
20-
image: mathielo/dst-dedicated-server:0.3.0
20+
image: mathielo/dst-dedicated-server:0.3.1
2121
networks:
2222
- dst_cluster
2323
ports:

docs/ClusterToken.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ For this project, the `cluster_token.txt` file is located in `DSTClusterConfig/c
1212

1313
Enter the game and press "Play". After you're logged in, bring up the console (by pressing `~`) and type the following command:
1414

15+
```
1516
TheNet:GenerateClusterToken()
17+
```
1618

1719
Press enter. The console will go away, and a `cluster_token.txt` was generated in:
1820
- Unix: `~/.klei/DoNotStarveTogether`

0 commit comments

Comments
 (0)