s&box Launch Command Builder
Build the exact sbox-server.exe launch command — +game (published or local .sbproj), +hostname, +port, +net_query_port, +net_game_server_token, optional map package. Validates branch (main/staging) requirements and outputs ready-to-run Run-Server.bat / run-server.sh.
Without a token, your server gets a fresh Steam ID on every restart — players have to re-add it.
Set the branch when installing via SteamCMD Builder.
Save as Run-Server.bat next to sbox-server.exe (default install at steamcmd/steamapps/common/sbox dedicated server).
How to use
- Install the s&box dedicated server using our SteamCMD Builder (app 1892930).
- Pick Published Package for a normal multiplayer server (e.g. facepunch.sandbox + facepunch.flatgrass), or Local .sbproj if you need server-side
#if SERVERcode. - Generate a GSLT at steamcommunity.com/dev/managegameservers to keep a stable Steam ID across restarts.
- Save the generated
Run-Server.batnext tosbox-server.exeand run it. - Add admins via users/config.json Generator.
s&box Dedicated Server Launch Flags
Facepunch documents five command-line switches for the s&box dedicated server (sbox-server.exe). They're passed as +convar value pairs — internally each is a console variable or command that fires at boot.
| Switch | Arguments | Description |
|---|---|---|
| +game | <packageIdent> [mapPackageIdent] | Game package to load. Either a published org.name ident or a path to a local .sbproj. Optional second arg = map package. |
| +hostname | <name> | Title shown in the server browser. |
| +net_game_server_token | <token> | GSLT to keep a stable Steam ID across restarts. Get one at steamcommunity.com/dev/managegameservers. |
| +port | <port> | Listen port. Default 27015. |
| +net_query_port | <port> | Query port (player count, current map). |
Published vs Local .sbproj
Most players run published games — a single +game facepunch.sandbox pulls everything from sbox.game. But if your game has server-side code that should stay private (an API key, database calls, anti-cheat logic), you have to run a local project. Pass a path to your .sbproj instead of an ident, and Facepunch's build pipeline keeps the #if SERVER blocks on the server only — published builds always strip them.
s&box Launch Command Builder — FAQ
Is this s&box Launch Command Builder free to use?
Yes, the s&box Launch Command Builder is 100% free — no signup required, no hidden fees, no downloads. Everything runs in your browser.
How accurate is the s&box Launch Command Builder?
Values are pulled from the s&box game files and community-verified formulas. Results match what you see in-game, and we update the tool when the game gets major patches.
Can I host a s&box server with XGamingServer?
Yes. XGamingServer offers instant s&box server hosting with mod support, automatic backups, DDoS protection, and 24/7 support. All popular game settings are pre-configured.
Does the Launch Command Builder work on mobile?
Yes, the Launch Command Builder is fully responsive and works on desktop, tablet, and mobile browsers.
You might also need
SteamCMD Builder
Generate copy-paste SteamCMD install/update scripts for the s&box Dedicated Server (app 1892930). Main vs staging branch toggle, validate option, anonymous login, side-by-side Windows .bat and Linux .sh.
users/config.json Generator
Visual editor for the s&box dedicated server admin file — add multiple Steam accounts with their SteamID64, display name, and claims (kick, ban, restart, plus your own custom claims). Validates SteamID format and outputs paste-ready users/config.json.
Steam ID Resolver
Convert any Steam profile URL, vanity URL, SteamID2 (STEAM_0:0:...), or SteamID3 ([U:1:...]) into the SteamID64 format that users/config.json and most server tools require. All formats shown side-by-side with copy buttons.
RPC Generator
Generate s&box [Rpc.Broadcast], [Rpc.Owner], and [Rpc.Host] method skeletons in C#. Configure NetFlags (Unreliable, Reliable, SendImmediate, DiscardOnDelay, HostOnly, OwnerOnly), define typed parameters, and copy ready-to-paste code with the right attribute, signature, and Rpc.Caller hook.

Config Tool Built Into XGamingServer
Get managed s&box hosting with this tool in your panel — configure, deploy, and play in minutes. No file uploads needed.