Dont Starve Everything You Need to Know

Don't Starve Together - Defended 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 accept DST servers upwardly and running with the bare minimum necessary setup.

README in other languages

  • README in Chinese

Installation

Any Os that supports Docker tin 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 nine. Instructions volition exist focused on Linux - only it should exist easy to adapt to any other Os.

Installation Overview

Essentials

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

  • Prepare the host
    • Install Git
    • Install Docker
  • Setup the server
    • Server files (clone this repository)
    • Generate cluster_token.txt
  • Manage the server (how to start, save and stop)
  • Basic settings setup (server name, countersign, etc.)

Optionals

Enhance your server by customizing it to your liking!

  • Customize your server
    • Tweak server settings (game mode, max players, Steam Group, description, etc.)
    • World Settings (World Size, Seasons, Difficulty, etc)
    • Install Mods
    • Set Admins, Bans and Whitelisted Players
  • How to optimize your DST Server Performance

Ready the Host

Read virtually server performance for useful tips to make the best use of your resource! That might also assistance you to pick a host machine if you lot're unsure about information technology.

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 ain sudoer user and perform all the steps logged as it. Running everything as root user will probably render you permissions issues downward the road.

  • Docker Engine CE
  • Docker Etch
  • Important: Read through and follow the 👉 postal service-installation steps for Linux 👈
    • Enable your user to manage docker without the demand of sudo
    • Configure Docker to start on boot

Mac Bone / 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 domicile folder:

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

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

Come across 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.

Bank check the detailed instructions to generate a cluster token. After you go it, brand sure to delete everything from this file and leave only your cluster token there, without whatever spaces or anything else.

Y'all tin can easily practice that replacing InsertYourTokenHere in the following command and executing it in your server:

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

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

🌈 Done! Yous are set up to beginning your server and play!

Manage the Server

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

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


Customize the Server and Globe

The files listed below are the ones y'all'll likely exist tweaking to customize your server and earth to your likes.

🚨 Changing any files other than the ones listed below is only brash 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

  • DSTClusterConfig/cluster.ini

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

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

👮 Please handle with care. There are sections where [ Modify THIS ] denotes places y'all should change. At that place are also smaller secitions which should not be touched as it might compromise the communication betwixt Chief <-> Caves shards.

By default the server will autosave in one case every game day (autosaver_enabled = true).

The Earth

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

  • DSTClusterConfig/Primary/leveldataoverride.lua
  • DSTClusterConfig/Caves/leveldataoverride.lua

You may tweak them as much as you similar, granted that the cave 1 always have these divers:

              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 yous're after, the (admin|block|white)list.txt files can be found within the DSTClusterConfig/ folder.

Yous can discover detailed information and a consummate guide in the Setting Admins, Bans and Whitelisted Players docs.


Contributing

Contributions and feedback are always welcome! Feel free to open up an consequence or a pull asking with improvements!

References

  • How to setup defended server with cave on Linux
  • Dedicated Server Settings Guide
  • Dedicated Server Command Line Options Guide

Other links

  • Thread in Klei forums
  • Steam Guide

ashleyitth1978.blogspot.com

Source: https://github.com/mathielo/dst-dedicated-server

0 Response to "Dont Starve Everything You Need to Know"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel