Rust Experimental Servers

(Updated 04/03/2015)

So I wanted to host my own Rust dedicated server for ages. Even tried pestering Garry back in the day (sorry for that but your game is awesome)

Rust servers list by versions. 0 / 32 Online: Airdrops Custom Loot Friendly Groups Instant Craft Kits Oxide PvP. Legacy was the game that started all the love but had so many flaws in coding, etc. They stopped adding onto it and started completely remaking the game from scratch again. The new rust 'experimental' actually has a -stable- version that is the new rust which in my opinion is a lot better than legacy but it still needs work.

Anyway: I have a 6 x 2Ghz CPU, 24GB RAM, 100Mbit VPS server that I host all sorts on and its now about to be almost dedicated to Rust. We run windows as we have some applications that require ASP.Net and MS_SQL otherwise this would be linux, so sorry linux people you will need to adapt accordingly for this one.

I’m not going to go through the entire SteamCMD setup as there are plenty of guides online for how to do this. Its simple enough anyway, just download SteamCMD and will a bit of knowledge the scripts attached to this post are pretty self explanatory.


So inside my SteamCMD directory I have 2 files:

update_rust_ds.txt

Rust Experimental Servers

// update_rust_ds.txt
//
login anonymous
force_install_dir C:GameServersRust
app_update 258550 -beta experimental validate
exit

RustUpdate.bat

SteamCmd.exe +runscript C:steamcmdupdate_rust_ds.txt

As you can see these 2 files are very basic and running the RustUpdate.bat file just calls update_rust_ds.bat updating the server. I use this method for a raft of different games and have 2 folders on the desktop with shortcuts for admins to run. Everything on the server runs as either a service or scheduled task.

I really wanted to make this as easy as possible to manage and Facepunches addition of the -autoupdate switch is great, especially with the sheer quantity of updates for rust on a daily basis.

In order to take advantage of the -autoupdate you need to write a bat file that runs the rust server and when rust stops automatically, update and start it back up again.

Took a bit of trial and error but this is my script that I am running in a scheduled task. Its not heavily tested but has been working for the last 4 hours and works in simulations.

autoupdate_run_rust_ds.bat

@echo off
:Restart
c:
cd C:Steamcmd
call “SteamCmd.exe” “+runscript C:steamcmdupdate_rust_ds.txt”
c:
cd C:GameServersRust
call “RustDedicated.exe” -batchmode +rcon.password your-password +server.port “28015” +server.maxplayers 500 +server.secure true +server.hostname “your-hostname” +autoupdate
goto Restart

To make the most out of this you will most likely want to setup a server.cfg file in the Rust Directory that looks a little like this, you can then apply this by adding +cfg server.cfg to the commandline:

Server.cfg

rcon.password %your_password%
server.port “28015”
server.maxplayers 500
server.secure true
server.hostname “RV-Online.co.uk – Wipe 20/10/14 – Active Admins”

And that’s it, you now have an auto updating rust server. You Must check for updates before launching for the first time, hence the script will Update Rust before launching the Dedicated server. This is because the -autoupdate does not look for updates but receives a trigger when an update becomes available.

Just on a side note, I discovered that the rcon.login command has been deprecated in Experimental. As a result you need to add owners and moderators using the OwnerID or ModeratorID commands.

Eg: moderatorID %name% %Steam64_ID%

You can get the Steam 64 bit ID from here http://steamidconverter.com/

Rust Experimental Servers

Hope this helps, and please come join us on our Rust server RV-Online.co.uk Port 28015. If you cant find us on the server browser you can join by pressing F1 and typing “client.connect rv-online.co.uk:28015”