• How to create a licensed rust server. How to create your own Rust server. Automated update process for the Rust Experimental server

    Many beginners and even experienced players one day seriously wonder how to create a server in Rast? Before you begin your step-by-step creation, you should know exactly why you need it and what its personal differences are from existing units. Since the server will be created by you, you will not face a ban here - here you and only you will be in charge. However, you need to remember that maintaining a server is not such a simple matter.

    For a clear example, let’s consider the option of running a Rust server on a separate hosting, which can be constantly online for a number of players from 50 people. To do this, you will need simple, high-quality and reliable hosting. Considering that currently the choice of hosting companies is more than impressive, we offer you 3 options that have proven themselves to be the most effective. We are talking about the following companies:

    1. DeinServerHost.DE – very high quality and at the same time cheap hosting. True, sometimes malfunctions may occur, the elimination of which may take some time, since there is practically no support from the site administration as such.
    2. PlayRust.EU is by far the most expensive and at the same time one of the best providers. It is distinguished by its reliability and the need to speak English at a fairly high level.
    3. HostingRust.RU is the official hosting in the Russian Federation. It has a satisfactory price, promptly responsive technical support, and stable server operation. Various updates are regularly released to make the service as pleasant and convenient for users as possible.

    After placing your order, log into the admin panel and configure the game server. After registering your account, you can see the main panel - server-600x331. There are also buttons to start, stop and restart the server, the amount of memory used, the selected communication channel, and the current number of players. Next, launch the Steam update – Steam Update. In the Mod Manager tab you can install the necessary game mods. To configure additional touches, go to the Configuration Files tab, where we edit server.cfg, which contains standard settings.

    Next, when everything is ready, all that remains is to launch the newly created server and test it in action. To check for functionality, enter the server address into the net.connect console. After the first login, it will remain in the connection history. Next, log in as an administrator. To do this, you need to enter your RCON password into the console. Especially for these purposes, rcon.login xxxxxxx is written, where xxxxxxx means the password you created. After these fairly simple manipulations, your server is completely ready for use. We hope that thanks to this article, you now know exactly how to create a Rust license server.

    Server creation video

    So, the site has some great stuff on the web. But it only devotes a couple of lines to launching 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 the necessary tools and unpack it to any location.

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

    That's it, we have installed the server, let's move on 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:

    Let's go to the folder SteamCMD and run the file Run-Rust-Server.bat(It’s him, not Rust_server). To start the experimental Rust server, run the file Run-Rust-Exp-Server.bat
    - After launch, the command line will contain lines with information about the download, wait until the message appears "server initialized".
    - That's it, the server is working.
    - Now, in order to access the server, we need to find out the address of our server. Classic option -
    - Write down your IP somewhere in a text file (so as not to forget).
    - Next, launch the game and press the F1 key (console) and enter the command net.connect Your ip: 28015 (where Your ip is your ip, which you found out in advance). In theory, this should be 127.0.0.1.

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

    4. Well, now, if everything worked out for you and you liked it, you can play with server settings.
    For example, in the latest update, the developers added such an interesting thing as wear and tear on weapons (I immediately remembered the Dead island series), as well as wear and tear on clothing and equipment.
    Many people were not happy with this, and now there is an opportunity to disable this function.

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

    You can also disable or enable different things using various mods. For example, disable decay on the server or adjust the flight interval of airplanes. There are already both affordable and not so affordable mods on the Internet. I recommend using the free mod Magma, due to its ease of setup and large number of plugins.

    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 early “vital” command produces an endless loading screen (someone might say that everything works, it’s just me being crooked. -Perhaps, but we did this 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 a text document, which we will 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")

    Rust 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 of RAM. 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 of the card in Hz, it is better to set it to 30, performance is inversely proportional to the number, but failures are possible.

    Server.start - start the server

    Server.stop - stop server

    Server.writecfg - saving settings to a file

    Gc.collect - clearing server cache

    If you have reached 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, there are no specific system requirements that 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 a serious load appears on the server, the RAM begins to use its own power 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 a special utility that is designed for instant updates of your own servers, and this is done through the client version, using the 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 kit may not differ much from previous versions of Windows, where everything is done in the same way. 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. For example, "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 are detailed instructions for 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 in which the server will be completely installed. You can do this using "force_install_dir<Путь каталога>» . In this matter, it is worth remembering that when choosing a hard drive, you need to pay attention to its load and bandwidth. The highest throughput is only available with an SSD drive, which is worth purchasing 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 automatically created).
    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 the 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 command line showed not particularly necessary settings that 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 command 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 the latest 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. Log into the Linux system as a superuser, otherwise known as “su”. Next you need to execute the command “apt-get install lib32gcc1”. In this step, the special installation of libraries required for GCC, or more precisely, for compilation, is performed.
    2. For SteamCMD, a new profile is created completely separately 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 we will create an invitation for the Steam console command. Undoubtedly, in the future we will simply enter commands intended for Steam, which we have already seen when installing the Windows version.

    "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, we recall the Windows version again, where we already use the body file. We do exactly the same 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.