Now Automatic updates sounds like an amazing way to run a server. However, if you’re modded you have to wait for Oxide / uMod so automatically updating is going to be a pain if half of its automated and half of it isn’t. Oxide / uMod isn’t always released at the same time as the normal update – if you just decide to go for it, you’ll have to put up your server vanilla until the other update when Oxide finally releases.

Setting Up

Now you already know how to set up a batch, and we’ve covered how to install your server. Let’s go edit our batch file.

@echo off
cls
:start
C:\<THE LOCATION YOU MADE THE FOLDER IN>\steamcmd.exe +login anonymous +force_install_dir "C:\<THE LOCATION YOU WANT YOUR SERVER IN>" +app_update 258550 validate  +quit
RustDedicated.exe -nographics -batchmode -silent-crashes +server.ip "<SERVERIP>" +server.identity "<SERVERIDENTITY>" +server.port 28015 +rcon.port 28016 +rcon.password "<PASSWORD>" -logfile "ServerLog.txt" +rcon.web true -logfile "output.txt"
goto start

As you can see we’ve added a copy of our update.bat just before the Rust Server would launch, this will now check for an update before EVERY server launch.