RUST

From TRUgaming Wiki
Jump to navigation Jump to search

Main_Page | All Supported Games

RUST
Rust1.png Rust’s world is harsh. The environment is not kind. Bears and wolves will chase and kill you. Falling from a height will kill you. Being exposed to radiation for an extended period will kill you. Starving will kill you. Being cold will kill you. Other players can find you, kill you, and take your stuff. Fortunately for you, you can kill others and take their stuff. Or maybe you can make friends and help each other survive, using the game’s building tools to create a safe haven.
General Help Server Admin Info
Noob.png * Noobs Admin.png * Server Configuration
Wipeicon.jpg * Server Wipe Umod.png * Modding your Server using Oxide
Admin.png * How to connect to my server Admin.png * Server Administration

Noobs

All TRUgaming servers are by default vanilla, this means, NO mods or plugins.

Do's Dont's
  • Make sure you can connect to your server. Play around and make sure it all works before you start adding any mods/plugins.
  • If you have uploaded a plugin to your server, pay attention to the plugin name.
  • Example:
    Uploading: ExtendedRecycler.cs - RIGHT
    Uploading: ExtendedRecycler(1).cs - WRONG
  • Make yourself server Admin, instructions on this are here.
    • Try out some of the Admin commands.
  • For the more adventurous, try out the RCON utilities. Things like RustAdmin or WebRCON. They can be useful admin tools.
    • For additional info, take a look at the RCON section.
  • If you are watching your server console when the server starts and see the following message:
    ........ proceduralmap.4000.1654210.182.sav not found
    DO NOT PANIC!!!, especially if you have just changed either the map size or seed.
    There is no .map file for the NEW map, so there is NO .sav file
  • If you decide to add mods to your server, you will need to install Oxide. Oxide is a Plugin Manager, so any mods you want will be governed by the game and Oxide.
    If you are going to use Oxide, make sure you read the documentation on Oxide, especially its permissions system as a lot of plugins use this.
    Oxide installation instructions Here.
  • IMPORTANT:
    Any time Rust updates there is usually an Oxide update (or two or three), DO NOT FORGET TO UPDATE OXIDE!!!!
    Steps:
    Update Rust
    Update Oxide
    Update any plugins
  • Make sure you watch the Oxide Rust page for details on what is updated. Sometimes, certain features are disabled and can break mods.
  • Read the plugin documentation closely. Look for special installation instructions or additional configuration requirements as well as permissions that may need to be set.
    Other things to look for include but not limited to; dependencies on other plugins, conflicts with other plugins, the age of the plugin and when it was last updated.
    There are lots of plugins out there, but not all will work with the latest versions of Rust and/or Oxide. You could spend hours troubleshooting for no reason other than this.
  • Some plugins use the Oxide permissions system. If you do not setup the appropriate permissions, chances are your plugin(s) will not work.
    More on the Oxide Permissions system can be found Here.
  • When adding your plugins, add one or two at a time and test them to make sure they work. Adding a whole bunch at once can complicate troubleshooting especially if there is a conflict.
    If you run into an issue, remove all but the one you feel is causing the issue and work on getting it running as expected, then add the other know working ones back in.

Top

Handy Links

Connecting to my Server

I can't Find my server


    In-game Server List: i can take a while for it to show up in the Rust in-game list..this is because of Steam and Rust
            Not TRUgaming.
    Make sure your server: 1) is started and 2) if you have made recent changes..make sure you did not break anything!!!!
            We don't know what you changed so it is hard for us to help unless you remember what you did
    If you Reinstalled your server and chose the "Default" option and did not change your server name.. 
            Your server name is now "Rust Server"

Top

Manual Connect

  1. Press F1 to open the console
  2. Enter connect <IP Address> : <Port number>
    Example: connect 123.123.123.123:25000

If you get the message:
Disconnect reason: Wrong Connection Protocol: Server Update Required
Disconnected (wrong Connection Protocol: Server update required) - returning to main menu
You need to run a Steam Update on your server

Top

Favorites Connect

  1. Add your server to your Steam /Servers/Favorites
  2. Launch your Rust game
  3. Click on FIND GAME
  4. Click on Favourited
    You server should appear in the 'server name' list
  5. Click on your server name
  6. Click on JOIN SERVER


Top

Server Configuration

How To Change My Server Name/Description

  1. From your Game Control Panel:
    Gamesrvmgt.png
  2. Stop your server by clicking on the Stop icon
    StopServer.png
  3. Click on the Configuration Files icon
  4. Edit your active Server profile (By default this is my_server_identity, default is Server1), by clicking on the Text Editor link next to the appropriate server.cfg file
    RustCfg.png
    You can confirm which Server is active by looking at your active Command Line, under the Commandline Manager, if you are using something other than the default.
    RustCmdline.png
  5. To change your Server Description
    Locate the following line(s):
    ## Sets the "Description" portion of the in game browser.
    server.description "Welcome to the Rust server \nThis server is hosted by TRUgaming.com \nWe hope you enjoy your stay, and have fun!"
    Edit the section between the quotes
    NOTE You can use the \n to force a new line in your description
  6. To change your Server Name:
    Locate the following line(s):
    ##Sets a hostname.
    server.hostname "Rust Server - TRUgaming.com Hosted"
    Edit the section between the quotes
  7. Save your configuration file
  8. Return to your Service Information tab and Start your server back up

Top

How to change Map Size and Map Seed (AKA New Map)

The predefined command lines have the following options.

  • RCON Password
  • Server Identity - we provide 3 options Server 1, Server 2 and Server 3 ( more on Server Identity here)
  • Server Level - this is the map that the server will start on (see Server Identity section below for more information)
  • Map Seed - The seed used to generate the procedural level. Should be between -2,147,483,647 and 2,147,483,647
  • World Size - default 4000; range : 2000 to 6000 ; map size in meters
  1. Stop your server
  2. Click on the Commandline Manager icon.
  3. Make the appropriate changes as detailed above
  4. Click Apply
  5. Start your server

NOTE: If you have changed the Map Size or Map Seed values it can take several minutes for your server to generate the new map files, so PLEASE BE PATIENT!!


    PLEASE NOTE: 
      THE LARGER THE MAP SIZE THE MORE RAM YOU WILL REQUIRE.  
      A 6000 map size (36 square kilometers) will use 6GB of RAM by default.  This is before you start adding mods and playing.

      A map size value equal to or greater than 5000 will result in you reaching the 6GB RAM limit for your server fairly quickly

Custom CommandLines

Our command line implementation provides enough stock information for you to get your server up and running.
The custom command lines have the following options.

  • Description - a short name for your new command line (Required)
  • Server Identity - we provide 3 options Server 1, Server 2 and Server 3 ( more on Server Identity here)
  • No Decay - adding this option to your command line will add the necessary options to stop building and other decay in the game
  • Server Level - this is the map that the server will start on (see Server Identity section below for more information)
  • Map Seed - The seed used to generate the procedural level. Should be between -2,147,483,647 and 2,147,483,647
  • World Size - default 4000; range : 2000 to 6000 ; map size in meters

If you want the option active, make sure you click on the check box: By creating two additional Custom Command line options we basically have provided you with three servers in one. Remember, only one is active at a time :-)

Server Identity

We provide 3 Server Identity options, here after referred to by <server identity>. This allows you to configure 3 seperate playing environments (maps, world size, admins, server name, etc)
These can be found under the Server folder and are named:

  • my_server_identity (default)
  • my_server_identity_2
  • my_server_identity_3

Each has its own separate configuration file named server.cfg which is located in the cfg folder under each <server identity> folder.
Rustservid.png
The /cfg/server.cfg file initially contains all the required info for the server to run.
A copy of this information is also in each of the server.cfg in the different <server identity> folders.
If the server/<server identity>/cfg/server.cfg file does not exist or is empty

  • Open up a copy of your /cfg/server.cfg file and copy (Ctrl A, and Ctrl C) the contents, then paste the contents into the server.cfg file under the appropriate <server identity>/cfg/server.cfg ' file.

or

  • Download a copy of your /cfg/server.cfg file to your local PC, navigate to the server/<server identity>/cfg/ folder and upload the server.cfg file there.

When the server starts it uses the <server identity> that is configured in the Default Commandline or if set the Selected/active Custom Commandline

The <server identity>/cfg/ folder also contains copies of your bans and users.cfg files:

into the appropriate <server identity>/cfg/ folder so depending on which server you are running, you can have different admins, etc.

Custom Maps

   ** NOTE **
         DropBox seems to be the best option

Website Hosted Map

  1. Make sure you've installed Oxide from your servers Mod Manager! (and make sure it is working)
  2. Upload your map to something like Dropbox.
    * Make sure you copy the download link
    * Make sure you allow enable downloading so others to download the file
  3. Under the Commandline Manager, Select the Custom Map command line
  4. In the Server Level input box, paste the URL for the map
    Example: https://www.dropbox.com/<some additional stuff here>/yourmapname.map?dl=1
    If using Dropbox, make sure you include the ?dl=1 in the line
  5. Click on the Apply option. This will restart your server.

Top

