Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk10 min

How to Enable Auto Updates on a Don’t Starve Together Server

Set up reliable Don’t Starve Together server updates with an external SteamCMD script, scheduled execution, restart checks and per-shard mod configuration.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Don’t Starve Together has no built-in switch for automatic dedicated-server updates or scheduled restarts. The dependable pattern is an external script that calls SteamCMD, stops the server, installs the current files, checks the result, and starts the server again. On Linux, cron is commonly used to run that script. Windows administrators use an equivalent scheduled script.

Mods follow a separate rule: the dedicated server downloads or refreshes the Workshop items listed in dedicated_server_mods_setup.lua when it starts. A mod update therefore becomes active only after a restart, and downloading a mod does not enable it on a shard.

As an Amazon Associate I earn from qualifying purchases.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The guidance below reflects Klei community discussions and hosting guides, many of which are older and secondhand rather than a current, definitive Klei manual. Treat paths, service commands and script details as templates to adapt to your installation.

What “auto-update” means for a DST server

There are three separate jobs that are often confused:

#1 Best Overall
Sale
LISEN Retractable Car Charger, 84W Car Charger USB C Fast Charge, 4 in 1 | Cigarette Lighter Adapter, Car Accessories, for Christmas Day Gifts for Men Women Dad Mom, for iPhone 18 Pro Max 17 16 15 14
  • Never Let a Dead Battery Ruin Your Drive. The LISEN 4 in 1 Retractable Car Charger delivers reliable power for your entire journey. Compatible with standard 12V cigarette lighter sockets, it keeps phones, tablets, and devices charged during daily commutes, road trips, and long drives — the perfect practical gift for dads, truck drivers, and anyone who lives on the road.
  • Daily Driver Essential: Always Ready When You Need It. Featuring two retractable cables ( USB C & Old iPhone Charging Cable ) that extend up to 31.5 inches and dual USB ports, this charger solves cable clutter while charging up to 4 devices simultaneously. Ideal for busy fathers, commuters, and families who want a tidy car and never worry about low battery again.
  • Deliver full-speed PD fast charging for iPhone 18 Pro Max & iPhone 18 Pro Max & iPhone 18 Pro right inside your car. The built-in 45W PD USB-C port hits the peak charging speed for these latest iPhone models, juicing up your phone to 50% power in just 15 minutes while you drive.(Note: Maximum 45W PD output is available under 24V vehicle power supply. When used with standard 12V car sockets, the peak output is limited to 36W.)
  • Standard 12V Power Solution: Designed as a dedicated USB power supply for charging devices. Note: Does NOT support CarPlay, Bluetooth, or data transfer. Compatible with most phones, tablets, and small electronics. This retractable charger is a core car organization tool, keeping your vehicle tidy. Not compatible with Micro-USB devices.
  • Clutter-Free Tech Organization: Featuring dual USB ports and retractable cables, the LISEN 4 in 1 charger provides a clean car storage solution. Perfect for truck enthusiasts or as a thoughtful gift for drivers, it supports fast USB-C charging for devices like the iPhone 18Pro & iPhone 18 ProMax. Keep your vehicle organized while ensuring efficient power delivery for all your tech on the road.
  • Game-file updates: SteamCMD downloads a newer dedicated-server build.
  • Mod updates: the server refreshes Workshop content listed in its setup file during startup.
  • Restarts: a process manager, cron job or watchdog stops and launches the server so the new files are loaded.

Don’t Starve Together does not provide one in-game or server-console setting that performs all three. The automation has to live outside the game server. A useful design is therefore:

  1. A scheduler starts an update script.
  2. The script obtains an exclusive lock so two runs cannot overlap.
  3. The script stops the Master and Caves processes cleanly.
  4. SteamCMD installs the server into the existing installation directory.
  5. The script verifies SteamCMD’s exit status and log output.
  6. Only a successful update step is allowed to proceed to startup.
  7. The server launches both shards, and startup refreshes configured mods.

If SteamCMD fails and the script ignores the error, the server can come back on its old files or remain offline. Error handling is not optional.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Linux: build an external update-and-restart job

1. Identify the commands you already use

Before automating anything, write down the commands that reliably start and stop your installation. Keep the Master and Caves shard commands together if you launch them separately. Do not guess at a path or service name: use the same working commands you use manually.

Create a small configuration section in your script for the installation directory, SteamCMD executable, game app ID, log file and the commands that stop and start the shards. Variables make the job portable between machines and avoid hard-coding a particular hosting layout.

2. Make the SteamCMD step explicit

The update operation should be a non-interactive SteamCMD invocation that logs in anonymously (where your installation permits that), installs or updates the dedicated-server files in the configured directory, validates the files if your normal maintenance procedure uses validation, and exits. Use the app ID and install directory already associated with your DST installation.

A generic command shape is:

steamcmd +login anonymous +force_install_dir "$DST_DIR" +app_update "$DST_APP_ID" validate +quit

The variable names above are intentional. Set DST_DIR, DST_APP_ID and the SteamCMD path to the values used by your server. The command is an example of the sequence, not a universal copy-and-paste path for every distribution.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
SINGARO Car Cup Holder Coaster, Silicone Cup Holder Insert, Universal Non-Slip Cup Holders, Car Accessories Interior for Women and Man Interior Sets 4 Pack Black
  • High Quality Material: The coaster is made of environmentally friendly silicone, safe, non-toxic and odorless. Soft with toughness, easily embedded in the cup holder. Very durable, wear-resistant, long service life. High temperature resistance, can withstand 100 ℃ high temperature water cups.
  • Wide Compatibility: The coaster has a diameter of 3.15 inches and a height of 1.18 inches, which is widely used in most vehicles, such as SUV, sedan, MPV, etc., as long as the size fits your car cup holder.
  • Protection Function: Our car cup holder coaster has a carry handle design and a stand-up ring edge on its edge to effectively prevent food crumbs, drinks and water from leaking out and preventing the car cup holder from getting dirty.Meanwhile,Thickened design effectively prevents the cup holder from being scratched by the cup when driving on bumpy roads and eliminates the annoying thumping sound, making your journey more enjoyable.
  • Easy to Use and Clean: With embedded installation, you just need to put it flat on the car cupholder. It is also very quick to remove, there is a small bump on the coaster, pinch it and you can easily remove the coaster. It is very easy to clean, rinse with water or wipe with a wet towel (be careful not to clean with sharp tools).
  • 100% Satisfaction: Our products have quality assurance, if you have questions or are not satisfied after receiving the product, don't worry, please contact us as soon as possible, we provide after-sales service.

3. Add locking and failure checks

Run only one maintenance job at a time. A cron job that starts while the previous SteamCMD process is still downloading can corrupt the operational logic even if SteamCMD itself protects individual files. A lock file or flock is suitable on Linux.

The following skeleton shows the control flow. Replace the four command variables with the commands for your installation:

#!/usr/bin/env bash
set -u

DST_DIR="/srv/dst"
STEAMCMD="/usr/games/steamcmd"
DST_APP_ID="your-configured-dst-app-id"
LOG="/var/log/dst-update.log"
LOCK="/run/lock/dst-update.lock"
STOP_CMD="/usr/local/bin/dst-stop"
START_CMD="/usr/local/bin/dst-start"

exec 9>"$LOCK"
flock -n 9 || exit 0

echo "$(date -Is) update attempt" >> "$LOG"

if ! "$STOP_CMD" >> "$LOG" 2>&1; then
  echo "$(date -Is) stop failed; refusing to update" >> "$LOG"
  exit 1
fi

if ! "$STEAMCMD" +login anonymous +force_install_dir "$DST_DIR" 
    +app_update "$DST_APP_ID" validate +quit >> "$LOG" 2>&1; then
  echo "$(date -Is) SteamCMD failed; server was not confirmed updated" >> "$LOG"
  "$START_CMD" >> "$LOG" 2>&1 || true
  exit 1
fi

if ! "$START_CMD" >> "$LOG" 2>&1; then
  echo "$(date -Is) start failed after successful SteamCMD step" >> "$LOG"
  exit 1
fi

echo "$(date -Is) update and restart completed" >> "$LOG"

This conservative pattern stops the server before every scheduled update attempt. That is simple and makes mod refreshes predictable, but it also creates downtime whenever the job runs. Test it manually first and choose a maintenance interval your players can tolerate.

4. Decide how often to run it

