{"id":99819,"date":"2023-12-12T01:09:57","date_gmt":"2023-12-12T01:09:57","guid":{"rendered":"\/tutorials\/?p=99819"},"modified":"2026-03-10T10:10:53","modified_gmt":"2026-03-10T10:10:53","slug":"how-to-host-a-rust-server","status":"publish","type":"post","link":"\/uk\/tutorials\/how-to-host-a-rust-server","title":{"rendered":"How to host a Rust server: Setting up and hosting your own dedicated server"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>Rust is an ever-popular multiplayer survival game in which players gather resources and build shelters to survive in an unforgiving environment. Not to mention, other players are prowling around to steal some hard-earned loot from you.<\/p><p>While the default modes are already fun, you can enhance your gameplay experience by setting up your own dedicated Rust server. It enables you to install mods and set custom rules, for example, you can control how quickly buildings and items degrade or create safe zones.<\/p><p>This article will explain how to host a Rust server using two methods &ndash; automatically and manually. The automatic method is much easier &ndash; you will use Hostinger Game Panel and be able to start playing in a few minutes. That said, the manual method gives you more customization options.&nbsp;<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-rust-server-prerequisites\">Rust server prerequisites<\/h2><p>To get a Rust host up and running, you need a <a href=\"\/uk\/tutorials\/what-is-vps-hosting\">virtual private server<\/a> (VPS) to store the game components. For optimal performance and responsiveness, make sure to choose one with sufficient hardware based on the following requirements:<\/p><ul class=\"wp-block-list\">\n<li><strong>Operating system<\/strong>. Windows, Linux, or macOS. We recommend a Linux-based operating system for hosting any game server due to its stability and efficiency.&nbsp;<\/li>\n\n\n\n<li><strong>CPU<\/strong>. Rust requires at least a quad-core processor, while a six-core processor is ideal for larger servers.<\/li>\n\n\n\n<li><strong>RAM<\/strong>. You should have at least <strong>8 GB<\/strong>.That said, we recommend <strong>16 GB <\/strong>&nbsp;for hosting a lot of players.<\/li>\n\n\n\n<li><strong>Storage<\/strong>. <strong>20 GB<\/strong> as a minimum, but your server might require more disk space as it grows.<\/li>\n\n\n\n<li><strong>Internet connection<\/strong>. A stable and fast connection with a minimum speed of <strong>100 Mb\/s<\/strong> is essential for seamless gameplay and handling multiple player connections.&nbsp;<\/li>\n<\/ul><p>Hostinger&rsquo;s game server hosting plans are an excellent choice for Rust servers. They offer reliability, performance, and scalability for an enjoyable gaming experience.<\/p><p>As one of the <a href=\"\/uk\/tutorials\/best-game-server-hosting\">top gaming VPS providers<\/a>, Hostinger&rsquo;s plans offer various advantages:<\/p><ul class=\"wp-block-list\">\n<li><strong>Premium hardware<\/strong>. Our<a href=\"\/uk\/vps\/game-server-hosting\"> Game Panel hosting<\/a> uses powerful AMD EPYC processors and SSD NVMe storage, ensuring fast and lag-free performance for Rust servers.<\/li>\n\n\n\n<li><strong>Multiple server locations<\/strong>. You can host your game in numerous locations around the globe. This ensures low latency, which is critical for a hassle-free Rust gaming experience.<\/li>\n\n\n\n<li><strong>Graphical Game Panel<\/strong>. We provide an intuitive, beginner-friendly Game Panel to let you easily set up and manage <a href=\"https:\/\/support.hostinger.com\/en\/articles\/7877961-what-game-servers-are-supported-on-game-panel-vps\" target=\"_blank\" rel=\"noopener\">over 100 games<\/a> without commands.<\/li>\n\n\n\n<li><strong>Instant setup<\/strong>. Your VPS will be ready in less than five minutes.<\/li>\n\n\n\n<li><strong>Customization and control<\/strong>. Full root access to install server mods and plugins provides extensive customization and control over your Rust server environment.<\/li>\n\n\n\n<li><strong>Robust AI Assistant<\/strong>. Hostinger&rsquo;s VPS includes <a href=\"\/blog\/vps-ai-assistant\">Kodee<\/a>, which offers guided assistance, scripts, and commands customized to your needs.<\/li>\n\n\n\n<li><strong>Affordable and scalable plans<\/strong>. Starting at just <strong>\u00a36.99\/month<\/strong>, Hostinger&rsquo;s dedicated game server plans are scalable to meet the growing needs of your Rust server.<\/li>\n<\/ul><?xml encoding=\"utf-8\" ?><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/uk\/vps\/game-server-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/Game_panel_in-text-banner-2-1.png\" alt=\"\" class=\"wp-image-103282\" srcset=\"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/02\/Game_panel_in-text-banner-2-1.png 1024w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/02\/Game_panel_in-text-banner-2-1-300x88.png 300w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/02\/Game_panel_in-text-banner-2-1-150x44.png 150w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/02\/Game_panel_in-text-banner-2-1-768x225.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-how-to-host-a-rust-server-automatically\">How to host a Rust server automatically<\/h2><p>Hostinger Game Panel lets you set up a Rust server without any commands, making the process more efficient and safe since you won&rsquo;t run the wrong utility.<\/p><p>After purchasing a <a href=\"\/uk\/vps\/rust-hosting\">Rust server hosting plan<\/a> based on your projected needs and player count, complete the onboarding process. It involves tasks like setting up a new password and selecting a data center location.<\/p><p>Once finished, follow these steps to install the Rust server on your new VPS:<\/p><ol class=\"wp-block-list\">\n<li>Log in to hPanel and click <strong>VPS <\/strong>from the <strong>sidebar <\/strong>menu.&nbsp;<\/li>\n\n\n\n<li>Click<strong> Manage<\/strong> on your Game Panel plan.&nbsp;<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e00f324f2c3\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1460\" height=\"448\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/12\/game-server-manage-button-on-hpanel.png\" alt=\"The Manage button on the game server instance\" class=\"wp-image-125909\" srcset=\"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2023\/12\/game-server-manage-button-on-hpanel.png 1460w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2023\/12\/game-server-manage-button-on-hpanel-300x92.png 300w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2023\/12\/game-server-manage-button-on-hpanel-1024x314.png 1024w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2023\/12\/game-server-manage-button-on-hpanel-150x46.png 150w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2023\/12\/game-server-manage-button-on-hpanel-768x236.png 768w\" sizes=\"(max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>At the top, you will see that the <strong>Game Panel<\/strong> has been installed on your VPS. Click <strong>Manage Panel<\/strong>.<\/li>\n\n\n\n<li>The Game Panel login screen will open on a new tab. Enter the admin login details you created during the onboarding process and hit <strong>Login<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Create Instance<\/strong> and choose <strong>Rust<\/strong> from the <strong>Select Application <\/strong>drop-down menu.&nbsp;<\/li>\n\n\n\n<li>Hit <strong>Create Instance <\/strong>to confirm.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e00f324ff49\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"602\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/09\/rust-instance-creation-in-hostinger-game-panel-1024x602.png\" alt=\"Rust instance creation in Hostinger Game Panel\" class=\"wp-image-115259\" srcset=\"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-instance-creation-in-hostinger-game-panel-1024x602.png 1024w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-instance-creation-in-hostinger-game-panel-300x177.png 300w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-instance-creation-in-hostinger-game-panel-150x88.png 150w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-instance-creation-in-hostinger-game-panel-768x452.png 768w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-instance-creation-in-hostinger-game-panel.png 1460w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"7\" class=\"wp-block-list\">\n<li>Once the creation process is finished, hit <strong>Start<\/strong>.<\/li>\n<\/ol><p>During the first startup, Game Panel might download additional components. After that process is complete, your Rust server is ready.<\/p><p>Double-click the new Rust instance and go to the <strong>Connection Info<\/strong> section. Enter these details into your game client to access the server.<\/p><p>To change in-game settings, head to your <strong>Rust instance <\/strong>&rarr; <strong>sidebar<\/strong> &rarr; <strong>Configuration<\/strong> &rarr; <strong>Rust<\/strong>. We will explain the configuration parameters in the later section. From this menu, you can also enable<strong> Umod <\/strong>to install mods.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e00f3250b32\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"510\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/09\/rust-server-configuration-screen-in-hostinger-game-panel-1024x510.png\" alt=\"Rust server configuration screen in Hostinger Game Panel\" class=\"wp-image-115260\" srcset=\"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-server-configuration-screen-in-hostinger-game-panel-1024x510.png 1024w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-server-configuration-screen-in-hostinger-game-panel-300x149.png 300w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-server-configuration-screen-in-hostinger-game-panel-150x75.png 150w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-server-configuration-screen-in-hostinger-game-panel-768x382.png 768w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/rust-server-configuration-screen-in-hostinger-game-panel.png 1460w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-how-to-host-a-rust-server-manually\">How to host a Rust server manually<\/h2><p>Setting up a Rust game server manually requires some <a href=\"\/uk\/tutorials\/linux-commands\">Linux commands<\/a>. We recommend this method if you want to install different operating systems or additional software.<\/p><h3 class=\"wp-block-heading\" id=\"h-1-set-up-your-vps\">1. Set up your VPS<\/h3><p>After purchasing a hosting plan from Hostinger and completing the onboarding process, let&rsquo;s <a href=\"\/uk\/tutorials\/getting-started-with-vps-hosting\">set up your VPS<\/a> for Rust. To begin, navigate to <strong>hPanel <\/strong>&rarr; <strong>sidebar<\/strong> &rarr; <strong>VPS<\/strong>. Click <strong>Manage<\/strong> on your server.<\/p><p>To run commands on your server, you must access it via a remote connection protocol. Here&rsquo;s how to do so:<\/p><ol class=\"wp-block-list\">\n<li>Navigate to the <strong>SSH access<\/strong> tab on the <strong>Overview <\/strong>menu and obtain the SSH login credentials.<\/li>\n\n\n\n<li>Open your preferred command line application. You can use an <a href=\"\/uk\/tutorials\/how-to-use-putty-ssh\">SSH client like PuTTY<\/a>, Terminal, or <strong>Hostinger Browser terminal<\/strong> that is built-into hPanel.<\/li>\n\n\n\n<li>Enter your SSH login details and hit <strong>Enter<\/strong>.&nbsp;<\/li>\n<\/ol><p>By default, you will connect to your server as root. This account has the highest privileges in a Linux environment, allowing you to run any command without confirmation.<\/p><p>Using root to set up a game server can be risky since you are more prone to executing the wrong utilities. To minimize the risk, let&rsquo;s create a new superuser, which requires the <a href=\"\/uk\/tutorials\/sudo-and-the-sudoers-file\/\"><strong>sudo<\/strong><\/a> prefix and a password to run high-permission commands. Do so by running this:<\/p><pre class=\"wp-block-preformatted\">adduser superuser-name<\/pre><p>Enter a new password and other details. Then, grant the user privilege to use administrative commands by adding it to the <strong>sudo<\/strong> group:<\/p><pre class=\"wp-block-preformatted\">usermod -a -G sudo superuser-name<\/pre><p>Switch to the new superuser by entering the following command. Remember to replace <strong>superuser-name<\/strong> with the actual value:<\/p><pre class=\"wp-block-preformatted\">su superuser-name &amp;&amp; cd<\/pre><h3 class=\"wp-block-heading\" id=\"h-2-install-the-rust-server\">2. Install the Rust server<\/h3><p>With your VPS ready, the next step is installing the Rust dedicated server. Let&rsquo;s begin by updating your Linux package repository to ensure the downloaded software is up-to-date. To do so, run the following Linux command:<\/p><pre class=\"wp-block-preformatted\">sudo apt update &amp;&amp; sudo apt upgrade<\/pre><p>Then, install <strong>SteamCMD<\/strong>, the command-line version of the Steam client, to install and update server files for games like Rust. To do that, simply run the following:<\/p><pre class=\"wp-block-preformatted\">sudo apt install steamcmd<\/pre><p>Install necessary dependencies such as <strong>screen<\/strong> or <a href=\"\/uk\/tutorials\/tmux-beginners-guide-and-cheat-sheet\/\">tmux<\/a> to run server processes in the background. Use the command:<\/p><pre class=\"wp-block-preformatted\">sudo apt-get install tmux<\/pre><p>Create a specific directory for your Rust server files by executing the command below:<\/p><pre class=\"wp-block-preformatted\">mkdir rust_server<\/pre><p>Within the desired server folder, use SteamCMD to download the server files with the command:<\/p><pre class=\"wp-block-preformatted\">steamcmd +login anonymous +force_install_dir .\/rust_server +app_update 258550 +quit<\/pre><p>This command logs you into SteamCMD and downloads the necessary server files to the specified <strong>rust_server <\/strong>folder. The number <strong>258550<\/strong> is Rust&rsquo;s Steam ID.<\/p><p>After the installation, all Rust server files will be located in the <strong>rust_server<\/strong> directory. To access them, navigate to the folder using the <strong>cd<\/strong> command:<\/p><pre class=\"wp-block-preformatted\">cd rust_server<\/pre><h3 class=\"wp-block-heading\" id=\"h-3-modify-server-settings\">3. Modify server settings<\/h3><p>After successfully installing the Rust server, you can configure the game server to match your preferences and requirements. To start, navigate to your Rust installation directory using the <strong>cd<\/strong> command.<\/p><p>Rust&rsquo;s primary configuration file is typically named<strong> server.cfg<\/strong>. Open it using the <a href=\"\/uk\/tutorials\/how-to-install-and-use-nano-text-editor\">nano text editor<\/a>:<\/p><pre class=\"wp-block-preformatted\">nano server.cfg<\/pre><p>This file contains various settings you can modify. Here are some of the important ones:<\/p><p><strong>Server name and description<\/strong><\/p><p>Assign a unique name to your server using the line:<\/p><pre class=\"wp-block-preformatted\">server.hostname \"Your Server Name\"<\/pre><p>To add a server description that explains your server&rsquo;s theme or rules, include the following:<\/p><pre class=\"wp-block-preformatted\">server.description \"Your Server Description\"<\/pre><p><strong>Map type<\/strong><\/p><p>Choose the type of map you want to use by modifying the following line:<\/p><pre class=\"wp-block-preformatted\">server.level \"Procedural Map\"<\/pre><p>Several map types you can use include:<\/p><ul class=\"wp-block-list\">\n<li><strong>Procedural Map<\/strong>. Randomly generated landscapes that offer a unique experience in every game.<\/li>\n\n\n\n<li><strong>Barren<\/strong>. A less detailed map for better performance that focuses on simpler terrain.<\/li>\n\n\n\n<li><strong>Hapis Island<\/strong>. Fixed layout with consistent features for predictable gameplay.<\/li>\n\n\n\n<li><strong>Savas Island<\/strong>. Smaller, more combat-focused map, ideal for quicker and more intense matches.<\/li>\n\n\n\n<li><strong>Custom Maps<\/strong>. Created by the community for modified servers, these maps offer varied and unique designs.<\/li>\n<\/ul><p><strong>Server port<\/strong><\/p><p>Port is a network endpoint that game servers use to exchange data with clients. Include the following to ensure the server port is correctly set and allows players to connect:<\/p><pre class=\"wp-block-preformatted\">server.port 28015<\/pre><p>The default port for Rust game traffic is <strong>28015<\/strong>. For the RCON (Remote Console) protocol, it is <strong>28016<\/strong>.<\/p><p>Additionally, <a href=\"https:\/\/www.codecademy.com\/resources\/blog\/port-forwarding\/\" target=\"_blank\" rel=\"noopener\">port forwarding<\/a> on your network is crucial to allow external connections to your server, such as from a local network.<\/p><p>For Rust, this typically involves configuring your router to forward TCP port <strong>28015<\/strong>, ensuring players can connect to your server from outside your network.<\/p><p><strong>Player slots<\/strong><\/p><p>Define the maximum number of players that can join your server. Change the number by editing this line:<\/p><pre class=\"wp-block-preformatted\">server.maxplayers 50<\/pre><p><strong>Combat mode<\/strong><\/p><p>Allow player conflict by setting the<strong> player vs. player<\/strong> or <strong>PvP<\/strong> parameter to<strong> true <\/strong>like so:<\/p><pre class=\"wp-block-preformatted\">server.pve true<\/pre><p>If you want a survival-focused mode with limited or no player combat, set the <strong>PvP <\/strong>parameter to <strong>false<\/strong>.<\/p><p><strong>Game mode<\/strong><\/p><p>Set the game mode according to your preference using:<\/p><pre class=\"wp-block-preformatted\">bamemode.set mode<\/pre><p>Replace <strong>mode <\/strong>with your desired game mode. Here are the options:<\/p><ul class=\"wp-block-list\">\n<li><strong>Vanilla <\/strong>and <strong>survival<\/strong>. The default Rust game mode with normal difficulty and penalties.&nbsp;<\/li>\n\n\n\n<li><strong>Softcore.<\/strong> This mode reduces death penalties and is suitable for a less intense experience.<\/li>\n\n\n\n<li><strong>Hardcore<\/strong>. Your Rust world becomes more difficult with additional survival challenges for experienced players.<\/li>\n<\/ul><p><strong>Other Advanced Settings<\/strong><\/p><p>Adjust crafting speeds with:<\/p><pre class=\"wp-block-preformatted\">crafting.instant true<\/pre><p>Set day and night cycles using:<\/p><pre class=\"wp-block-preformatted\">env.daylength 45<\/pre><p>Add the following to determine the rate at which players gather resources:<\/p><pre class=\"wp-block-preformatted\">gather.rate dispenser 2<\/pre><p>Configure what loot appears in the game using various <strong>loot<\/strong> configuration lines.<\/p><p>After making changes, press <strong>CTRL + X<\/strong>, <strong>Y<\/strong>, and <strong>Enter<\/strong> to exit the editor.<\/p><p>Then, <strong>restart <\/strong>your server for the changes to take effect by accessing<strong> Hostinger&rsquo;s VPS Overview page<\/strong> and clicking <strong>Reboot VPS<\/strong>.<\/p><h3 class=\"wp-block-heading\" id=\"h-4-launch-the-rust-server\">4. Launch the Rust server<\/h3><p>Now that your own Rust server is configured, it&rsquo;s time to launch it and explore the gameplay you&rsquo;ve crafted. Ensure you are in the <strong>rust_server<\/strong> directory, then start the Rust server with the following command:<\/p><pre class=\"wp-block-preformatted\">.\/RustDedicated -batchmode<\/pre><p>If you want to customize the game settings when starting, use this command instead:<\/p><pre class=\"wp-block-preformatted\">.\/RustDedicated -batchmode +server.port 28015 +server.level \"Procedural Map\" +server.maxplayers 100 +server.hostname \"Your Server Name\" +server.identity \"your_server_identity\"<\/pre><p>This startup script initiates the Rust server process with parameters such as port, map type, maximum players, server name, and unique server identity.<\/p><p>After your server starts, monitor your command line for errors or warnings. This is important for checking error messages related to server initialization, network connectivity, and script executions that might cause startup issues.<\/p><p>Once your server is running, open your Rust client, and you should see your VPS in the room list. Alternatively, you can check the connectivity by opening the game console and entering the following command:<\/p><pre class=\"wp-block-preformatted\">connect 123.456.78.90:28015<\/pre><p>Remember to replace <strong>123.456.78.90<\/strong> with your server&rsquo;s actual IP address. You can obtain it from the <strong>VPS Information <\/strong>tab in hPanel&rsquo;s<strong> VPS Overview<\/strong> menu.<\/p><h3 class=\"wp-block-heading\" id=\"h-5-manage-and-maintain-the-rust-server\">5. Manage and maintain the Rust server<\/h3><p>Effective management and maintenance of your private Rust server are crucial for a stable and enjoyable gaming experience. Here are some Rust server management tips for a smooth server operation:<\/p><p><strong>Server backup and maintenance<\/strong><\/p><p>To prevent data loss, regularly back up your server files. Rust server hosting providers like Hostinger offer various features that streamline the backup process.<\/p><p>Our system automatically backs up your VPS data every week. For more frequent backups, opt for the daily<strong> <\/strong>upgrade. Before making any major changes, capture the current state and configuration of your system by creating a <strong>snapshot<\/strong>.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e00f3251dde\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"403\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/09\/hostinger-automatic-backup-configuration-in-hpanel-1024x403.png\" alt=\"Hostinger automatic backup configuration in hPanel\" class=\"wp-image-115261\" srcset=\"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/hostinger-automatic-backup-configuration-in-hpanel-1024x403.png 1024w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/hostinger-automatic-backup-configuration-in-hpanel-300x118.png 300w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/hostinger-automatic-backup-configuration-in-hpanel-150x59.png 150w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/hostinger-automatic-backup-configuration-in-hpanel-768x302.png 768w, https:\/\/www.hostinger.com\/uk\/tutorials\/wp-content\/uploads\/sites\/51\/2024\/09\/hostinger-automatic-backup-configuration-in-hpanel.png 1460w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>These features are accessible under <strong>Backup &amp; Monitoring <\/strong>&rarr;<strong> Snapshots &amp; Backups<\/strong> in your VPS dashboard.<\/p><p><div class=\"protip\">\n                    <h4 class=\"title\">Ask Kodee AI assistant<\/h4>\n                    <p>Hostinger game server and VPS hosting users can ask Kodee AI assistant to manage various apsects of their server. For example, you can ask it to schedule a backup, create a snapshot, check your VPS resource usage, or set up a firewall rule to streamline your Rust server management process.<\/p>\n                <\/div>\n\n\n\n<\/p><p><strong>Rust server performance optimization<\/strong><\/p><p>Monitoring and optimizing server performance is essential. Utilize Rust-specific tools and plugins to track performance, resource usage, and player activity.<\/p><p>Hostinger customers can use the <strong>Server Usage<\/strong> menu in hPanel to check CPU usage, RAM usage, disk space, and traffic data, with statistics available for various time frames.<\/p><p>You can also consider using plugins like <strong>Battlemetrics <\/strong>or <strong>RustAdmin<\/strong> to optimize your server further and prevent crashes.<\/p><p><strong>Player management<\/strong><\/p><p>As the server owner, it&rsquo;s important to regularly communicate with your player community to address their concerns or feedback. Ensure your in-game settings align with their preferences for an enjoyable experience.<\/p><p>For example, use server admin commands to adjust world settings and PvP\/PvE options to ensure fair competition.<\/p><p>Employing <strong>users<\/strong> command options is essential to maintain a positive gaming environment based on community feedback and needs. Use <strong>users kick &lt;username&gt;<\/strong> to temporarily punish misbehaving players, or <strong>users ban &lt;username&gt;<\/strong> for more serious offenses.<\/p><p><strong>Community building<\/strong><\/p><p>Foster a positive community by setting clear rules, moderating players effectively, and encouraging interaction. Regular events or challenges can also greatly enhance engagement.<\/p><p>Furthermore, maintain open communication with your players through forums or chat groups. Implementing player recognition programs or community feedback sessions can also contribute to an active gaming community.<\/p><p><strong>Server wipes and updates<\/strong><\/p><p>Regular server wipes help maintain balance and refresh the gameplay experience. Before doing so, save the current settings by running the <strong>server.writecfg<\/strong> console command and communicate the schedule to your community.<\/p><p>Additionally, ensure your dedicated server is always updated with the latest Rust version for enhanced security, improved performance, and new features. Run commands such as <strong>update_oxide<\/strong> or <strong>app_update 258550<\/strong> to download available patches.<\/p><p><strong>Batch file configuration<\/strong><\/p><p>Use bash script files for more efficient server administration. They can automate tasks like server startup, updates, and backups with a single execution.<\/p><p>Create these scripts using a text editor and save them in your server directory. To make one using Nano, run the following command. Replace <strong>scriptname <\/strong>with your preferred name:<\/p><pre class=\"wp-block-preformatted\">sudo nano rust_server\/scriptname.sh<\/pre><p>Then, enter the command you want to automate. For example, a simple batch script to start the server might look like this:<\/p><pre class=\"wp-block-preformatted\">#!\/bin\/bash .\/RustDedicated -batchmode +server.port 28015 +server.level \"Procedural Map\" +server.maxplayers 100 +server.hostname \"Your Server Name\"<\/pre><p>A server update batch file could be:<\/p><pre class=\"wp-block-preformatted\">#!\/bin\/bash steamcmd +login anonymous +force_install_dir .\/rust_server +app_update 258550 +quit<\/pre><p>For backups, a batch script might be:<\/p><pre class=\"wp-block-preformatted\">#!\/bin\/bash tar -czvf rust-server-backup.tar.gz \/path\/to\/rust_server\/<\/pre><p>After adding the script, save the file by pressing <strong>Ctrl + X<\/strong>, <strong>Y<\/strong>, and <strong>Enter<\/strong>. Make it executable by running this command:<\/p><pre class=\"wp-block-preformatted\">chmod +x scriptname.sh<\/pre><p>To execute the script, enter the folder containing the file, which in our case is <strong>rust_server<\/strong>. Then, simply write their name into your command-line interface like so:<\/p><pre class=\"wp-block-preformatted\">.\/scriptname.sh<\/pre><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Setting up a Rust server lets you install mods and create custom in-game rules. To do so, you need a VPS hosting provider that meets the minimum requirements and offers various features that simplify the setup, like Hostinger.<\/p><p>Hostinger Game Panel users can easily host a Rust server in a few clicks. After completing the onboarding process, log in to Game Panel and create a new instance. Wait until the server finishes downloading the components, and you are all set.<\/p><p>If you want to use a different operating system or install additional software, you can set up a Rust host manually using commands. Connect to your remote system via SSH and create a new superuser. Install SteamCMD and download the server components.<\/p><p>After configuring your server using a text editor, launch it by entering the startup command. To maintain a fair and enjoyable gameplay, regularly maintain your Rust server. This involves monitoring performance, moderating players, adjusting the in-game settings, and updating the server components &ndash; you can easily do it in Game Panel via graphical UI.<\/p><p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rust is an ever-popular multiplayer survival game in which players gather resources and build shelters to survive in an unforgiving environment. Not to mention, other players are prowling around to steal some hard-earned loot from you. While the default modes are already fun, you can enhance your gameplay experience by setting up your own dedicated [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/uk\/tutorials\/how-to-host-a-rust-server\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":130,"featured_media":129459,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to host a Rust server in %currentyear%","rank_math_description":"Learn how to host a Rust server: 1. Set up your VPS 2. Install the Rust server 3. Modify server settings 4. Launch the Rust server + more.","rank_math_focus_keyword":"how to host a rust server","footnotes":""},"categories":[22640],"tags":[],"class_list":["post-99819","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-host-a-rust-server","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/como-criar-servidor-rust","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/heberger-serveur-rust","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/como-crear-servidor-rust","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/cara-membuat-server-rust","default":0},{"locale":"de-DE","link":"https:\/\/www.hostinger.com\/de\/tutorials\/rust-server-hosten","default":0},{"locale":"it-IT","link":"https:\/\/www.hostinger.com\/it\/tutorial\/come-ospitare-un-server-rust","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-host-a-rust-server","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-host-a-rust-server","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-host-a-rust-server","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/como-crear-servidor-rust","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/como-crear-servidor-rust","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/como-crear-servidor-rust","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/como-criar-servidor-rust","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-host-a-rust-server","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-host-a-rust-server","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-host-a-rust-server","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-host-a-rust-server","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/posts\/99819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/users\/130"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/comments?post=99819"}],"version-history":[{"count":24,"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/posts\/99819\/revisions"}],"predecessor-version":[{"id":129458,"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/posts\/99819\/revisions\/129458"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/media\/129459"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/media?parent=99819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/categories?post=99819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/uk\/tutorials\/wp-json\/wp\/v2\/tags?post=99819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}