gongpeione / dst-server-docker

A Don't Starve Server based on docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't Starve Together Server

This is an easy-to-build don't starve together(dst) server based on docker, refer to protometa/dst. You can easily build a dst server(including mod support and caves) by following steps below.

Step 1: Install Docker and Docker compose

The first thing you need to do is install docker and docker compose.

Install Docker

Get Started with docker

Install Docker compose

Install docker compose

天朝用户

天朝用户可以使用Daocloud提供的脚本进行安装

安装 Docker

Step 2: Clone or download project

Clone or download this project.

If you have git enviroment.clone it.

git clone https://github.com/gongpeione/dst-server-docker.git

or

Download master.ip

Step 3: Modify configuration files

server token

Paste your server token in configs/cluster/cluster_token.txt.If you don't know how to get your token,please follow this tutorial 4. Create your cluster_token.txt.

configuration files

Modify configs/cluster/cluster.ini,these items are important:

  • cluster_name Your room's name.
  • cluster_password Your room's password,don't leave it empty if you don't want anybody else enter your dst world.

If you want to know what other items do,read this article Dedicated Server Settings Guide.

mod

Setup mods by modify configs/mods/dedicated_server_mods_setup.lua.You can open this file by any editor to see how to setup mods.And maybe you need to modify configs/cluster/Master/modoverrides.lua and configs/cluster/Caves/modoverrides.lua to make mods work.

Step 4: Start server

docker-compose up -d

and that's it.

docker-compose restart //Update server

Backup Saved Game

You can find your saved game in /var/lib/docker/volumes/dst_storage/_data/.klei/DoNotStarveTogether.

One-click Script for Aliyun

curl -sSL https://raw.githubusercontent.com/gongpeione/dst-server-docker/master/aliyun-init.sh | sh
// Go to Step 3

About

A Don't Starve Server based on docker


Languages

Language:Lua 73.5%Language:Shell 26.5%