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.
- 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)
- Clone or copy this repository to your server.
- Edit
config/config.propertiesto match your environment and preferences. - Run the setup script as root or with sudo:
./setup.sh
- 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/ - Switch to the DST user and start the server:
su <DST_USER> cd ~/<DST_SCRIPT_PATH> ./start.sh
For detailed usage, script explanations, and troubleshooting, see the following:
- help.md (English)
- help-zh.md (中文)
scripts/— All management and helper scriptsconfig/— Configuration fileslog/— Log files (local)docs/— Documentationlang/— Language .properties files for multi-language prompt support
This project is licensed under the MIT License. See the LICENSE file for details.