October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

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

Don’t Starve Together has no built-in dedicated-server auto-update switch. Use a checked SteamCMD script plus cron or Task Scheduler, and restart the server so Workshop mods refresh.
Length9 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Don’t Starve Together dedicated servers do not provide a built-in auto-update or scheduled-restart switch. To keep the game files current, run SteamCMD from an external script and schedule that script with cron on Linux or Task Scheduler on Windows. The script must stop the server, run SteamCMD, verify that SteamCMD succeeded, and start the server again. Workshop mods are refreshed when the server starts, so a restart is also required before a downloaded mod update is used.

What “auto-update” means for a DST server

There are two separate update jobs:

  • Game files: SteamCMD checks and installs the current dedicated-server build.
  • Workshop mods: The dedicated server downloads or updates the Workshop IDs listed in dedicated_server_mods_setup.lua during startup.

Neither job is continuously applied to a running process. Updating files underneath an active server does not replace the binaries or Lua files already loaded in memory. The practical sequence is therefore stop, update, start. If the server is never restarted, a mod update downloaded to disk will not affect the current session.

As an Amazon Associate I earn from qualifying purchases.

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

Community guidance found for this subject is mostly from Klei forum discussions and hosting guides, and several references are older. No current official Klei statement confirming every timing detail was verified, so treat the procedure below as a robust operational pattern rather than a promise that a particular script is supported by Klei.

Recommended design: one controlled update-and-restart job

Put all update logic in one script and let the scheduler invoke it. This is safer than placing a bare SteamCMD command in cron because the script can coordinate the server shutdown, prevent overlapping runs, record logs, and refuse to restart after a failed update.

#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.

The job should do these things in order

  1. Acquire a lock so two scheduler invocations cannot update the same installation at once.
  2. Ask the server to stop cleanly, or call the service manager that owns it.
  3. Run SteamCMD against the same install directory used by the server.
  4. Check SteamCMD’s exit status and log output.
  5. Start the server only when the update command completed successfully.
  6. Leave a clear error and notification path when SteamCMD fails.

Older community scripts commonly restart even after an unsuccessful SteamCMD call. That can leave the installation on its previous build, or leave an operator believing that an update happened when it did not. Checking the result is the most important improvement to make.

Linux setup with SteamCMD and cron

1. Prepare a stable installation

  • Install SteamCMD using your distribution’s package method or Valve’s documented Linux package.
  • Choose one absolute directory for the DST server files, such as /srv/dst, and use that directory for both SteamCMD and the launch service.
  • Run SteamCMD and the server under a dedicated, non-root account.
  • Make sure the account can write the install directory, shard save directories, mod cache, and log directory.
  • Back up shard data and configuration before enabling unattended restarts.

The Steam application ID for the dedicated server is 343050. A normal anonymous install or update command has this form:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
steamcmd +login anonymous +force_install_dir /srv/dst +app_update 343050 +quit

Use the same install path in your launch service. Updating one directory while starting a different copy is a common reason an apparently successful update changes nothing.

2. Separate start and stop operations

Create a tested start wrapper and a tested stop wrapper before automating anything. The wrappers may call systemd, a screen or tmux session, or your existing DST launch script. Keeping those details outside the updater makes the updater easier to audit.

For a systemd-managed server, the conceptual operations are:

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.
sudo systemctl stop dst.service
steamcmd +login anonymous +force_install_dir /srv/dst +app_update 343050 +quit
sudo systemctl start dst.service

Run each command manually first. Confirm that the service is fully stopped before SteamCMD begins; otherwise files can remain locked or the running process can continue using old code.

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

3. Add error handling and a lock

The following pattern shows the important safeguards. Replace the service name and paths with the values used by your installation.

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

DST_DIR=/srv/dst
LOCK_FILE=/run/lock/dst-update.lock
LOG_FILE=/var/log/dst-update.log

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

{
  printf '%s stopping servern' "$(date -Is)"
  systemctl stop dst.service || exit 10

  printf '%s updating game filesn' "$(date -Is)"
  if ! steamcmd +login anonymous +force_install_dir "$DST_DIR" +app_update 343050 +quit; then
    printf '%s SteamCMD failed; server remains stoppedn' "$(date -Is)"
    exit 20
  fi

  printf '%s starting servern' "$(date -Is)"
  systemctl start dst.service
} >>"$LOG_FILE" 2>&1

This example deliberately leaves the server stopped when SteamCMD returns an error. That is safer than silently launching a partially updated installation. You can add an alerting command at the failure branch, but do not remove the failure check.

4. Schedule the script

Edit the cron table for the account that owns the server:

crontab -e

A frequently cited community pattern runs an update check about every minute. That is technically possible, but it can create needless SteamCMD activity and repeated maintenance attempts. A five- or fifteen-minute interval is usually easier on the host while still making updates available promptly. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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
*/15 * * * * /usr/local/sbin/dst-update.sh

Use an absolute path to the script and to SteamCMD where possible. Cron has a minimal environment, so a command that works in an interactive shell may fail when scheduled. Redirect output to a persistent log, and rotate that log so a long-running server does not fill its disk.

5. Test the complete cycle

  1. Run the updater manually as the same account cron will use.
  2. Watch the service stop and confirm that no DST server process remains.
  3. Check SteamCMD’s output and the updater log for a successful completion.
  4. Confirm that the service starts and that both Master and Caves shards load.
  5. Run the script a second time. The lock and idempotent SteamCMD call should make this harmless.
  6. Simulate a SteamCMD failure, such as temporarily blocking its network access, and verify that the script records the error and does not claim a successful update.

How mod updates work

List mods in the setup file

Workshop IDs are listed in dedicated_server_mods_setup.lua. At server startup, DST reads that list and downloads or updates the corresponding mod files. This startup download is why a game update script that never restarts the server will not apply new mod versions.

