Contacts

How to create your own Rust server. How to create your own RUST server for Linux Creating your own rust server

If you have come to this page, then you are interested in how to create your own server in Rust, as well as how to configure its operation.

Initially, we will talk exclusively about the Steam version of the game, which for this period of time costs 800 rubles; if necessary, it can be simulated on a pirated version. During various holidays they offer decent discounts. Therefore, we will not strongly consider pirated client-servers, 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. Using the server, you can play together with your friends, where no one will interfere with your gameplay.
  2. For experimental activities, this means that anyone can build house traps to test it in real time.
  3. To benefit from this, that is, creating a server for dozens of people to play.

There may be other reasons why Rust Experimental servers are created, but these were just the most popular ones.

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

The Rust server is, first of all, an incredibly good platform for conducting numerous 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 stores with things where you can buy items for a raid, building a house, weapons and much more, actually for real money. There is constant competition in this aspect, where some people still buy these items.

It is better to play the gameplay with friends on other people’s servers, because this will add adrenaline and raise team spirit, thereby you yourself will understand that it is better to survive with friends on other people’s servers. But there are also cases when the server is filled not only by regular players, but also by cheaters who prevent you from playing normally. If you know how to get your server off the ground, then feel free to create your own and invite your friends there, but do not use admin rights, this will worsen the situation for other players.

System requirements for Rust server hardware

No matter how funny 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 i5 processor are suitable, which will consistently support your server at the proper level. With this equipment, you are able to withstand the attack of 20 helicopters, while shooting at them from a 15-story building, which will be 15 blocks in diameter. Thus, no freezes should occur. As soon as there is a serious load on the server, the RAM begins to be used own strength to the maximum to save the server's operation. In normal mode, only 4-6 percent of 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 command line. But initially, you can install the Rust server itself in this way. Undoubtedly, it is important to download such a console from the official website, and only there you should download it, because you will catch dangerous viruses. The site itself also has installation information, but these instructions are probably not enough for you to create a full-fledged server.

The distribution itself is in the archive; 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 OS, then you need to download this particular distribution. Now we will try to completely disassemble operating systems such as Windows 10 and Debian 8 GNU, Linux.

Installing a distribution for the Rust server under Windows 10

Perhaps this process of installing a distribution may not be much different from previous versions Windows, where everything is done the same way in actions. Moreover, this process can be carried out on the core version, which does not require a license, which can be ideal for all servers.

Initially, it is better to create a specific folder on your hard drive. Eg, "D:\SteamCMD", this name was made so as not to get confused in the future, and it was clear what she would do in the future. You should unpack your distribution into this folder. After unpacking all the files, stemcmd.exe will appear among your files, which is exactly what you need to run. After the program is launched, it will automatically download the latest version, if necessary, to keep your server up to standard. 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 on creating and updating your own game server.

IMPORTANT: We enter all commands without these “” quotes, keep this in mind in the future.
  1. The first step is your own authorization on the service. This can be accomplished with the help of a good team. "login anonymous". Of course, you can specify your own login and password, but anonymous authorization does not require you to enter any password. Its use is easier than other authorization systems.
  2. The second important step is to indicate the real path to the directory into which the full installation server. You can do this using "force_install_dir<Путь каталога>» . In this matter, it is worth remembering that when choosing hard drive, you need to pay attention to its load and capacity. The highest throughput is only SSD drive, which is worth purchasing, but if not. Thanks to it, performance and access to it are increased by 90 percent. 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 arbitrarily, where you can name it in your own way, after which it will be created automatically).
  3. One of the equally important steps is to start the installation or update of the game. Undoubtedly, all programs and applications have their own identifier; in Rasta it has the following ID: "258550". In this step you don’t need to think about it, where you can safely enter the following data into the console: "app_update 258550". After entering this command, the download will be carried out, as well as the required unpacking of the downloaded files to the directory server, which we specified at the previous stage. Of course, if you look on the Internet, you can come across such a team "app_update 258550 -beta public" She, of course, has a full command summary. The majority lies in one thing: 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 Legacy has officially closed down, and was replaced by Experimental. Keys of the “-beta” type are required to install a certain 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 downloads all the required files for the server, you can begin to officially launch the server.

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

To start our server, we need a batch file (batch file). Moreover, when launching it, 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, the following line must be included 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 using the following commands that should be in your batch file "RustDedicated.exe -batchmode +server.hostname "MyNameServerRExP" +server.port 28016 -logFile "output.txt". The commands were not particularly shown in the line necessary settings, which indicate the name of your created server, port numbers, log file, it will record all log actions performed by the server, where you can find out what errors occurred in its operation. 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 need to set other port parameters yourself "+server.port 28017".

After running this command, the entire 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, launch the game, open the console with using the F1 key, where we enter the following line "connect localhost:28016". That is, we enter the same port that we specified in the batch file itself, and we will go to our server. But “localhost” will only run on your computer on which the server was launched. If you did the same thing, but on a purchased server, then you just need to enter the IP address and port of the server, and then you will go to it. But we initially made a server for our OS with local access. Thus, having written the connection command, after a while you will be able to run around the wild island.