A widely shared Linux approach polls SteamCMD from cron about once a minute. That frequency is an implementation choice, not a DST feature, and it can be unnecessarily disruptive if the script restarts on every run. If you use the conservative skeleton above, schedule it less aggressively or add a tested “new build detected” gate before stopping the server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For example, a cron entry that runs every five minutes is:

*/5 * * * * /usr/local/sbin/dst-update-and-restart

Use an absolute script path, redirect output to a log, and run the job as the same account that owns the server files. Make the script executable and verify that cron has permission to reach SteamCMD, the installation directory and the stop/start commands.

Rank #3
Kaistyle for Magsafe Car Mount【Strong Magnet】 Magnetic Phone Holder for Car Phone Holder Mount Dash Mounted Holders Phone Holders for Your Car Accessories for Women Men for iPhone 18 Pro Max 17 16 15
  • ✅【Designed for Magsafe】 - The most fashionable iphone car mount in 2026 Magsafe is designed for iPhone 18 Pro Max/17/16/15/14/13/12 Pro Max Mini and official Magsafe cases and other magnetic phone cases and can be fixed directly to these phones without the need to affix metal plates. All Android Phones Will Work: Metal rings are provided; they fit cases and other phones without magsafe. Based on Unique Grandmaster Design (Protected by US Design Patent No. US D1,112,194 S)
  • ✅【STRONG MAGNETIC MagSafe Car Mount】 - This powerful magnetic phone holder can create a powerful attraction that firmly supports your device while allowing you to drive without distraction. it easily and securely holds your phone through bumps, sharp turns or even sudden stops, no worrying of dropping your phone.
  • ✅【SUPER STICK FORCE】 - VHB Dash Mounted Holders adhesive provides strong stick force between the dashboard and the car phone holder, which can firmly stick to any plane in the car, fix your device, adapt to a variety of road conditions such as sudden braking, speed bump, and rugged mountain road.
  • ✅【SAFE DRIVING VIEW】 - Mini-size, not taking up space, it is placed in the dashboard without blocking the view at all, and does not need to look down at the device to ensure your safe driving. Cell Phone Car Mount is suitable for most cars, pickups, SUV, taxi; It is the best assistant for Uber and Lyft drivers
  • ✅【360° FREE ROTATION】 - With an adjustable swivel ball joint, you can rotate your smartphone or device at your own will, providing the best viewing angle. Quickly pick and place with one hand, free your hands and make calls and GPS navigation more convenient

5. Test the complete cycle while nobody is playing

  1. Run the script directly from a shell and watch both its log and the server log.
  2. Confirm that both shards stop, SteamCMD exits successfully, and both shards start again.
  3. Join the server and verify that the expected world, settings and mods are present.
  4. Temporarily make the SteamCMD command fail, for example by using an invalid executable path in a test copy, and confirm that the script records the failure instead of reporting success.
  5. Leave the script scheduled only after you know how to restore the server manually.

Do not remove the install/update command from a separate Klei launch script and leave both scripts active. Community guidance for this arrangement specifically warns that the SteamCMD install step should live in the external auto-update script, otherwise two different update paths can race or duplicate work.

Using build checks without confusing version numbers

Some community scripts query SteamCMD app information and compare a stored build identifier with the latest value before deciding whether to restart. That can reduce needless downtime, but there is an important limitation: Steam’s build number is not the same thing as the version number in Klei’s version file. They cannot be compared directly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you implement a gate, compare Steam’s value with a Steam value that your own script previously recorded. Do not read a Klei version string and treat it as a Steam build ID. If the comparison logic is uncertain, the safer fallback is to run SteamCMD, inspect its exit status, and use a maintenance schedule that you have tested.

Mods: update them at startup and enable them per shard

List Workshop items in the setup file

The dedicated server uses dedicated_server_mods_setup.lua to know which Workshop IDs to download. Keep the file syntactically valid and maintain the IDs for every mod that should be available to the server.

A malformed setup file can prevent startup. One documented failure pattern is a loader error followed by shutdown, so validate edits on a staging copy or during a maintenance window rather than changing the file while players are connected.

Understand when a mod update takes effect

