This repository contains a PowerShell script to automate downloading, updating, and launching a Rust Dedicated Server using SteamCMD.
- Automatically downloads and updates SteamCMD if not present.
- Installs or updates the Rust Dedicated Server (AppID: 258550).
- Configures server identity, ports, RCON, world generation, and performance settings.
- Launches the server with custom parameters.
-
Clone or Download this repository to your server.
-
Edit
Start.ps1to customize server settings (IP, ports, server name, etc.) as needed. -
Run the script in PowerShell:
./Start.ps1- The script will:
- Download and extract SteamCMD if missing.
- Install or update Rust Dedicated Server.
- Create necessary configuration files.
- Start the server with your specified settings.
- The script will:
- Server settings can be changed at the top of
Start.ps1. - The script creates and uses a
server.cfgfile inserver/Tranquility/cfg/. - Update frequency is controlled by the
last_update.txtfile (updates if older than 1 day).
- Windows Server or Windows 10/11
- PowerShell 5.1 or later
- Internet connection for downloading SteamCMD and server updates
Start.ps1: Main automation script.update_script.txt,last_update.txt: Used internally by the script.steamcmd/: Directory where SteamCMD is installed.RustDedicated.exe: Rust server executable (downloaded by the script).
- Make sure required ports are open in your firewall.
- For advanced server configuration, edit
server.cfgor pass additional arguments in the script.