Skip to content
Garry's Mod
Garry's Mod 100% localFreeOpen access

Garry's Mod launch command

Generate the Garry's Mod srcds launch line: map, gamemode, slots, port, Workshop collection and GSLT token.

Last updated: 10/9/2026

100% local processing — saved in your browser.

Documentation
Game
Network

0 = game default (parameter not added).

Content and token

Numeric Workshop collection ID (public or unlisted).

GSLT token (AppID 4000): never share it.

start-gmod.sh
Live preview — automatically saved in your browser.
#!/bin/bash
# Generated by games-tools.game-rank.com
cd "$(dirname "$0")"
./srcds_run -console \
  -game garrysmod \
  +maxplayers 16 \
  +gamemode sandbox \
  +map gm_construct
Server installation guideNo server yet? Install it locally or on a VPS / dedicated server, ports and firewall included.

How to use Garry's Mod launch command?

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.

  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.

Read the full documentation →

Frequently asked questions

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