Skip to content
Garry's Mod

Documentation: Garry's Mod launch command

Launch script generator for a Garry's Mod dedicated server (srcds_run / srcds.exe): -game garrysmod, +map, +gamemode, +maxplayers, -port, -tickrate, +host_workshop_collection and +sv_setsteamaccount.

Last updated: 10/9/2026

Open the tool

A Garry's Mod server starts with srcds_run (Linux) or srcds.exe (Windows) and parameters: -game garrysmod, +map, +gamemode, +maxplayers… This tool assembles the correct line, one parameter per line.

How to use the tool

  1. Pick Linux or Windows, the map (e.g. gm_construct), the gamemode (e.g. sandbox) and the slot count.

  2. Set the port if you do not use 27015, and the numeric ID of your Workshop collection (optional).

  3. Paste your GSLT token (created at steamcommunity.com/dev/managegameservers with AppID 4000).

  4. Download the script, put it in the server root (next to srcds_run), make it executable (chmod +x) and run it. On Windows, rename it to .bat.

About the GSLT token

The Facepunch wiki states that +sv_setsteamaccount is mandatory and that skipping it penalizes the server's ranking. One token per server; never publish it. Workshop collections must be public or unlisted.

Frequently asked questions

What is the maximum slot count?
The Source engine accepts up to 128 players; in practice addon CPU load limits you well before that. Start at 16-32 and measure.
Does the script work on Windows?
Yes: pick “Windows”, download and rename the file to start.bat, then put it next to srcds.exe.
Garry's Mod
Garry's ModOpen access
Build your Garry's Mod server.cfg: name, passwords, region, FastDL downloads, sandbox limits and security settings.
ConfigurationSandboxOpen
Documentation
Garry's Mod
Garry's ModSign-in required
Paste your Workshop links: cleaned, de-duplicated IDs, the +host_workshop_collection parameter and a ready workshop.lua file.
WorkshopAddonsOpen
Documentation
Garry's Mod
Garry's ModSign-in required
Generate DarkRP's settings.lua: economy, salaries, speeds, laws, chat distances and limits, with the official defaults.
DarkRPConfigurationRoleplayOpen
Documentation
Garry's Mod
Garry's ModSign-in required
Paste a Garry's Mod Lua script: detects unclosed end, brackets and strings before you restart the server.
LuaDevelopmentOpen
Documentation