If you have landed on this page, you are wondering how to create your own server in Rust, as well as how to configure it to work.

Initially, we will talk exclusively about the Steam version of the game, which costs 800 rubles for this period of time, if necessary, it can be simulated on a pirated game. During various holidays make decent discounts. Therefore, we will not consider pirated client-servers much, because Rust is not so expensive. Now let's talk about the purpose of the server in the game itself.

The purpose of your server in the game Rust

  1. With the help of the server, you can play with your friends, where no one will interfere with your gameplay.
  2. For experimental activities, this means that anyone can build houses, traps to test it in real time.
  3. To benefit from this, that is, the creation of a server for the game of dozens of people.

Perhaps there are other reasons why Rust servers Experimental, but these were only the most popular ones.

How to create (make) your Rust Experimental server on Steam

The Rust server is, first of all, an incredibly good place to do a lot of experiments in the game. Where you can look at new updates from a different angle, that is, find out what items have been added to the game, and also check the stability of your own house, which will not be easy to raid. At the same time, the most banal reasons were named for which they create their own server.

It is worth remembering that servers sometimes have their own shops with things where you can buy items for a raid, building a house, weapons and much more, in fact, for real money. In this aspect, there is constant competition, where some people still buy these items.

It is better to play the game process together with friends on other people's servers, because it will add adrenaline and raise team spirit, thereby you will understand that it is better to survive together with friends on other people's servers. But there are also cases when the server is filled not only by ordinary players, but also by cheaters who do not allow you to play normally. If you know how to raise your server from its knees, then feel free to create your own and invite friends there, but do not use admin rights, this will aggravate the situation of other players.

System Requirements for Rust Server Hardware

No matter how ridiculous it may sound, but certain system requirements it is not known which can be recommended to everyone. Where in the equipment the most important element is RAM, which can be the highest in terms of parameters, because when the server is loaded, the entire flow loads the RAM, and then freezes occur on the server. If there are a lot of objects and players on the server, then the load on RAM will only increase. For a full-fledged game, 8 GB of RAM and an i5th processor are suitable, which will stably support your server at the proper level. With this equipment, you are able to withstand an attack of 20 helicopters, while shooting at them from a 15-story building, which will be 15 blocks in diameter. Thus, no hang-ups should occur. As soon as a serious load appears on the server, the RAM begins to use its own strength to the maximum in order to save the server's work. In normal mode, only 4-6 percent of the RAM is used.

Accessibility in the SteamCMD Console

SteamCMD is special utility, which is designed for instant updates of your own servers, and this is done through the client version, using the command line. But initially, in this way, you can install the Rust server itself. Undoubtedly, it is important to download such a console from the official site, and only there you need to download it, because you can catch dangerous viruses. The site itself also has installation information, but this instruction is probably not enough for you to create a full-fledged server.

The distribution itself is in the archive, in order to install, you need to unpack all the files into one of the necessary directories. It is worth remembering that if your server is on Linux, then you need to download just such a distribution. Now let's try to completely disassemble OS such as Windows 10 and Debian 8 GNU, Linux.

Installing a Distribution for Rust Server on Windows 10

Perhaps this process of installing a distribution kit can differ little from previous versions Windows, where everything is the same and done in actions. Moreover, this process can be carried out on the core version, which is undemanding to a license, which can be ideal for all servers.

Initially, it is better to create a specific folder on your hard drive. For example, D:\SteamCMD, such a name was made so as not to get confused in the future, and it was clear what she would do in the future. In this folder you should unpack your distribution. After unpacking all the files, you will see stemcmd.exe among the files, which is exactly what you need to run. After the program is launched, it will automatically download the current version, if necessary, so that your server is up to par. You must remain idle until you are prompted to enter any commands.

Thus, we now have the right to update Steam applications. Below is detailed instructions to create and update your own game server.