Server Administration

Config File Changes

Best Practices

  1. Stop your server before making any config file changes Wait a few minutes before you START your server back up)
  2. Before you make any changes you make to the <server identity>/cfg/server.cfg file(s), you should run the Backup Server Configs option from the Service Information tab.
  3. START or RESTART your server for changes to take effect.



PLEASE WAIT at least 5 minutes before attempting to connect to your server after any RESTART or STOP/START

The variables used in the configuration files are very specific, any typos and your server will either not run or the feature you are trying to tweak will not work as expected.

Some of these commands can be issued via RCON, RUSTAdmin.

Source: Rust Dedicated Server Wiki

Server Password Protection

Please Note: RUST does NOT offer password protection by default, so anyone can connect to your server when it is up and running.

To restrict unwanted users from joining your server you have two options, both require the use of the Oxide Mod
You can either use a Whitelist plugin or Password plugin for Oxide. Have a look at the Oxidemod.org website for more information.

REMEMBER:

  1. When adding plugins, that you use one that is up to date and/or compatible with the version of Oxide/RUST you are running.
  2. TRUgaming cannot offer support for the plugins, you will need to contact the developer.

Server Wipe

Forced Wipe
  • Map Wipes occur when the game server’s admin performs a manual Map Wipe or
    is required to force wipe, due to a server update released from FacePunch Studios.
Map Wipe Blueprint Wipe
  • A Map Wipe in RUST is when the game server has effectively wiped or destroyed all of the entity information that has built up on the server.
  • Player made buildings and objects are deleted from the server’s database and resources are reset across the entire map. NPC buildings, rad towns,
    caves and other natural terrains stay in place, unless the server’s seed is also changed.
  • A Blueprint Wipe is when player data such as; blueprints, user entries, positions, inventories, are deleted from the server.
  • This is often used to give the player base a fair advantage, with everyone starting from scratch again.

How To Wipe Your Server

  1. Log into your game control panel.
  2. Stop the RUST server.
  3. Open the File Manager.
  4. Navigate to the following folder: server/my_server_identity/ (or the appropriate active server identity folder)
    See the appropriate section below
  • Delete Map Data
    • Locate the \server\<active_server_identity>\ folder.
      For your <active_server_identity> , check your Selected command line or Selected Custom Commandline
    • Delete the “.sav” and “.map” files in this folder.
  • Delete Blueprints
    • Locate the \server\<active_server_identity>\ folder.
      For your <active_server_identity> , check your Selected command line or Selected Custom Commandline
    • Delete the player.blueprints.*.db file.
  • Delete Player Data
    • Locate the \userdata folder in the root of your server
    • Delete these folders.

Top

Server Admin

RUST ADMIN Roles

ownerid – This is an admin role that allows the creation and deletion of other admins.
moderatorid – This is an admin without the ability to create and delete other admins.

Adding/Editing users.cfg File

NOTE: This file may not exists.
This file, if it exists, can be found in your \server\<server identity>\cfg folder
Rustadmin.png
If not you create create a new file, by clicking on the New File icon and entering in the name users.cfg once in the appropriate folder


  • Before you go any further... you will need to get the SteamID64 for any Admins/Moderators you want to add.
    Go here for more info on how to do this SteamID64
  1. Stop your server
  2. Open your File Manager and locate the users.cfg file (as shown above)
  3. Create/Edit the file as needed
    Example:
    ownerid 76561198308XXXXXX "Name" "noreason"
    moderatorid 76561198308XXXXXX "Name" "noreason"
    Replacing 76561198308XXXXXX, Name and noreason with the appropriate values
    DO NOT SIMPLY COPY AND PASTE THE ABOVE LINES
  4. Save file
  5. Start your server (wait a few minutes for your server to start back up...before you try to connect)


Once you have added yourself as an admin on the server, you will need to exit your game if you are currently connected to your server and log back in,
so you can use the available admin commands from the in-game F1/Console or you can simply issue any and all admin commands from the RustAdmin interface.

Top

Using RustAdmin

