Host a server
Official servers
See them live, with their players and wipes: rustlegacy.io/servers.
There are two ways to play together:
- Lobby: in the main menu, host game starts the island on your own computer. Friends join from their server browser (play game > lobbies) or through your Steam profile. The world only runs while you play.
- Dedicated server: a separate program (
sbox-server) runs the island without a player, so the world keeps running when nobody is online. Players find it under play game > servers.
This page explains the dedicated server. Facepunch’s own guide covers the engine side in more detail: https://sbox.game/dev/doc/networking/dedicated-servers/.
Set it up with an AI assistant
If you want an AI assistant (ChatGPT, Claude, Gemini…) to guide you, copy this prompt into it. It reads this page, asks about your machine, then walks you through the setup one step at a time. Read each command before you run it, and never paste a password or a token into the chat.
You are helping me host a Rust Legacy dedicated server (a game mode for s&box). First read the hosting guide: https://docs.rustlegacy.io/hosting/all/ If you cannot open it, ask me to paste it. Follow the guide; when it does not cover something, say so instead of guessing.
Before giving any command, ask me:- Where the server will run: a rented VPS, a dedicated server or my own computer, and its system (which Linux distribution, or Windows).- How I reach it (SSH, remote desktop) and how used I am to a terminal.- How many players I expect and the rules I want (PvP or PvE, gather rate, bots, monthly wipes).
Then guide me one step at a time, and wait until I confirm a step worked before the next one:1. Install SteamCMD and the s&box dedicated server (app 1892930).2. Write the start script with my server name and settings.3. Make the server start with the machine and restart if it crashes (a systemd service on Linux, a service or scheduled task on Windows).4. Make me admin in config/users.json with my SteamID64.5. Check the server shows under play game > servers, then set up backups of the world save.
Explain what each command does. When I paste an error, find its cause and fix it before going on. Never ask me to paste a password or token here: tell me where to put it instead.