Web Analytics Made Easy - Statcounter

Tools / Garry's Mod

Garry's Mod server.cfg Generator

Fill this in and get a server.cfg that works, plus the launch line to go with it. The two are not interchangeable: the gamemode and the starting map are read before server.cfg ever runs, which is why setting them there quietly does nothing. Nothing you type leaves your browser.

Shown in the browser.

Folder name under gamemodes/.

Goes on the launch line, not in the config.

Query port is this + 1.

Numeric ID only. Optional.

Must differ from the join password.

Would rather edit this in a panel than over FTP? Supercraft runs Garry's Mod servers with the config editor, console and FTP in one place, from $5.99 a month.

Frequently asked questions

Where does server.cfg go on a Garry's Mod server?

garrysmod/cfg/server.cfg. It is executed once when the server starts, so changes need a restart rather than a map change to take effect.

Should the gamemode go in server.cfg or on the command line?

The command line. The gamemode and starting map are read before server.cfg runs, so setting them there is too late. Use +gamemode and +map on the launch line, which is why this generator produces both the config and the command.

Why is my rcon password not working?

Two common causes. If rcon_password is the same as sv_password then everyone who can join also holds admin, which some hosts refuse outright. And if the value contains a space or a quote it has to be quoted properly or srcds reads only the first word.

How many slots should a Garry's Mod server have?

Slots come from -maxplayers on the launch line, not from server.cfg. What limits it in practice is memory: a plain Sandbox server is light, but a DarkRP or TTT server with a full Workshop collection wants around 4 GB, and a busy community server with heavy addons wants 8 GB.

This tool: v1.5 · updated 18 Sep 2026