In this modern age of online gaming, server hosting has become a crucial step in ramping up your gaming presence. If you’re looking at having a lot of customization power and freedom for your RUST game, you might want to set up your very own Rust server.
Below are the basic measures for the installation and setup, follow the steps and you will learn how to setup a rust server in no time. In order to follow this guide, you must be a bit tech-savvy, if you would prefer to rent a RUST server from a company you should check out the list of the best rust server hosting companies.
Prior to any software installation, you have to first know the kind of system requirement it needs and whether your computer is able to meet it. The rust server generally needs the backing of:
- The latest operating system
- From 2 GB RAM to 7 GB RAM (depending on the number of entities you add).
Install and update SteamCMD
For games, like rust which uses the SteamPipe content system, the SteamCMD is employed for install and update of the rust server. Before downloading SteamCMD, you need to first follow these steps.
- Create a new folder for SteamCMD. Name it as c:\steamcmd (or any other you wish).
- Create another separate folder for the server. Using it as an example, we’ll name this folder as c:\rustserver.
- Download SteamCMD
- Start extracting the contents of the zip file into the steamcmd folder.
Finish it off by executing the steamcmd.exe program.
Once you approve SteamCMD to run on your computer, it’ll automatically download, install, as well as update its latest version. After this, you’ll receive the Steam>prompt
Rust server installation
Two options are available when creating a rust server. You can either login directly to your steam account (though creating a new steam account is suggested for you to ensure extra security) or log in anonymously. Both require different commands.
To login to your account, enter this command through the steam>prompt
To login anonymously, enter this command through the steam>prompt
Modify the branch
To make a change to the staging branch of rust there are basically two options.
The first allows you to continuously receive recent updates for the game. For this branch, modify your command prompt to:
app_update 258550 – beta staging
The second allows you to receive any future or work-in-progress updates for your game. For this, modify your command prompt to:
app_update 258550 – beta prerelease
Run and configure the rust server
It’s very crucial for you to have your server up and running. So, in order for you to run the server, you need to first create a batch script file.
A batch script is just a text file that contains a list of commands which are programming to run it sequentially. You’ll need a batch script for two reasons. To ensure your server is continuously up to date and to make sure it restarts right away when it crashes and doesn’t stay crashed.
The easiest way for implementing this is to make use of a GOTO statement. This statement lets you gain access to parts in your batch script outside of sequence. With this, you can skip bits and pieces of your programming and jump around or “go-to” other parts.
Now let’s begin on how to create this batch script.
· Create a file in the (c:\rustserver) folder which you created earlier
· Name this new file RustServer.bat and right-click the file
· Choose to edit the file to start creating the batch script file
These batch scripts are not identical so you’ll need to modify and configure the lines of programming if you are to get the result you desire at the end. Below is an example of some commands that might be included in the batch script file.
This will stop the console window from displaying commands on the batch file as you execute them.
The “start” point to which the command will loop.
C:\steamcmd.exe +login anonymous +force_install_dir c:\rustserver\ +app_update 258550 +quit
C:\steamcmd.exe +login <username> +<password> +force_install_dir c:\rustserver\ +app_update 258550 +quit
This launches SteamCMD for checking server updates
The following lines contain programming which determines your game aspects like a number of players, world size, as well as other aspects and sets of information like server IP and port.
Opens Unity in non-graphical user interface (non-GUI) mode.
Sets your server IP.
Sets the port your server will use.
+server.level “<Map Type>”
Sets the map type which your server will be using. Inputs include “Procedural Map”, “Barren” and more.
The shape of procedural maps and barren maps are controlled by server seed. (used alongside +server.worldsize).
Used alongside +server.seed and controls map shape.
This controls player count and connection to your server.
Sets the number of seconds it takes for your server to save. (Replace the # with the number of seconds).
This is the refresh rate of the server.
Useful in running a multiple of server instances.
+server.hostname “Your Server Name”
Displays your server name.
Sets RCON IP.
Write the port to listen for RCON.
Connect to your server
Run the Rust client, press F1 then go to client console. Assuming you’ve used a port of 28015 by default, enter the given command to connect to the Rust server:
If you’ve used another port, change it.
We hope this guide has helped you learn how to setup a RUST server, if you get stuck or require any help, head over to our contact page and shoot us an email. We will try to respond to you ASAP.