Skip to content

Commit

Permalink
Add missing parameters in cluster.ini (#15)
Browse files Browse the repository at this point in the history
* Add missing parameters in cluster.ini
* Fix command formatting in docs
* Add badges to README.md
* Bump version to 0.3.1
  • Loading branch information
mathielo authored Feb 12, 2019
1 parent 191bb7f commit 7ace189
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
14 changes: 14 additions & 0 deletions DSTClusterConfig/cluster.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ max_players = 16
pvp = false
;; true|false
pause_when_empty = true
;; Set to true to enable voting features.
;; true|false
vote_enabled = true

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

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

Expand All @@ -66,6 +76,10 @@ console_enabled = true
;; true|false
; steam_group_only = false

;; When this is set to true, admins of the steam group specified in steam_group_id will also have admin
;; status on the server.
; steam_group_admins = false

[SHARD]
;;; [CHANGE THIS]
;;; Optimally a randomly generated key
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Don't Starve Together - Dedicated Server

[![Automated Docker Builds](https://img.shields.io/docker/automated/mathielo/dst-dedicated-server.svg)](https://cloud.docker.com/repository/docker/mathielo/dst-dedicated-server)
[![Docker Build State](https://img.shields.io/docker/build/mathielo/dst-dedicated-server.svg)](https://cloud.docker.com/repository/docker/mathielo/dst-dedicated-server)
[![Docker Image Pulls](https://img.shields.io/docker/pulls/mathielo/dst-dedicated-server.svg)](https://cloud.docker.com/repository/docker/mathielo/dst-dedicated-server)
[![License: MIT]( https://img.shields.io/github/license/mathielo/dst-dedicated-server.svg)](https://github.com/mathielo/dst-dedicated-server/blob/master/LICENSE.md)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-round)](http://makeapullrequest.com)

DST Dedicated Server Guide for all platforms (Linux, Mac, Windows) with Docker.

The purpose of this project is to have DST servers up and running with the **bare minimum** necessary setup.
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'
services:
dst_caves:
container_name: dst_caves
image: mathielo/dst-dedicated-server:0.3.0
image: mathielo/dst-dedicated-server:0.3.1
ports:
- 10998:10998/udp
networks:
Expand All @@ -17,7 +17,7 @@ services:

dst_master:
container_name: dst_master
image: mathielo/dst-dedicated-server:0.3.0
image: mathielo/dst-dedicated-server:0.3.1
networks:
- dst_cluster
ports:
Expand Down
2 changes: 2 additions & 0 deletions docs/ClusterToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ For this project, the `cluster_token.txt` file is located in `DSTClusterConfig/c

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

```
TheNet:GenerateClusterToken()
```

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

0 comments on commit 7ace189

Please sign in to comment.