How to make a Rust server

How To Host a Rust Server


Rust server hosting can be intimidating at first, This installation guide will cover provide information on how to install a dedicated Rust Server on a Windows host machine. This guide proceeds under the assumption that you have a windows based operating system and a good understanding of the technical side of computing.

Want to skip this guide? Check out our premium service!

Like this guide? Check out our other guides via our Rust Knowledge Base!


If you're a new user who just signed up for our services, you can ignore this guide! You're ready to play Rust!


I. Prerequisites

  • SteamCMD must be installed. See the link for platform specific installation.
  • Hosting hardware should have a minimum of 6gb of ram, with a recommended 8gb capacity if available. 
  • A dual core or higher cpu is required for smooth play (Intel CPU: i7 / Xeon Recommended).

II. Installation

To begin with this stage, we must determine where rust files will be installed, for the sake of this guide we'll use C:\rust_dedicated\ as our file path. 

Open up SteamCMD and execute this set of instructions:

login anonymous
force_install_dir "C:\rust_dedicated\"
app_update 258550
quit

This will start the Rust Server download from Steam and provide you with the files needed for a basic Rust Server. If you'd like to switch branches for example to the rust beta branch or the pre-release branch you can modify the above script, replacing the line starting with app_update with the following:

For beta: app_update 258550 -beta staging

For prerelease: app_update 258550 -beta prerelease

After this process with SteamCMD has completed we move on to the next step.

 

III. Execution

Next we're gonna need to make a windows batch file script to run your server,  

Go ahead and create "run.bat" in the same folder as "RustDedicated.exe" in the game installation files.

You can then add this to the file:

RustDedicated.exe -batchmode +server.hostname "Rust Server" +server.worldsize 4000 +server.port 28015 +server.level "Procedural Map" +server.seed 1337  +server.maxplayers 10  +server.description "The description shown on server connection window while loading" +server.url "https://www.gameserverkings.com/games/rust-server-hosting/" +server.headerimage "http://yourwebsite.com/serverimage.jpg" +server.identity "myserver"

 

This is the basic script to launch your rust server, for more advanced options you can even create a self updating start script for your rust server that will also reboot the server if it happens to crash, here is an example:

@echo off
:top

C:\steamcmd\steamcmd.exe +login anonymous +force_install_dir C:\rust_dedicated\ +app_update 258550 +quit

RustDedicated.exe -batchmode +server.hostname "Rust Server" +server.worldsize 4000 +server.port 28015 +server.level "Procedural Map" +server.seed 1337  +server.maxplayers 10  +server.description "The description shown on server connection window while loading" +server.url "https://www.gameserverkings.com/games/rust-server-hosting/" +server.headerimage "http://yourwebsite.com/serverimage.jpg" +server.identity "myserver"

goto top

 

 

With that you can run your script and join your rust server!