S&box Wiki

Dedicated Servers

There's no Linux server build yet, there will be one in the future.

Downloading

You can use SteamCMD to download the dedicated server.

In a command-line, or by making a .bat file in the same directory as steamcmd.exe:

steamcmd +force_install_dir c:\steamcmd\sboxserver +login anonymous +app_update 1892930 validate +quit

Launching

As with any Source dedicated server, you can use convars to customize your server settings. To load a game and a map, specify its organization + ident - you can find them by browsing asset.party

Make a .bat file in the newly created sboxserver directory, and put this in it:

sbox-server.exe +gamemode facepunch.sandbox +map facepunch.construct +maxplayers 8 +hostname My Epic Server

If you want to load addons for the game, use the +extensions convar and separate addons by a semicolon (;)

sbox-server.exe +gamemode facepunch.sandbox +map facepunch.construct +extensions "gvar.admin_ball;gvar.sbox_radio" +maxplayers 8 +hostname My Epic Server
If you're getting an engine.dll not found error when launching the server you most likely will need to install _CommonRedist/vcredist/2022/VC_redist.x64.exe

Connecting

Players connect through your server's Steam ID, so there's no need to worry about port forwarding or anything.

You can connect to your server via the global server list or the gamemode server list:

image.png

If you're lost, or you can't find your server, you can use the connect command with your server's ID as an argument. You can find the ID by typing status in the server's console at any time.

Troubleshooting

Make sure you have updated the server to the latest version. If you have Steam installed on the host machine, make sure it is updated.

Make sure to not use the regular sbox-server.exe in the game directory. Always download it and update it with SteamCMD.