Enable each mod on each shard

Downloading a Workshop item does not enable it. Each shard has its own modoverrides.lua, so a mod used by both Master and Caves needs an entry in both shard configuration directories. A server can therefore show a mod in its downloaded cache while the mod remains inactive in one or both shards.

Keep the configuration consistent when adding or removing a mod: update the Workshop ID list, add the appropriate modoverrides.lua entries, and restart the server so the download and load occur together.

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

Be cautious with ForceEnableMod

Community sources disagree about using ForceEnableMod in modsettings.lua as an alternative to shard-level overrides. Reports indicate that this approach may force a mod on but does not provide the normal way to change that mod’s settings. For configurable mods, explicit modoverrides.lua entries per shard are the less ambiguous approach.

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

Validate Lua files before an unattended restart

A malformed dedicated_server_mods_setup.lua can prevent the server from starting; one commonly reported failure is a loader error followed by shutdown. Keep a known-good backup, make one change at a time, and inspect the startup log after every configuration edit. Automation cannot repair a syntax error; it will simply repeat the failed start at the next scheduled run.

Windows automation

Windows also has no built-in DST server auto-update control. Community scripts generally combine the game update and mod refresh by stopping the server, invoking SteamCMD, checking the result, and starting the server again.

Use Task Scheduler for the trigger

  1. Create a PowerShell or batch updater that calls your tested stop operation.
  2. Run SteamCMD with the DST install directory and application ID 343050.
  3. Check the process exit code before starting the server.
  4. Write a timestamped log to a directory that the service account can modify.
  5. In Task Scheduler, create a task that runs whether the account is logged on or not, with “Run with highest privileges” only if your service actually requires it.
  6. Set a repeat trigger, such as every 15 minutes, and configure a timeout so a hung SteamCMD process cannot overlap the next run.

Do not rely on a window title or a manually opened console as the only way to determine whether the server stopped. A service wrapper, PID check, or explicit stop command is more reliable. As on Linux, a failed SteamCMD step should be visible in the log and should not be followed by an unconditional restart.

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

Restart strategies and their trade-offs

Approach Updates game files Refreshes mods Restarts automatically Main risk
Linux cron plus SteamCMD script Yes Yes, when the script restarts the server Yes, if the script includes stop/start A weak script can restart after a failed update
Windows Task Scheduler script Yes Yes, when the script restarts the server Yes, if implemented Task permissions, paths, or process detection can be wrong
SteamCMD update without restart Files only No active-session change No Running server continues using already loaded files
Crash watchdog No Only if startup performs the mod update Relauch after a crash It is recovery logic, not an update mechanism

A watchdog is useful for recovering from crashes, but it should not be confused with scheduled maintenance. A watchdog that immediately relaunches a server after a bad configuration can create a restart loop. Keep update scheduling and crash recovery as separate decisions, and impose a retry limit or backoff on the watchdog.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Steam build numbers are not DST version numbers

Some community scripts query SteamCMD for the latest build and compare that value with a local version file. A reported limitation is that Steam’s build number is not the same thing as the version number shown in Klei’s version file. Do not compare the two as if they were interchangeable. For a reliable update decision, let SteamCMD perform its normal app update operation and use its exit status and output, rather than inventing a cross-format version comparison.

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.

Troubleshooting

The server never updates

  • Confirm that the scheduler runs under the account that owns the installation.
  • Check that the updater points to the same directory used by the launch service.
  • Read the cron, Task Scheduler, and SteamCMD logs rather than relying on the server console.
  • Verify network access, disk space, and write permissions.
  • Check whether an earlier run still holds the lock or left a stale service state.

SteamCMD fails and the server stays offline

This is the expected safe outcome of the example script. Resolve the SteamCMD error, run the update manually, and start the service only after confirming that the installation is intact. If your policy requires the server to remain available, implement a clearly logged rollback or a start-with-previous-files procedure instead of blindly starting after failure.

Mods download but do not appear in game

  • Verify the Workshop ID is present in dedicated_server_mods_setup.lua.
  • Check the relevant shard’s modoverrides.lua; Master and Caves are separate.
  • Restart the server after the mod changes.
  • Inspect startup logs for dependency, version, or Lua syntax errors.

The server shuts down immediately after an automated restart

Inspect the first startup error, not only the final shutdown line. A malformed mods setup file is one documented cause. Other common operational causes include starting under a different account, using a different save-root path, or launching before the previous process has fully exited. Disable the scheduler temporarily, correct the configuration manually, and only then resume unattended runs.

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.

Players are interrupted too often

SteamCMD checks can be frequent, but applying an update requires a restart. Schedule the job during a maintenance window, announce the expected interruption, and choose an interval that balances update speed with session stability. The server cannot apply a binary or mod update without ending the current process.

Operational checklist

  • SteamCMD and DST use one consistent install directory.
  • The updater runs as a dedicated non-root or service account.
  • A lock prevents overlapping executions.
  • The server is fully stopped before SteamCMD writes files.
  • SteamCMD’s exit status is checked.
  • A failed update is logged and does not trigger an unconditional start.
  • Both shards’ mod overrides are maintained where required.
  • Configuration and save data are backed up.
  • Logs are retained and rotated.
  • The complete stop-update-start cycle has been tested manually.
  • A watchdog, if used, has retry limits and is not mistaken for an updater.

What you can and cannot automate

You can automate SteamCMD checks, game-file installation, server restarts, startup mod downloads, logging, and failure notifications. You cannot make a running DST process adopt new binaries or mod code without restarting it. There is also no built-in DST setting identified in the available community guidance for a scheduled restart; that behavior belongs in cron, Task Scheduler, a service manager, or an external watchdog.

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 quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
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.