Automated update process for the Rust Experimental server

At this point, each person defines his own framework on how best to update the entire server for the updated version of the game. That is, you can set certain 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 pause the server on your own, and open this bat file, which will update your server client to current version. As soon as the updates are downloaded, you can safely launch it again.

If you understand console commands, then you can bring everything to automation. Where, if a new update arrives, 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 will be no longer supported. As for the original servers, this will be simply a wonderful option that is simply irreplaceable.

We install the server on a Debian Squeeze machine

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

  1. Go to linux system under the superuser, it is also called “su”. Next you need to execute the command “apt-get install lib32gcc1”. In this step it is done special installation libraries required for GCC, or more precisely, for compilation.
  2. It is created completely separately for SteamCMD new profile, so as not to constantly launch as a superuser, which will consume more time to launch. Then we calmly create a steam user, where we immediately log in, 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 catalog in the business catalog 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 what files have been added.
  6. Using “./steamcmd.sh” we launch the shell script. Where will we create the invitation? console command Steam. Undoubtedly, in the future we will simply enter commands intended for steam, which we have already seen with Windows installation versions.

"login anonymous"

"force_install_dir ./res02"

"app_update 258550"

  1. Once everything is installed, feel free to go to the “res02” folder, but to do this you first need to exit the Steam console “quit”. Next, enter “cd ./res02”, and enter “ls”. We look at all the files and among our friends we see that there is a “RustDedicated” file.
  2. In this step he remembers Windows version again, where we use the body file. We do exactly the same thing here, launching a batch file under the following parameters “./RustDedicated –batchmode”. After which the console begins to display various messages regarding some information that should not contain errors.

Then we quickly launch the game and enter “connect 192.168.0.75:28016” in the console as usual. Here, the address of the machine itself, as well as its port, is initially indicated. After which we see that the connection to the server is established. Unfortunately, without optimization, the server will consume most of the RAM, which is approximately 5 out of 8 GB. After all, on Windows, RAM usage did not even reach 1.3 GB.

Rust is 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 around $12.

There are two different versions games, the older and more stable Rast Legacy, and the newer version Rast Experimental, which is completely rewritten from scratch, and is now the focus of all the current efforts of the developers.

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

How to create a rust experimental steam server

What do 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 load prefix is ​​very important, because without it, the next time the server starts, all the progress will not be loaded, so to speak, there will be a wipe.

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

You can start bat and connect using:

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

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

How to get a rust experimental admin

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). You must write the code in the console:

ownerid "player nickname" - Administrator (server owner)

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

2. Via users.cfg. We find the file users.cfg, 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 needs to shut down the server, because... the next time the server is turned off, 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 this has not been done previously. Rcon.port is usually 1 larger than your normal port.

Example: Normal port: Ip:28015 Rcon port: Ip:28016 Setting up Rcon port and password 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 run Rusty and go to Settings and enter your details. If everything was done correctly, then change to Then go to the Rcon -> Console tab and enter the Code: ownerid "player nickname" - Administrator (server owner) moderatorid "player nickname" - Moderator

Congratulations, you are now an admin! Re-login to the server, because... The admin panel may not work if you were online during the status change!

Beautiful Rust game is gaining popularity at tremendous speed. Every day more and more newcomers arrive in Rast. In this regard, many players think about the question: how to create your own server in Rust?- So in this article we will look at this issue and learn how to create our own server. Will it be pirate Rust server or rust steam server, no matter, we will consider both options.

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

So, let's get started:

How to create a pirate Rust server

  1. First, of course, we need the server itself. Go to the “ready-made Rust server” category and download the server you like.
  2. We create 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 using notepad (RMB - open with - Notepad) the file " server.cfg" and configure it at your discretion. A small file with a description of all commands will help you with this -

    4.69 Kb downloads: 4365

  6. Next, we also configure " Run Server.bat"as it is written in the description on the page where you downloaded ready Rust server

How to create a Rust steam server

  • We do the same thing, just the file " server.cfg"we just find it in the folder" /cfg".

Let's launch " Run Server.bat"our newly created server. Turn on Rust, press "F1" and enter net.connect 127.0.0.1:28015 this is a regular local IP address, in order for your friends to connect to you via the Internet, you must have a dedicated IP.

Rast experimented with how to create your own pirate server. This is a very exciting question, and I must warn you that it is not that simple.

System requirements

A Rasta server can be expensive on your computer, but maybe not as much as you might think. The base area is 4 sq. km(default generation size) the card will run close to 1 gigabyte random access memory. After stress testing and 144,000 objects, the server uses about 1.8 gigabytes of memory. So I would suggest having at least 3GB allocated to the server. For the most part, as a rule, the server will crash when the server reaches 150,000 objects.

Starting the server

After downloading the server itself, all that remains is to figure out how to launch it. Before starting, look at the contents of the batch file.

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

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

You can start bat and connect using:

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

Console commands

