Now Automatic updates
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.