Skip to content

LiuXxQAQ/dst-server-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Don't Starve Together Dedicated Server Scripts

English | 中文

This project provides a set of shell scripts to automate the installation, configuration, management, and updating of a Don't Starve Together (DST) dedicated server on Linux.

Forked from cuukenn/dontstarveserver, this project adds mod management and automatic generation of mod setup files. It also improves code readability and introduces multi-language prompts for a better user experience.

Features

  • Automated environment setup and dependency installation
  • User and permissions management
  • Easy server start, stop, restart, and update
  • Mod management and auto-generation of mod setup files (newly added)
  • Support for both Master and Caves shards
  • Cron job support for automatic updates
  • Clear logging and configuration
  • Multi-language prompt support (English/Chinese)

Quick Start

  1. Clone or copy this repository to your server.
  2. Edit config/config.properties to match your environment and preferences.
  3. Run the setup script as root or with sudo:
    ./setup.sh
  4. Create a save with mods in your local machine and move it to the server
    # For example use scp command to move saves and modes:
    scp -r <CLUSTER_PATH>/ <DST_USER>@<HOST>:~/.klei/DoNotStarveTogether/
    
  5. Switch to the DST user and start the server:
    su <DST_USER>
    cd ~/<DST_SCRIPT_PATH>
    ./start.sh

Documentation

For detailed usage, script explanations, and troubleshooting, see the following:

Directory Structure

  • scripts/ — All management and helper scripts
  • config/ — Configuration files
  • log/ — Log files (local)
  • docs/ — Documentation
  • lang/ — Language .properties files for multi-language prompt support

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published