As for the rest of the settings, they are the same as for the Steam version, the list of commands for the console to manage the server:

Kick "Name" - kick by name

Kickall - kick indiscriminately

Ban "Name" - ban of the namePlayera

Banid "Steam ID" - ban on Playera's Steam ID

Status - who is online

Say - say

Users - Info about players

Banlist - a register of “criminals” or cheaters of all kinds

Banlistex - a register of “criminals” with answers to why they were expelled from the server

Listid - a register of “criminals” or cheaters of all kinds on ID Steam

Event.run - the start of an indefinite path of the aircraft, which will drop boxes at a place with zero abscissa, ordinate and applicate. You don't have to use it if you don't want events.

Server.port "28015" - everything is clear without words, the port to connect to

Server.maxplayers 500 - it’s also not difficult to guess (how many maximum players are you planning or not planning)

Server.hostname "My Personal Server" - How would you like to see your server listed in the game

Server.identity "MegaRust" - the name of the server that needs to be included in the folder name

Server.saveinterval 3600 - how often to save (for those who are not good at math, 1 hour = 3,600 seconds)

Server.seed is an additive for creating a map; in principle, any numbers are suitable, since the boundaries are quite large: from -2147483647 to 2147483647. It affects what kind of map you get.

Server.secure - everything is clear (VAC and EAC)

Server.tickrate - clock frequency cards in Hz, it is better to set 30, performance is inversely proportional to the number, but failures are not excluded.

Server.start - start the server

Server.stop - stop server

Server.writecfg - saving settings to a file

Gc.collect - clearing server cache

Introduction

NOTE: Before you start creating a server, make sure that you have enough disk memory, computer power, nerves and time.

Also, in recent “Updates/fixes”, the command for connecting to the server for other people was killed (namely: “client.connect :28015” (by default)). Now, this earlier “vital” command produces an endless loading screen (someone might say, “Everything works, it’s just me being crooked.” -Perhaps, but we did this about 10 times and in total we killed time, about two hours, but the loading screen did not show the slightest sign of life). In this regard, there is no point in describing how to connect to the server to other people. (since I don’t know any other ways.)

Creating a server

We start by downloading from the official Steam website: SteamCMD (Steam console). After downloading SteamCMD, unzip it into the Steam folder. Next, go to the “Steam” folder and run this file (At this moment, Steam itself should be turned off). The Steam console opens. After downloading, we must log in - to do this, write the command: “login anonymous” and press Enter.
After we have logged in, we enter this command in order to download the Rasta files - " app_update 258550 -beta experimental"
It is logical that the game files will take a long time to load, depending on your Internet speed.
I hasten to note that if you do not have an auto-update plugin, then you will have to write this command “app_update 258550 -beta experimental” after each update.
After the files have been downloaded, we can close the console. Then go to the folder: Steam > steamapps > common and if you did everything correctly, then you should have a “rust_dedicated” folder.
Now let's launch Steam. It should update. (That's why it was so important that Steam was closed) In the meantime, Steam is updating, we again go to the rust_dedicated folder and create Text Document, which we call “start” and change its format from “.txt” to “.bat”. As a result, we should have a file: "start.bat". Now right-click on it and select “Edit”. Further in it we write the following:

  1. RustDedicated.exe -batchmode -load (this function will be responsible for saving on your server)
  2. +server.hostname "NazvanieServera" +server.port "28015" +server.identity (the name of your server can be anything, the main thing is that it is written in English).
  3. "my_server_identity/save" +server.maxplayers "10" (the number of players can also be any).
  4. +rcon.port "28016" +rcon.password "11111" +server.seed "2200000" (server seed can be any).
Save. And so, if we did everything correctly, we go to RUST. Open the Rasta console and write: “client.connect”
That's it, the server has been created, so let's move on...
P.S: the program must be running throughout the entire operation of the server: RustDedicated.exe, and if you are on the server and you close this program, you will immediately be kicked from the server (or rather, the server will turn off itself). And after each exit from the server, it is advisable to write the command: “save”, since RUST sometimes does not save data automatically.

Admin panel issuance

Issue of Administrator After you have created a server, you probably want to be an admin, because what is the point of creating a server if you are not the main one on it, right?
And so for this we again need to go to RustDedicated and write the following command:
ownerid X "Y", where X is your SteamID and Y is your nickname.
In order to find out your ID, you need to go to your profile, but if you have already changed your original ID, then go to your server and open RustDedicated, it will be written there: which player joined and his ID.
If at the time you gave yourself the admin account, you were on your server, you will need to re-login. And in order to make sure that we did everything correctly, press F1 and go to the Item list. If everything was done correctly, then you will be able to give yourself the required amount of resources.

So that every time you log into the server, you don’t have to re-write all these evilbuchie numbers and letters, you can do the following:

1. Open the cfg folder, which is located (at least for me) here:
D:/Steam/steamapps/common/rust_dedicated/server/my_server_identity/cfg
2. Create a new test file.
And write the same command. (ownerid X "Y")

Did you like the article? Share it