Skip to content

Configurations & setup for a Linux-based Don't Starve Together dedicated server.

Notifications You must be signed in to change notification settings

owospace/DST-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

DST-Template

This contains configurations & setup for a Linux-based Don't Starve Together dedicated server.
Setup »



About DST-Template

DST-Template is a repository provided to help manage
the configurations & setup files for the
Don't Starve Together dedicated server.

This will be used to make changes & keep track of the
project in a more organised and managed fashion. You are
more than welcome to fork this project to edit/refactor
for your own usecase. (๑¯ω¯๑)



Getting Started

To get the project installed, follow this simple guide.

Prerequisites:

  We used Debian in this instance.
  https://www.debian.org/download
  We had to do some work arounds for adding multiverse (Ubuntu packages) to Debian.
  https://developer.valvesoftware.com/wiki/SteamCMD#Linux
  https://accounts.klei.com/login

Installation:

  1. Install dependencies:
  sudo apt install libstdc++6 libgcc1 libcurl4-gnutls-dev wget git nano screen
  1. Create & Setup a Server with Klei:
  Go to this page and sign in. (We used Steam in this instance)
  https://accounts.klei.com/login

  Go to the 'Games' tab at the top when signed in.

  Go to 'Game Servers' under 'Don't Starve Together'

  Click 'Add New Server' after entering a random cluster name (Note: Server name is determined by the cluster.ini file.)

  Click configure under your new server. Then download said configuration.
  1. Setup the server configuration:
  Move the 'MyDediServer.zip' file you downloaded to ~/.klei/DoNotStarveTogether/
  
  Unzip the 'MyDediServer.zip' file into ~/.klei/DoNotStarveTogether/ (You should see a new folder)
  1. Navigate to the home directory and install the Dedicated Server:
  Go to your home folder:
  cd ~

  Clone the 'install.sh' file:
  wget https://raw.githubusercontent.com/owospace/DST-Template/master/src/install.sh

  Mark the 'install.sh' file as executable:
  chmod +x install.sh

  Run the install.sh file:
  ./install.sh
  
  This script will automatically download the Don't Starve Together server files.
  1. Clone the DST-Template Repo:
  Clone this repo into the home folder. (~) (You should still be here.)
  git clone https://github.com/owospace/DST-Template
  1. Setup Workshop/Mods (OPTIONAL):
  Setup the workshop content
  cp -R DST-Template/src/dontstarvetogether_dedicated_server/mods dontstarvetogether_dedicated_server/

  Configure your workshop collection/mods (or feel free to use our own Collection!)
  nano ~/dontstarvetogether_dedicated_server/mods/dedicated_server_mods_setup.lua

  -- If using our collection, make sure to copy these two files to enable the mods.
  cp DST-Template/src/.klei/DoNotStarveTogether/MyDediServer/Master/modoverrides.lua ~/.klei/DoNotStarveTogether/MyDediServer/Master
  cp DST-Template/src/.klei/DoNotStarveTogether/MyDediServer/Master/modoverrides.lua ~/.klei/DoNotStarveTogether/MyDediServer/Caves
  
  -- If using your own collection; you will also need to update another file:
  nano ~/.klei/DoNotStarveTogether/MyDediServer/Master/modoverrides.lua

  You will also need to copy this file to the caves instance:
  cp ~/.klei/DoNotStarveTogether/MyDediServer/Master/modoverrides.lua ~/.klei/DoNotStarveTogether/MyDediServer/Caves/modoverrides.lua
  1. Start your Don't Starve Together server:
  Clone the 'start.sh' script:
  wget https://raw.githubusercontent.com/owospace/DST-Template/master/src/start.sh

  Set the 'start.sh' script to be executable:
  chmod +x start.sh

  Run the server:
  ./start.sh
  1. Updating your Don't Starve Together server:
  Clone the 'update.sh' script:
  wget https://raw.githubusercontent.com/owospace/DST-Template/master/src/update.sh

  Set the 'update.sh' script to be executable:
  chmod +x start.sh

  Update the server:
  ./update.sh


Roadmap & Updates

  • Impl a way for Workshop content to be cloned back when updating.
  • Upload our bash scripts to this repo.

Please see the open issues for a list of proposed features (as well as known issues).



Contributing

If you want to make a contribution, please fork the repository & create a pull request. If you have a suggestion you would want to see, you can open a new issue with your request.

  1. Fork the project
  2. Create your Feature Branch (git checkout -b feature/YourFeature)
  3. Commit changes (git commit -m 'This is my feature commit.')
  4. Push to the Branch (git push origin feature/YourFeature)
  5. Open a Pull Request.


Contact & Support



About

Configurations & setup for a Linux-based Don't Starve Together dedicated server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •