All Projects → mathielo → Dst Dedicated Server

mathielo / Dst Dedicated Server

Licence: mit
Don't Starve Together dedicated server guide for all platforms (Linux, Mac, Windows) with Docker. Extensive documentation covering mods installation, server config and performance, world generation and setting up admins.

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to Dst Dedicated Server

Mmo Server
Distributed Java game server, including login, gateway, game demo
Stars: ✭ 114 (-39.04%)
Mutual labels:  game, game-server
Kudos
Kudos is a simple, high-performance, easy to expand and easy to deploy distributed game service framework based on microservice architecture, It is based on RPC of rpcx, supports pomelo communication protocol and can be easily applied to game development.
Stars: ✭ 132 (-29.41%)
Mutual labels:  game, game-server
Paradoxgameconverters
Various converters between different grand strategy games
Stars: ✭ 126 (-32.62%)
Mutual labels:  game, mod
Docker Trino Cluster
Multiple node presto cluster on docker container
Stars: ✭ 81 (-56.68%)
Mutual labels:  cluster, docker-container
Carmelo
Carmelo is a fast, scalable Java server framework designed for online games. It uses Netty and Fastjson for highly efficient network transmission and supports both TCP/HTTP protocols.
Stars: ✭ 148 (-20.86%)
Mutual labels:  game, game-server
Azerothcore Wotlk
Complete Open Source and Modular solution for MMO
Stars: ✭ 1,330 (+611.23%)
Mutual labels:  game, game-server
F4mp
Stars: ✭ 130 (-30.48%)
Mutual labels:  game, mod
Racingworld
💥 A multiplayer online 3D game about racing 💥
Stars: ✭ 50 (-73.26%)
Mutual labels:  game, game-server
Wog
In the Wake of Gods 3.59 alpha
Stars: ✭ 139 (-25.67%)
Mutual labels:  game, mod
Kaetram Open
An open-source 2D HTML5 adventure based off BrowserQuest (BQ).
Stars: ✭ 138 (-26.2%)
Mutual labels:  game, game-server
Bige
游戏服务器框架。
Stars: ✭ 76 (-59.36%)
Mutual labels:  game, game-server
Zero
A Lightweight Socket Service with heartbeat, Can be easily used in TCP server development.
Stars: ✭ 161 (-13.9%)
Mutual labels:  game, game-server
Linkermod
Enhancements for Black Ops' modtools
Stars: ✭ 63 (-66.31%)
Mutual labels:  game, mod
Haxegon
A haxe programming library for beginners. Powered by OpenFL and Starling.
Stars: ✭ 182 (-2.67%)
Mutual labels:  game, mac
Ggapp
A game server example,base on gg+skynet
Stars: ✭ 62 (-66.84%)
Mutual labels:  game, game-server
Warzone2100
Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
Stars: ✭ 2,094 (+1019.79%)
Mutual labels:  game, mac
Ksync
Sync files between your local system and a kubernetes cluster.
Stars: ✭ 1,005 (+437.43%)
Mutual labels:  cluster, docker-container
Forgottenserver
A free and open-source MMORPG server emulator written in C++
Stars: ✭ 1,024 (+447.59%)
Mutual labels:  game, game-server
Rhisis
Rhisis is an experimental FlyFF MMORPG emulator built with C# 9 and .NET 5
Stars: ✭ 132 (-29.41%)
Mutual labels:  game, game-server
Factorioclusterio
internet communication for factorio mods
Stars: ✭ 147 (-21.39%)
Mutual labels:  game, mod

Don't Starve Together - Dedicated Server

Automated Docker Builds Docker Build State Docker Image Pulls License: MIT PRs Welcome

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.

README in other languages

Installation

Any OS that supports Docker can run the dedicated server.

💡 Linux is the recommended OS to host the containers for better performance gains

This project was deployed and tested using Debian 9. Instructions will be focused on Linux - but it should be easy to adapt to any other OS.

Installation Overview

Essentials

These are the minimum required steps to have a server running:

Optionals

Enhance your server by customizing it to your liking!


Prepare the Host

Read about server performance for useful tips to make the best use of your resources! That might also help you to pick a host machine if you're unsure about it.

Install Git

sudo apt-get install git

Install Docker

Linux

Follow the official docs to install Docker on Linux. At first glance it might seem complicated, but the instructions are very detailed and thorough:

👮 Make sure you have your own sudoer user and perform all the steps logged as it. Running everything as root user will probably render you permissions issues down the road.

Mac OS / Windows

You only need the Docker desktop standalone as it has everything you need, no extra steps required.

Prepare the dedicated server

Clone this repository in your home folder:

cd ~ && git clone https://github.com/mathielo/dst-dedicated-server.git

👮 Do not sudo git clone or your might run into permission issues 👼

See more info in Managing the Server.

Generate cluster_token.txt

⚠️ The cluster token is stored in the DSTClusterConfig/cluster_token.txt file and without it your server won't run.

Check the detailed instructions to generate a cluster token. After you get it, make sure to delete everything from this file and leave only your cluster token there, without any spaces or anything else.

You can easily do that replacing InsertYourTokenHere in the following command and executing it in your server:

echo 'InsertYourTokenHere' > ~/dst-dedicated-server/DSTClusterConfig/cluster_token.txt

🔐 The account that generates the token automatically gains admin access in-game, meaning you can rollback, regenerate the world or use console commands while playing.

🌈 Done! You are ready to start your server and play!

Manage the Server

You should now have everything you need to start playing! See the full docs on how to manage your server to learn how to start, save the game and stop the server.

Keep on reading to learn how to 👇 customize the server 👇 and install mods to your liking!


Customize the Server and World

The files listed below are the ones you'll likely be tweaking to customize your server and world to your likes.

🚨 Changing any files other than the ones listed below is only advised if you know what you're doing.

DSTClusterConfig/
  Caves/
    leveldataoverride.lua
  Master/
    leveldataoverride.lua
  mods/
    dedicated_server_mods_setup.lua
    modoverrides.lua
  adminlist.txt
  blocklist.txt
  cluster.ini
  whitelist.txt

The Server

This file holds server attributes, such as max_players, pause_when_empty, cluster_intention - and many others 🔗.

💡 On your first setup it's important to change at least the cluster_name and cluster_password to be able to identify and join your sever from the game's server list.

👮 Please handle with care. There are sections where [ CHANGE THIS ] denotes places you should change. There are also smaller secitions which should not be touched as it might compromise the communication between Master <-> Caves shards.

By default the server will autosave once every game day (autosaver_enabled = true).

The World

Determines the settings for world generation for each shard, respectively:

You may tweak them as much as you like, granted that the cave one always have these defined:

id="DST_CAVE"
location="Cave"

Mods

Check the detailed instructions on how to install, configure and enable mods. 👽

Admins, Bans and Whitelists

If you know what you're after, the (admin|block|white)list.txt files can be found within the DSTClusterConfig/ folder.

You can find detailed information and a complete guide in the Setting Admins, Bans and Whitelisted Players docs.


Contributing

Contributions and feedback are always welcome! Feel free to open an issue or a pull request with improvements!

References

Other links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].