Garry's Mod tools

Garry's Mod start.bat generator

A Windows launch script with your port, map, gamemode and workshop collection.

Paste into start.bat

Technical Configuration

How the server listens for players and recovers from crashes.

Forward this UDP port on your router.

Updates per second. 33 is light, 66 feels smoother.

LAN servers only accept players on your network.

Brings the server back within seconds of a crash.

Game Configuration

What players load into.

Garry's Mod supports up to 128.

The gamemode folder name.

Must be installed on the server.

Workshop Configuration

Addons the server downloads and mounts for itself.

The number at the end of your collection URL.

3 fields need attention.

Generated code

start.bat
1@echo off2title Garry's Mod Server3:start4srcds.exe -console -game garrysmod -tvdisable -port 27015 -tickrate 33 -maxplayers  +gamemode  +map  +sv_lan 0 +r_hunkalloclightmaps 05echo Server stopped. Restarting in 5 seconds, close this window to cancel.6timeout /t 5 /nobreak >nul7goto start
Esc