Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.97 KB

File metadata and controls

57 lines (43 loc) · 1.97 KB

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.