(Updated 04/03/2015)
- Rank: #226, Players: 57/450, Address: 51.81.48.3:28070, Status: online, Location: United States.
- Rust Server Hosting. We run the highest quality rust server hosting service ever made. By renting a server from us, you'll know for sure it will be reliable, lag free, easy to use and that we're here to help 24/7. Many people choose to trust us as their server host because of how easy and user friendly our control panel is, even true beginners.
How to Set Up a Rust Server - Originally “How to Set Up a Rust Experimental Server” - Click the logo if you’re looking for an excellent hosting service. For your Rust and gaming needs! This tutorial is meant for Windows-based hosting. All files and instructions will follow procedures meant for Windows operations. What you’ll need.
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)
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
// 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%
Images For Rust Experimental Servers
You can get the Steam 64 bit ID from here http://steamidconverter.com/
More Images For 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”