# Garry’s Mod server.cfg generator

> Make a Garry’s Mod server.cfg and startup line: name, password, location flag, gamemode, map, Workshop collection, plus every Sandbox limit and rule. Free.

Free tool by Wilderack: https://wilderack.com/tools/garrys-mod-server-cfg-generator/
Last reviewed 2026-11-13, against Facepunch’s Garry’s Mod wiki.

Set your server’s name, gamemode and Sandbox rules, and get a ready server.cfg plus the startup options to go with it. Paste an old file to start from what you have.

## How to use the generator

Start from a preset, set your name and gamemode, then adjust the Sandbox rules and limits. Both files on the right update as you go.

Put server.cfg in garrysmod/cfg/. Copy the startup options into your host’s startup settings, or add them to the end of your srcds command.

Your settings stay in this browser, and the link button shares them. Passwords and your Steam token are never saved or shared.

## Only what you changed

Sandbox rules and limits left at the game’s default stay out of server.cfg, so the file is short and you can see at a glance what’s different on your server.

## Where these facts come from

Startup options, the location flag and the server token come from Facepunch’s Garry’s Mod wiki. Every Sandbox limit and default comes from sandbox.txt, the Sandbox gamemode’s settings file in Facepunch’s own repository. Checked in November 2026.

This is a fan-made tool by Wilderack, not an official Garry’s Mod or Facepunch Studios tool.

## FAQ

### Where does server.cfg go in Garry’s Mod?

In garrysmod/cfg/server.cfg on the server. It runs when the server starts and again on every map change, so a change applies after the next map change or restart.

### Why aren’t the gamemode and map in server.cfg?

They’re startup options, read once when the server starts: +gamemode, +map and +maxplayers. Put them in your host’s startup settings or at the end of the srcds command line. You can still change map later with changelevel in the console.

### What are the default Sandbox limits?

Per player: 200 props, 10 ragdolls, 10 NPCs, 4 vehicles, 100 scripted entities, 200 effects, 100 balloons, 50 thrusters, wheels, hoverballs and buttons, 20 emitters, 10 dynamite, 3 lamps, 5 lights, 10 cameras, 2000 constraints and 1000 ropes. They come from the Sandbox gamemode’s own settings file.

### Do I need a Steam server token for Garry’s Mod?

Facepunch calls it mandatory: without one, your server ranks lower in the server list. Make one for app 4000 on Steam’s game server account page and add it as +sv_setsteamaccount in the startup options. This tool never saves it or puts it in a link.

### What do I put in sv_location?

A two-letter country code in lower case, like gb, de or us, which shows that country’s flag next to your server. The European Union has its own: eu. Use where the server really is.
