Rust Server Startup Script Generator

Generate a complete Windows (.bat) or Linux (.sh) startup script for your Rust dedicated server. Configure all server flags, RCON, and optional auto-restart loop.

Script Type

Server Settings

Folder name for save data and logs.

1 0006 000

Map size in meters. Larger maps require more RAM and CPU.

Leave blank for a random seed each restart.

Options

start.bat

Windows Batch script

@echo off
title Rust Dedicated Server

:start
RustDedicated.exe -batchmode -nographics +server.identity "my-server" +server.hostname "My Rust Server" +server.worldsize 3000 +server.maxplayers 100 +server.port 28015 +rcon.port 28016 +rcon.web 1

echo Server stopped. Restarting in 10 seconds...
timeout /t 10 /nobreak
goto :start

Deployment tip

Place the script in the same directory as RustDedicated.exe (or the Linux equivalent). On Linux run chmod +x start.sh first. Open the required ports in your firewall: the server port (default 28015/UDP) and RCON port (default 28016/TCP).

Private Rust hosting

Run your own Rust server.

Rent a private Rust server on real hardware — full control-panel access, your mods, your configs, your rules. It's your server; run it your way.

Rent a Rust server Real hardware · Full control panel · 98% SLA

Don't want to run it yourself? Our managed services & consulting team will set it up and keep it running for you — game servers, Windows, Linux, and cloud, from 10+ years of MSP work.