Install an RUSTAdmin program on your PC (https://www.rustadmin.com/)

Before you configure RustAdmin:

  • On the Service Information tab, there is Server RCON Info icon. Click on this and execute the script.
    This will display the necessary RCON info for you to set up RustAdmin

To configure Rust Admin

  1. Click the Configuration tab
  2. Select the WebRcon option under RCON Type (VERY IMPORTANT you chose this option)
    • In the Server window
      • Enter your server's IP in the IP section (do not include the port)
      • Enter the server port in the server port section
      • Enter the RCON port in the RCON Port section
      • Enter the RCON password **NOTE** RustAdmin does not like special characters in the RCON password
  3. Click on the Save button
    • By default your Configuration will be New Configuration, you will be prompted for a new configuration name.
      Enter this and click Ok

RustAdmin.png

  • For more information on other configuration options see the RustAdmin documentation by clicking on the Help and Support link in the RustAdmin application
  • Before you go any further... you will need to get the SteamID64 for any Admins/Moderators you want to add.
    Go here for more info on how to do this SteamID64


RCON (Remote Console)

Change RCON Password

  1. Click on the Commandline Manager icon
  2. Click on the 'Selected' link (Right hand side) for your active commandline or go to the Custom Commandline (if you have a Custome Commandline in use) and select it there.
  3. This will open a series of input boxes, one of which is your RCON password, change as appropriate. DO NOT USE ANY SPECIAL CHARACTERS - @#$%^&&*)
  4. Click on th e'Apply link to update the commandline
    This will force a server restart
    Give it a little time before attempting to connect

WebRCON

On the Service Information is a WebRCON link, this take you to the Facepunch WebRCON site: WebRcon
We are not responsible or this site, if it is down contact them not TRUgaming. It is provided a resource only

  1. Click on the WebRCON link Webrconlink.png and this will take you to the above site.
    It will pre-poulate your IP Address and RCON port information
    Webrconsite.png
  2. Enter your RCON password and press CONNECT
    If you do not remember your RCON password you can find it;
    1. By clicking on the Commandline Manager, the RCON passowrd is listed next tot he +rcon.password item in the list, or
    2. By Clicking on the RCON Info icon on the Service Information tab.
      Click on the OK button the Execute the Script. This will open a window and provide you with the necessary information
~~~~~~~~~~~~~~~~~~~~~
IP Address: <IP ADDRESS>
Game Port: <PORT #>
RCON Port: <PORT #>
RCON Password: <RCON Password>
~~~~~~~~~~~~~~~~~~~~~
The script has executed successfully. You may close this window.

Scheduling RCON Messages

Server Auto Announcements for RUST is essentially scheduled a command
Auto Announcements are a useful for giving information to users when your not online.

To set up a command you open the Scheduled Tasks Tab in your Cpanel

  • New Task (Console/RCON Command)
  • Enter your PW for your Rcon
  • Command to Execute: Say “your message” Will be a server message
  • Name: Name your Message (For organization)


Now depending on how often you want your command to run (for me I like every 45 to 75min)

  • Type: Daily
  • Start: Day and time you want the first message
  • Recur Every: 1 Day
  • Repeat task: Check
  • Repeat Every: (how often you want it) Minutes
  • For: 24 Hours


Examples
say "(Feature Reminder) Need an admin? Reach an admin on the community Discord, link found on our website www.yoursite.com!"
say "(Rule Reminder) Full list of rules and to report abuse - Visit our website www.yoursite.com”

We would like to thank Jason Longo for putting this together.

Top

Rust Admin Commands

With recent changes to RUST, several of the websites that you will find when searching for 'RUST admin commands' are out of date.
The ones that we have found to be most up todate are:


Top

Server Performance

Things that can Impact your server

  • Restarting the server can improve performance. It is common for heavily modded servers to restart daily (or more). Vanilla servers tend to restart much less frequently.
  • Use decay and upkeep settings that work for your server and help to control the growth of entities. You can change decay and upkeep settings to make them more or less aggressive (there are lots of oxide plugins that adjust decay as well).
  • Unused raided bases and random clutter on the map just waste entities.
  • Every time the server saves it impacts players. Consider setting the save interval longer (server.saveinterval).
    Currently the default is 600 seconds set by default in the commandline: +server.saveinterval 600
    Add server.saveinterval <interval to your <identify>/cfg/server.cfg file to override the commandline value
  • Animal AI appears to have a large impact on server performance. Many owners will turn off animal AI at peak times (ai.think 0). This does impact gameplay (bears won’t attack for example) but it might be worth the extra performance.
  • Some extensions/plugins are more expensive (performance-wise) than others. And it depends on what they are doing. If a plugin is doing a bunch of stuff every tick (OnTick) or is looping through every single entity frequently it can cause issues.
    It can also happen if a plugin has created and is using a large data file (stored within /oxide/data) – clearing out large data files is often advised between server wipes.
  • RUSTIO and LustyMap are examples of an extensions/plugins that do a lot. And so they could have an impact on server performance.


Rust Server Memory

Rust continues to eat memory. From some some testing we have done we have established the following:

Rustmemory.png * This is before you even start to play and create anything on the server

The default Map Size is 4000


Top