IMPORTANT: All commands are entered without these "" quotes, keep this in mind in the future.
  1. The first step is your own authorization on the service. This can be done with a good team "login anonymous". Of course, you can specify your own login with a password, but anonymous authorization does not require you to enter any password. Its use is simpler than other authorization systems.
  2. The second important step is to specify the real path to the directory where the server will be fully installed. You can do this with "force_install_dir<Путь каталога>» . In this case, it is worth remembering that when choosing hard drive, you need to pay attention to its workload and throughput. The tallest throughput is only in SSD drive worth buying if not. Thanks to him, speed is increased by 90 percent, as well as access to it. Therefore, this must be taken into account when creating a server. The path along with the command will look something like this, "force_install_dir D:\srv001"(the name of the directory was specified in an arbitrary way, where you can name it in your own way, after which it will be automatically created).
  3. One of the equally important steps is to launch the installation or update of the game. Undoubtedly, all programs and applications have their own identifier, in Rust it has this ID: "258550". In this step, you do not need to think about it, where you can boldly enter the following data into the console: "app_update 258550". After entering this command, the download will be performed, as well as the required unpacking of the downloaded files to the catalog server, which was just indicated by us in the previous step. Of course, if you look on the Internet, you can come across such a command "app_update 258550 -beta public". She, of course, has a full team summary. The majority lies in one thing, that the game was previously divided into two different games, and these are Legacy and Experimental. Where a new version was in testing, which was not added to the main version of the game and was distributed in free mode. Now the Legacy has been officially shut down, where the Experimental has come to replace it. Keys like "-beta" are required to install a specific version of the game, in our case, this is not necessary. After all, she will download a full-fledged client of the game itself, which is up-to-date.

After your client has downloaded all the required files for the server, you can proceed to the official launch of the server.

This article will cover the full concept of creating, opening and even managing your own server, which will only have standard files without any modifications to it. After all, modifications are a completely different topic, about which you can also tell a lot.

To start our server, we need batch file(batch file). Moreover, in its launch, you have the right to substitute several of your own functions, which it will be forced to perform, and this is indicated in the launch command itself.

Of all the minimal commands, it is required to include such a line in the batch file RustDedicated.exe –batchmode. This is only the smallest part of the possible-connected commands that can be used.

If anyone is interested, you can run your server under such commands that should be in your batch file "RustDedicated.exe -batchmode +server.hostname "MyNameServerRExP" +server.port 28016 -logFile "output.txt". In the command line, the commands were not shown very much desired settings, which indicate the name of your created server, port numbers, log file, it will record all the log actions performed by the server, where you can find out what errors occurred in its work. But for this you need to create a file in the directory of the created server, and it will be "D:\srv001\ruststart.bat".

An important factor in this step is the choice of port, if you have several other servers on the same server, then you need to use completely different ports. That is, you yourself need to set other port parameters "+server.port 28017".

After running this command, the whole world will be generated. But also in this batch file you have the right to specify any commands that will be directly used for the server.

Now we need to launch the Rust game itself, by launching the game, open the console with using the F1 key, where we enter such a line "connect localhost:28016". That is, we enter the same port that we indicated in the batch file itself, and we will go to our server. But "localhost" will only run on your machine where the server was running. If you did the same, but already on the purchased server, then you only need to enter the ip-address and port of the server, and then go to it. But we initially made a server for our OS with local access. Thus, having registered the connection command, after a while it will be possible to run around the wild island.

Automated update process for Rust Experimental server

At this moment, each person designates his own framework, how best to update the entire server for an updated version of the game. That is, you can set specific values ​​that your system will follow. To do this, it is important to create a batch file again with this path "D:\SteamCMD\upd_rs001.bat". It should contain something like this:

echo "Update server Rust: SRV001"

start /wait/high steamcmd.exe +login anonymous +force_install_dir D:\SRV001 +app_update 258550 validate +quit"

Now you will have to suspend the server yourself, and open this bat file, which will update your server client to current version. As soon as the updates are downloaded, you can safely run it again.

If you understand console commands, then you can bring everything to automatism. Where if a new update arrives, then the server stops working and downloads the updates itself, without your participation in all these moments. Of course, if you have a server with modifications, then they may stop working and be able to be more supported. As for the original servers, this will be just a great option that is simply irreplaceable.

Installing the server on a Debian Squeeze machine

Undoubtedly, the process of this installation is very difficult, and requires significant explanations of what relates to what. Therefore, you need to act carefully.

  1. Go to linux system under the superuser, it is referred to differently as "su". Next, you need to execute the command "apt-get install lib32gcc1". This step installs the libraries specifically required for GCC, or more specifically, for compilation.
  2. For SteamCMD it is created completely separately new profile to not run as root all the time, which will take longer to run. Then we calmly create a steam user, where we immediately log in, while using commands such as: “useradd -m steam”, after “su - steam”.
  3. Next, you need to create a directory called "steamcmd", and go into it using "mkdir ~/steamcmd", and then "cd ~/steamcmd". Where to create a directory in the economic directory of the steam profile.
  4. Immediately download the distribution in the console: "wget ​​http://media.steampowered.com/client/installer/steamcmd_linux.tar.gz".
  5. We unpack the archive: "tar -xvzf steamcmd_linux.tar.gz". Next, enter "ls" and see which files have been added.
  6. With the help of "./steamcmd.sh" we launch the shell script. Where to create an invitation console command Steam. Undoubtedly, in the future we simply enter the commands intended for steam, which we have already seen with Windows installation versions.

