menu_bookDocumentation

Dedicated Servers: Installation, Configuration, and Command Line

calendar_today May 20, 2026 schedule ~1 min read person PatrickJr verified 50

s&box dedicated servers run headless and can be installed via SteamCMD. They host multiplayer games without requiring the full editor.

Installation

Install via SteamCMD (app ID 1892930):

BASH
./steamcmd +login anonymous +app_update 1892930 validate +quit

Use -beta staging for the staging branch (may not be compatible with all clients).

Running the Server

Windows (.bat file)

BAT
echo off
sbox-server.exe +game facepunch.sandbox facepunch.flatgrass +hostname My Dedicated Server

Linux (requires .NET Runtime)

BASH
#!/bin/bash
./sbox-server.exe +game facepunch.sandbox facepunch.flatgrass +hostname "My Dedicated Server"

Command Line Parameters

SwitchArgumentsDescription
+game<packageIdent> [mapIdent]Game package to load, optionally with a map
+hostname<name>Server title visible to players
+port<port>Hosting port
+netqueryport<port>Query port for server info (player count, map)
+netgameserver_token<token>Optional persistent Steam ID token (from steamcommunity.com/dev/managegameservers)

Local Projects

You can pass a path to a .sbproj file to load a local project. Connected clients receive code changes and hotload them — useful for development and testing.

Key Notes

Was this helpful?