How to: Host Your Own Rust Server — Rustafied

March 26, 2018 | Author: hellios81 | Category: Command Line Interface, Server (Computing), System Software, Computing, Technology


Comments



Description

How to: Host your own Rust server — Rustafiedhttp://www.rustafied.com/how-to-host-your-own-rust-server/ Rustafied On The Pulse of Rust U P D AT E S GUIDES SERVERS How to: Host your own Rust Dedicated Server Decided to run a Rust Dedicated Server? The installation and set-up for the Rust Dedicated Server is very easy and straightforward. This guide is for the installation of a server on a Windows PC. For Linux, please check out our How to host a Rust server in Linux guide. System Requirements 1 of 13 10/23/16, 12:16 PM will download.How to: Host your own Rust server — Rustafied http://www. 2 of 13 10/23/16. Execute the steamcmd. when executed. Create a folder for SteamCMD such as C:\steamcmd Download SteamCMD for Windows. After some stress testing and 150k entities later. (Your computer may ask you to confirm that you want to run it. So I would suggest having at least 7 gigs allocated per server. install and update to the lastest version of SteamCMD. As a baseline a 3 square km (default gen size) map freshly generated will run at close to 2 gigabytes of ram.rustafied.com/how-to-host-your-own-rust-server/ The Rust server can be taxing on your host but maybe not as much as you would think. can use 6+ gigabytes of memory.exe program. Extract the contents of the zip file to the folder you created.) This file. 12:16 PM . The force_install_dir is not strictly necessary when running a single server instance. at the Steam> prompt. Run the following commands. but would be required to run multiple instances of the server. login anonymous force_install_dir "c:\rustdev\" 3 of 13 10/23/16. If you want to download the staging branch of Rust that receives the most recent updates use the following commands (replace 'staging' with 'prerelease' to test the XP system). to start downloading the Rust Dedicated Server. login anonymous force_install_dir "c:\rustserver\" app_update 258550 quit If you wanted to do all of this in one command use the following: C:\steamcmd\steamcmd. batch file or make a shortcut for it. 12:16 PM .exe +login anonymous +force_install_dir c:\rustserver\ +app_update 258550 +quit You could run this command straight from your command prompt.rustafied. one at a time.How to: Host your own Rust server — Rustafied http://www.com/how-to-host-your-own-rust-server/ After it is done you will receive the Steam> prompt. Configuring and running the server To get a server instance up and running you need to make at least one batch script file. Modified servers require a little more work. The easiest way to do this is by using the GOTO statement.How to: Host your own Rust server — Rustafied http://www. The Batch Script File A batch script is a text document that stores a list of commands to be run in sequence.com/how-to-host-your-own-rust-server/ app_update 258550 -beta staging quit These are all of the necessary files required for a “Vanilla” server.rustafied.bat in your server install directory (c:\rustserver) then right click and edit the file. The main use of a batch script for hosting a server is to enable the server owner to make sure their server is up to date and if the server crashes that it will resume. create a file named RustServer. GOTO will allow you to jump around in your batch script to any other part of the batch file. 12:16 PM . 4 of 13 10/23/16. To start. For the most part. In this case the server will not restart if the process hangs because the process did not actually stop.exe) but if that process never completes the batch script will just sit there.maxplayers 50 -server.identity Rustafied_com_Guides -autoupdate goto start TIP: I use a slightly different method for my batch script files. The config files for the server don't quite work yet so explicitly defining all of your settings in the batch script is the best way to go.worldsize 4000 -server.How to: Host your own Rust server — Rustafied http://www. but so am I. Note that a caret “^” has been placed as the last character at the end of main program name and the 5 of 13 10/23/16.port 28015 -server.exe +login anonymous +force_install_dir c:\rustserver\ +app_update 258550 +quit RustDedicated. All the different variables on the same line makes it very hard for me to quickly understand what I see and make changes if needed. Batch scripting waits for a command to complete (in this case the RustDedicated.com/how-to-host-your-own-rust-server/ It’s important to note that Rust sometimes hangs instead of completely closing.seed 8675309 -server. you will have to configure all of your server settings in this batch script.hostname "Rustafied.rustafied. 12:16 PM . This method is very old-school.exe -batchmode -server.com Guides" -server. Example: echo off :start C:\steamcmd\steamcmd. port 28017^ -server.How to: Host your own Rust server — Rustafied http://www.exe^ -batchmode^ -server.seed 8675309^ -server. Basically.com Guides . But it runs as if it was all on one line.hostname "Rustafied.Test"^ -server. echo off :start C:\steamcmd\steamcmd. Windows does not do anything for this particular ESC-combination.description "Functional server testing for Rustafied.com/how-to-host-your-own-rust-server/ variables that follow."^ -server.com"^ -server.com /ujMCXvA.rustafied.com Guide editors. Windows interprets the caret “^” as an ESC character and waits for the next character to determine what to do.imgur.png"^ -server.maxplayers 50^ 6 of 13 10/23/16.exe +login anonymous +force_install_dir c:\rustserver\ +app_update 258550 +quit RustDedicated. so they are ignored as if they are not there. the next character is a carriage-return (or new-line). In this case.headerimage "http://i. 12:16 PM . Be sure to include the space at the beginning of each variable line or it will not work.url "Http://rustafied. How to: Host your own Rust server — Rustafied http://www. Values range from 0 to 429497295.port Sets the port the server will answer incoming requests (defaults to 28015) server. The server is configured using variables. 12:16 PM . These are considered the most commonly used variables.rustafied. server.hostname Sets what the server will be called in the Rust server listing. However. but there are many others. server.maxplayers is the max number of players allowed to connect to your server at a time.worldsize 4000^ -server.com/how-to-host-your-own-rust-server/ -server.seed is the map generation seed. server. they will revert to the ones in the command line after a restart of the server.worldsize sets the size of the 7 of 13 10/23/16.identity Rustafied_com_Guides^ -autoupdate goto start You should already be familiar with the steamcmd section and this will login anonymously. if these variables are changed from the console. force the install location. server. These variables are the same ones you can set from the server console or the console of anyone you give moderator or owner permissions to. update the files if needed and then quits SteamCMD. url if provided. server. 12:16 PM .How to: Host your own Rust server — Rustafied http://www. use \n server.description is a brief description of the server. server. gives a ”VIEW WEBPAGE” option on the server listing screen. Use a png or jpg of 512 x 256. These variables and more can be searched in the server console by using the find command.headerimage allows you to provide a url to a custom image for the server listing screen. For multiple lines. Big fan of the underscore “_”.rustafied.identity is a variable to define different identities for your server. The minimum is 2000 and the max is 8000. server. Do not use spaces or special characters.com/how-to-host-your-own-rust-server/ generated world. For example: 8 of 13 10/23/16. With this you can have multiple server instances. com/how-to-host-your-own-rust-server/ Connecting to your server Run the Rust Client. 12:16 PM . and do not select a server.How to: Host your own Rust server — Rustafied http://www. Note that your server will not show up under the “Local Network” 9 of 13 10/23/16.rustafied. How to: Host your own Rust server — Rustafied http://www. change it accordingly. You will need your 17 digit SteamID number. type in the following command to connect to your server: client. is to log in and then run the users command at the console. Owners and Moderators Once the server is up and running you may choose to assign ownership to yourself. Instead.connect localhost:28015 If you used a different port. press F1 and go to the client console.com/how-to-host-your-own-rust-server/ tab. Assuming you used the default port of 28015.rustafied. The easiest way to get it. This is done with the ownerid command. 12:16 PM . Then enter the command as follows: ownerid 12345678901234567 AdminName For example: ownerid 12345678901234567 "Admin Name" You can do the same for moderators using the 10 of 13 10/23/16. port” if used. if the name has spaces or special characters in it.port” as well as “rcon. The two permissions are almost identical. You will need to forward your “server. Owners can create. I recommend using this Steam Server Guide if you are unfamiliar with setting up port forwarding. kick and ban moderators if needed. Even if your server does not show up on the server list. Be sure to use the writecfg command after doing this and then the person must logout and log back in to receive the permissions. 12:16 PM .How to: Host your own Rust server — Rustafied http://www. you must use quotes to contain the name. you will need to setup a port forward using the port you used listed above. 11 of 13 10/23/16.rustafied. but moderators cannot affect owners. By default these are 28015 and 28016.com/how-to-host-your-own-rust-server/ moderatorid command moderatorid 12345678901234567 "Admin Name" Note: As with most commands that allow the use of player names. Sharing Your Server with the World If you wish others to be able to connect to your server from the outside world. connect command if they know your public IP.com/how-to-host-your-own-rust-server/ players may be able to connect to you via the client. For those that want to run a “Modded” server. Local firewall programs can also affect the ability to connect from the outside world. coming shortly. see the “Modding a Server Guide”. Anything that wasn't covered please see. this doc and be sure to comment on our forum. If you suspect this.rustafied. 12:16 PM . coming shortly. More information can be found in the “Advanced Configuration Guide”.CatMeat 12 of 13 10/23/16.How to: Host your own Rust server — Rustafied http://www. . turn off the firewall briefly. 12:16 PM .com/how-to-host-your-own-rust-server/ © Rustafied 2016 Contact | Community | VIP 13 of 13 10/23/16.How to: Host your own Rust server — Rustafied http://www.rustafied.
Copyright © 2024 DOKUMEN.SITE Inc.