"login anonymous"

"force_install_dir ./res02"

"app_update 258550"

  1. As everything is installed, then boldly go to the “res02” folder, but for this you first need to exit the “quit” Steam console. Enter further "cd ./res02", and enter "ls". We look at all the files and among the acquaintances we see that the file "RustDedicated" is present.
  2. In this step remembers Windows version again, where we already use a batch file. We do the same here, running the batch file under the following parameters “./RustDedicated –batchmode”. After that, the console starts to display various messages about some information, in which there should be no errors.

Then we quickly start the game and write, as usual, in the console "connect 192.168.0.75:28016". Here, the address of the machine itself is already initially indicated, as well as its port. Then we see that the connection to the server is established. Unfortunately, without optimization, the server will consume most of the RAM, which is about 5 out of 8 GB. Indeed, on Windows, the use of RAM did not even reach 1.3 GB.

beautiful Rust game is gaining popularity at a rapid pace. More and more newcomers come to Rust every day. In this regard, many players think about the question, and how to create your own server in Rust?- So in this article we will just consider this issue and learn how to create our own server. Will it server Rust pirate or rust steam server It doesn't matter, we'll look at both options.

If you want to make a high-quality server on an excellent hosting, then I advise you to use GameButton hosting services

And so, let's get started:

How to Create a Rust Pirate Server

  1. To begin with, of course, we need the server itself. Go to the "ready-made Rust server" category and download the server you like.
  2. Create a new folder on your hard drive, for example " D:\ServerRust". But make sure that the name and path to the folder do not contain Russian characters.
  3. Unpack the previously downloaded server into the created folder.
  4. Now you need to go to the folder - " /serverdata/cfg"
  5. Open with notepad (RMB - open with - Notepad) file " server.cfg" and configure at your discretion. A small file with a description of all commands will help you with this -

    4.69 Kb downloads: 4365

  6. Next, set up the same Run Server.bat"as it is written in the description on the page where you downloaded ready server Rust

How to create a Rust steam server

  • We do everything the same, only the file " server.cfg"just find it in a folder" /cfg".

Run " Run Server.bat"our newly created server. Turn on Rust, press "F1" and write net.connect 127.0.0.1:28015 this is a regular local IP address, so that your friends can connect to you via the Internet, you must have a dedicated IP.

Have you ever wondered how to make your own RUST server but ran into the limitations of Windows OS? There is no point in worrying anymore! In this guide, we will focus on setting up a server under Linux, especially the Debian 8 x64 distribution. Instead of focusing only on RUST VANILLA, we will describe the settings for Oxide and teach you how to secure your server.

Initial setup

This will probably be the longest part of the guide, but will help you in terms of setting up server security. Basically, this manual is aimed at people who are not familiar with the concepts of server security and Debian in general.

  • Connect to the server using an SSH client (we recommend using PuTTY).
  • Go to the Password Generator website and create random password 50+ long and copy it. Then type "passwd root" into the console, click right click mouse twice in the terminal.
  • Now that you have installed secure password, you can update the system: write in the terminal “apt-get update -y && apt-get upgrade -y”, press Enter, then “apt-get install fail2ban nano -y” and again Enter.
  • Now download the PuTTYgen program and generate a key. Now enter the following commands one after the other by pressing Enter to go to newline in PuTTY:

Mkdir ~/.ssh
chmod 0700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 0644 ~/.ssh/authorized_keys
nano ~/.ssh/authorized_keys

Now go back to PuTTYgen, then right click inside the window with more characters and click select all then copy. Now go back to PuTTY where you opened nano editor, and right click to paste your public key, then press ctrl + o -> enter -> ctrl + x.

Now type "nano /etc/ssh/sshd_config" then ctrl+w then type "PasswordAuth". Now remove the hash and change yes at the end to no. Now scroll down the page and change UsePAM to no. Now ctrl + w and type PermitRootLogin and just change it to "without-password". Now press ctrl+p (save) and ctrl+x (quit) and then type "service ssh reload".