Downloading and updating a mod is a startup operation in the community guidance available for DST servers. Mods do not refresh while the server is running. The next successful restart is what causes the server to load the newly downloaded files.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
YGDMD 2PCS Car Seat Gap Filler Organizer,2 in 1 Car Gap Filler (Black)
  • Buyer's Guide: The seat guard for car seat between seat & console measures 15.75*2.7*1.53", suitable for gaps of 1.43-1.53" in width, please double-check carefully the distance between your seat and the center console before placing an order
  • Storage and Filling in One: Differ from traditional single-function gap fillers, gap filler for car incorporates storage function, offers you the convenience of storing phones and various other items, so that you can access them at any time while driving
  • Avoid Items Slipping: With the bumps and vibrations of the car, phones, keys may fall into the seat crevices, which is difficult to pick up, and distracts the driver's attention. Car gap seat filler fills gaps seamlessly to create an effective barrier
  • Easy to Install: Car side seat gap filler is easy to install, simply insert it into the gap between the seat and the center console, gap seat filler for car can fit tightly without affecting the normal adjustment of the seat and the use of the seat belt
  • Premium Material: Crafted from premium EVA material, our car seat side gap filler boasts a combination of wear-resistant, softness&durability. Maintenance is effortless, simply rinse and wipe to quickly clean the dust and debris in corners and crevices

This is why a game-file update script that never restarts the shards does not fully automate mod maintenance. Conversely, a restart script that omits the SteamCMD step can reload existing files without obtaining a newer game build.

Enable the mod in each shard’s overrides

Downloading a Workshop item does not enable it. The Master shard and the Caves shard each need the appropriate entry in their own modoverrides.lua. If a mod is intended for both shards, configure both files; configuring only Master leaves Caves without that mod.

Keep the Workshop ID in the setup file and the enablement/settings entry in the correct shard directory. After a restart, inspect each shard log for mod-load errors rather than assuming that a successful download means the mod is active.

Be cautious with force-enable alternatives

Community sources disagree about using ForceEnableMod in modsettings.lua as an alternative to shard-specific overrides. Reports also say that force-enabling this way does not permit normal mod-setting changes. Because the behavior is disputed, use the documented per-shard modoverrides.lua configuration when you need predictable settings, and test any force-enable method on a disposable world before using it on a live server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Windows: schedule the same sequence

Windows community scripts commonly combine game and mod maintenance, but the underlying sequence is the same as on Linux:

  1. Stop both shards and wait until their processes have exited.
  2. Run SteamCMD against the existing installation directory.
  3. Check the process exit code and capture the SteamCMD log.
  4. Start the shards again only when the update step completed as expected.
  5. Let startup download or refresh the mods listed in dedicated_server_mods_setup.lua.

Use Windows Task Scheduler to launch the script under the account that owns the server files. Configure “Start in” or equivalent working-directory settings so relative paths in your launch commands resolve correctly. Set the task to avoid overlapping instances, and test what happens after a reboot and after a failed SteamCMD run.

Best Value
Stacool Upgraded Car Center Console Cover,Microfiber Leather Car Armrest Cover Cushion with 2 Storage Bags,Universal Car Armrest Storage Box (Black)
  • 🔰 UPGRADED SIDE STORAGE DESIGN - Our console cover is thinner than the old one, universal for all seasons. There is an 8.66*5.12 inch storage pocket design on each left and right side, expanding the storage space, convenient and practical. Meet the storage needs of the main passenger seat, you can store your cell phone, keys, tissues, ID and some other small daily items.
  • 🔰 PREMIUM MICROFIBER LEATHER MATERIAL - This car center console cover is made of quality microfiber leather material, soft and skin-friendly touch. Exquisite and fashionable diamond shaped stitching, every detail is in place. Inside the car center console cover is made of thickened memory foam, even after squeezing, it can slowly recover to its original shape.
  • 🔰 RELIEVE DRIVING FATIGUE - The arm rest cover for car adopts ergonomic design, giving just the right amount of arm support, effectively dispersing elbow pressure and relieving driving fatigue. Protect your car's center console from getting dirty or scratched. Especially suitable for long time driving or long distance traveling, bringing you a new experience of relaxation and comfort!
  • 🔰 NON-DESTRUCTIVE INSTALLATION - This car console cover is designed with an elastic band for a firm fit and not easy to shake. And the back side is full of protruding dots, which can effectively avoid the armrest cover from slipping and shifting. All you need to do is to open the center console cover, put the elastic band directly into the cover and then close it.
  • 🔰 BUYER'S GUIDE - You will receive a car armrest storage box with the size of 12.13*7.80 inch, please measure the size of your car's armrest storage box before you buy. We have prepared five simple and beautiful colors for you, you can choose according to your own preferences. Suitable for most of the vehicles on the market, such as car, truck, SUV, RV, van, etc.

