S&box Wiki

Revision Difference

Dedicated_Server#546496

<cat>Code.Misc</cat>⤶ <cat>Play.Intro</cat>⤶ <title>Dedicated Servers</title> # How to start your game in Dedicated Mode⤶ Launch sbox.exe with `-dedicated` as an additional launch parameter.⤶ <note>This will most probably change in the future with a separate application, similar to Garry's Mod, or other games with Dedicated Servers.</note>⤶ #Linux⤶ Not currently supported - it will in the future.⤶ <note>There's no Linux server build yet, there will be one in the future.</note>⤶ ⤶ # Downloading⤶ ⤶ You can use [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD) to download the dedicated server.⤶ With steamcmd setup properly, you can run:⤶ ⤶ ```⤶ steamcmd +login anonymous +force_install_dir c:\steamcmd\sboxserver +app_update 1892930 validate +quit⤶ ```⤶ ⤶ # Launching⤶ ⤶ Mainly the same as launching any other source server, specify the org+ident for game and map and it'll all download automatically.⤶ ⤶ ```⤶ sbox-server.exe +gamemode facepunch.sandbox +map baks.office⤶ ```⤶