We return back to PuTTYgen: we need to store the public and private keys in a safe place. Close PuTTY and open it again, on the left side select Connection -> SSH -> Authorization, and specify the file with the private key that you just saved. After returning to the session, click "Default Settings", then "Save", then "Open" to log in without a password.

SteamCMD

Valve has its own documentation for configuring SteamCMD which you can find here. After you go to the app_update section, enter "app_update 258550". This is just the RUST server ID.

VANILLA

After you have completed all the steps with SteamCMD, you can proceed to setting up VANILLA. Do "cd SteamCMD Directory" and then write nano startrust.sh and paste this: "258550".

#!/bin/sh
clear while: do
exec ./RustDedicated -batchmode -nographics \
-server.ipIPAddressHere\
-server.port 28015 \
-rcon.ip IPAddressHere \
-rcon.port 28016 \
-rcon.password" rcon password here" \
-server.maxplayers 75\
-server.hostname "Server Name" \
-server.identity "my_server_identity" \
-server.level "Procedural Map" \
-server.seed 12345 \
-server.worldsize 3000 \
-server.saveinterval 300 \-server.globalchat true \
-server.description "Description Here" \
-server.headerimage "512x256px JPG/PNG headerimage link here" \
-server.url "WebsiteHere"
echo "\nRestarting server...\n" done

You will need to fill in your own values ​​such as seed (you can use the map preview generator for this), etc. Now do "chmod u + x startrust.sh" then "./startrust.sh" and your server will start up. If there are no problems during the start, then you can connect to the server via RCON. In the game, you can connect to the server by pressing F1, selecting the console and typing the following: "connect Server IPAddress:28015". We will describe how to set up your administrator status in the game in the following guides.

oxide

This Rust server add-on is very popular. Here we describe the process of setting it up. First of all you need to do "wget ​​https://github.com/OxideMod/Snapshots/raw/master/Oxide-Rust_Linux.zip". Then, if you haven't already installed unzip "apt-get install unzip -y", after "unzip Oxide-Rust_Linux.zip". This must be done in the directory of the RUST server that you installed via SteamCMD (you need to agree with everything that will be offered). Then you need to configure the run permissions for the compiler: “chmod u + x CSharpCompiler” so that it can compile plugins for the RUST server with the cs extension (remember the Kits plugin). Congratulations on creating a fully working RUST Oxide server. In the following guides, we will touch on aspects such as "Permissions" and the current problems of RUST servers.

Update

It's very simple. You need to repeat the steps you did when you installed RUST via SteamCMD. If you are using Oxide, you will need to redownload it after updating. Use the link above, then unzip it. You may need to change permissions for CSharpCompiler again.

Firewall (for advanced users)

For additional security of the RUST server, you can configure a firewall. Warning: Making changes to server settings on a Debian system may result in complete inoperability, limited or total absence server access.

Write "nano iptables.sh" then copy the following:

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 28016 -j ACCEPT
iptables -A INPUT -p udp --dport 28015 -j ACCEPT
iptables -I INPUT 1 -i lo -j ACCEPT
iptables -P INPUT ACCEPT
iptables -A INPUT -j DROP
apt-get install iptables-persistent -y
invoke-rc.d iptables-persistent save

Then type "chmod u+ux iptables.sh" then type "./iptables.sh". It will run a bunch of commands that will eventually just open the standard ssh port (22) and then the two standard ports for the RUST server.

So, the site has a wonderful network. But in it, only a couple of lines are devoted to starting and configuring the server.
I will try to help users who would like to play on their local server with friends and with your own settings. In this short article, I will try to show the whole process: from installing the server to configuring it, including using mods.

1. The first thing we need is to switch to running Rust over the network and download archive containing all necessary tools, and unzip to any location.

2. Now let's move on to installation. Run the file Update-Rust-Server.bat from a folder SteamCMD and wait while our server is downloading. The servers will be loaded into the RustServer folder.

Everything, we have installed the server, proceed to the next steps.

3. Now we will start the server, customize it and invite friends. In order to connect to the created server, perform the following steps:

I go to the folder SteamCMD and run the file Run-Rust-Server.bat(It is him, not Rust_server). To start the experimental Rust server, run the file Run-Rust-Exp-Server.bat
- After running in command line there will be lines with information about the download, we are waiting for the moment when the inscription appears "server initialized".
- Everything, the server works.
- Now, in order to enter the server, we need to find out the address of our server. Classic version -
- Write down your ip somewhere in text file(not to forget).
- Next, start the game and press the F1 key (console) and enter the net.connect command there. Your ip: 28015 (where Your ip is your ip, which you learned in advance). In theory, it should also be 127.0.0.1.

If everything is done correctly, you will connect to your server. In order for friends to be able to connect to you, it is of course necessary that the server is running on your computer, and that your friends correctly enter the connection command that you tell them.
Now you can start playing. BUT! The correct execution of all actions in some cases cannot guarantee you success. Since there are a lot of reasons why you might not succeed. The solution to the most common problems is written in.

4. Well, now, if everything worked out for you, and you liked it, you can play around with server settings.
For example, in latest update the developers added such an interesting thing as weapon wear (I immediately remembered the series dead island), as well as wear and tear of clothing and equipment.
This did not suit many, and here is the opportunity to disable this feature.

For this you need:
> Log in to the server with admin rights. To do this, open the console in the game with the F1 key and enter the command Rcon.login your password (your password is set in the server.cfg file and by default it looks like 123456). After entering, an inscription should appear (in the console) "logged as admin", which means you are logged in as an admin. Now enter the commands:
- To disable clothing wear: conditionloss.armorhealthmult "0.0"
- To disable weapon/inventory wear: conditionloss.damagemultiplier "0.0"

With the help of various mods, you can also disable or enable different things. For example, disable disintegration on the server or adjust the flight interval for airplanes. The network already has both affordable and not very affordable mods. I recommend using a free mod magma, due to its ease of customization and a large number of plugins.

Rust it computer game a first-person survival game from Facepunch Studios, available for Windows, Linux, or Mac OSX. Currently still in development (Early Access), but you can already play it on Steam for about $12.

There are two different versions games, the older and more stable Rust Legacy, and the newer version of Rust Experimental, which has been completely rewritten from the ground up and is now the focus of all current development efforts.

If you want to make a high-quality server on an excellent hosting, then I advise you to use GameButton hosting services

How to create rust experimental steam server

What will we need?

Secondly, before starting, look at the contents of the batch file.

RustDedicated.exe -batchmode -load is responsible for starting the server without GUI, and the prefix load is very important, because without it, the next time the server starts, all progress will not be loaded, so to speak, there will be a wipe.

server.seed - "seed" modifier for creating the world, an integer from -2147483647 to 2147483647. How the world will be generated depends on this number. There are only common locations that are unchanged, these are snow, forest, desert.

You can start bat and connect using:

"client.connect (ip):(port)" in F1 console. If the host is you, then for the local connection “client.connect localhost:28015”

As for the rest of the settings, read above, they are the same as for the Steam version.

How to get admin rust experimental

There are several ways to add Admins and Moderators

1. Through the server console Do not confuse the server console and the client console (games) In the console you need to write Code:

ownerid "player nickname" - Administrator (server owner)

Example: Code: ownerid 76561198002158852 "megarust" moderatorid 76561198002158852 "megarust" Then we will receive a response from the server about assigning the status

2. Via users .cfg . We find the users .cfg file, usually it is located (Folder with the server \server \my _server _identity \cfg ) Open it with any text editor and write:

Code: ownerid "player nickname" - Administrator (server owner)

moderatorid "player nickname" - Moderator

Note ! Before editing users .cfg you need to shut down the server , because . next server shutdown this config will be overwritten .

3.Using Rusty - Server RCON administration tool

This method will take a little more time and effort compared to the previous two. First we need to configure rcon .port and rcon .password if it hasn't already been done. Rcon .port is usually 1 more than your regular port .

Example : Normal port : Ip :28015 Rcon port : Ip :28016 Rcon port and password setup Code : @echo off RustDedicated .exe -batchmode +server .port 28015 +rcon .port 28016 +rcon .password "changeme123 " +server .hostname "Rust -Helper .ru " +server .identity "my _server _identity " +server .maxplayers 100 +server .saveinterval 3600 -logFile "log .txt " Now start Rusty and go to Settings and fill in your details. If everything is done correctly, then change to Then go to the Rcon -> Console tab and write Code: ownerid "player nickname" - Administrator (server owner) moderatorid "player nickname" - Moderator

Congratulations, you are now an admin! Relogin to the server , because . the admin panel may not work if you were online at the time of the status change!