A batch or PowerShell script should treat a non-zero SteamCMD exit code as a failure. Record standard output and error in a dated log, and make the script’s final status visible to Task Scheduler. If your script starts the server after a failed update anyway, label the log clearly so an old build is not mistaken for a current one.

Automatic restart versus crash recovery

An update script can restart a server on a schedule, but that is not the same as a watchdog. A watchdog watches the running process and relaunches it after a crash. Neither behavior is built into the DST dedicated server according to the sources reviewed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can keep the responsibilities separate:

Component Purpose Typical trigger Important check
SteamCMD update job Fetches newer game files Scheduled maintenance run SteamCMD exit status and log
Restart portion of the update script Loads new game and mod files After a successful update Both shards reach a running state
Watchdog Recovers from a crash Process exit or health check Avoid restart loops and preserve logs

Do not let a watchdog hide update failures. If SteamCMD fails, the update job should report that fact even if a watchdog later brings the old server process back online.

Failure modes and recovery

The server never restarts after scheduling

  • Run the script manually as the scheduler’s account; cron and Task Scheduler often have a smaller environment than an interactive shell.
  • Replace relative paths with absolute paths.
  • Check execute permissions, working directory and ownership of the installation.
  • Inspect the scheduler history and the script log.

SteamCMD reports an error

Do not delete the installation or repeatedly restart it blindly. Read the SteamCMD output, verify network access and disk space, and run the same command manually. Keep the server stopped only as long as necessary to diagnose it; if your script’s policy is to bring the old installation back online after a failed update, make that recovery explicit in the log.

The game starts but a mod is missing

  • Confirm the Workshop ID is present in dedicated_server_mods_setup.lua.
  • Confirm the corresponding modoverrides.lua entry exists in the shard that needs it.
  • Check both Master and Caves independently.
  • Restart after the download; a running process will not hot-update the mod.
  • Look for syntax or loader errors in the shard log.

A malformed setup file causes an immediate shutdown

Restore the last known-good dedicated_server_mods_setup.lua, validate its Lua syntax, and start without the newest edit. Add changes one at a time so the offending line or Workshop entry is identifiable.

The server keeps restarting

Check whether cron or Task Scheduler is launching a second copy before the first has finished. Confirm that the lock works, that the stop command waits for both shards, and that a watchdog is not interpreting a normal scheduled stop as a crash. Separate update logs from runtime logs so you can see which component initiated each restart.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choosing an automation pattern

Pattern Platform Updates game files Refreshes mods Restart behavior Main risk
External SteamCMD script plus cron Linux Yes At the following startup Usually stop, update, start A failed SteamCMD step can leave the server un-updated if unchecked
Scheduled batch or PowerShell script Windows Yes At the following startup Script-defined Incorrect working directory, permissions or exit-code handling
Watchdog only Linux or Windows No No Relaunches after a crash Can mask failures and create restart loops
Manual SteamCMD update Any Yes Only after a manual restart Administrator-controlled Easy to forget, but simplest to audit

The first two patterns are the ones that provide automatic game updates. A watchdog is complementary, not a substitute. Whichever pattern you choose, keep a manual start and rollback procedure documented.

A practical operating checklist

  • Back up shard data and configuration before changing the updater.
  • Keep the SteamCMD executable, game directory and launch commands in one documented configuration.
  • Use a lock to prevent overlapping runs.
  • Stop every shard before replacing files.
  • Capture SteamCMD output and test its exit status.
  • Do not compare Steam build IDs with Klei version-file numbers.
  • Start both shards only after the update step has completed or after an explicit recovery decision.
  • List Workshop IDs in dedicated_server_mods_setup.lua.
  • Enable each required mod in the correct shard’s modoverrides.lua.
  • Expect mod changes to require a restart.
  • Review logs after every automated run and investigate any loader, download or startup error.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.