Skip to content
Garry's Mod
Tools for Garry’s Mod server admins

Garry’s Mod tools for your GMod server.cfg

GMod tools for server admins, not Tool Gun addons: use the config generator to create your Garry’s Mod server’s GMod server.cfg with a server name (hostname), server password, RCON password, GSLT token (sv_setsteamaccount), sv_cheats and LAN mode, using a form or AI-powered Easy Mode. The live preview shows the finished file for you to copy or download. The server.cfg is created in your browser; only Easy Mode sends your description to the AI, without passwords or GSLT tokens.

Free · No sign-up · server.cfg created in your browser

Server Configuration Generator

Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Garry's Mod server.

Built by Florian Galz

At a glance

What the GMod tools create for your server

The GMod tools are for Garry’s Mod server admins, not players looking for Tool Gun tools.

Server tools, not Tool Gun addons

The GMod tools here are web tools for your Garry’s Mod server, not Tool Gun tools or Workshop addons for the game. Currently, there’s a server.cfg generator: it creates your server’s server.cfg but does not install addons.

server.cfg and launch parameters are separate

The generator writes hostname, sv_password, rcon_password, sv_setsteamaccount, sv_cheats and sv_lan to server.cfg. You choose the game mode, starting map, player count and additional launch parameters in the form, but they are not written to the file: Garry’s Mod reads them at startup through +gamemode, +map and +maxplayers.

Reuse an existing server.cfg

Import an existing server.cfg as a .cfg or .txt file up to 2 MB, or paste its contents. The generator does not configure lines it doesn’t recognize, such as Sandbox limits, a loading screen URL or FastDL, but it preserves them unchanged at the end of the exported file.

How it works

How to create your server.cfg with the GMod tools

Five steps from your first setting to a server.cfg on your GMod server.

  1. 1

    Open the server.cfg generator

    Choose the GMod server.cfg generator on this page. It starts with Garry’s Mod defaults (server name “ZAP Garry's Mod Server”, Sandbox game mode, gm_construct starting map, 16 players) and immediately shows the server.cfg in the live preview.

  2. 2

    Choose Easy Mode, form or import

    Describe your server in your own words in Easy Mode and apply only the suggestions you approve, or set each option yourself in the form. You can import an existing server.cfg as a .cfg or .txt file up to 2 MB.

  3. 3

    Set server.cfg values

    Enter the server name (hostname), an optional server password, an RCON password and your GSLT token. Leave sv_cheats and LAN mode (sv_lan) disabled on a public server.

  4. 4

    Set launch parameters

    Choose the game mode, starting map and player count (1–128), and add any extra launch parameters you need, such as +host_workshop_collection <ID>. The generator does not write these values to server.cfg.

  5. 5

    Save and apply to the server

    Copy or download the server.cfg, or share a link without passwords or GSLT tokens. Upload the file to garrysmod/cfg/server.cfg, enter +gamemode, +map and +maxplayers in the launch parameters, then restart the server or run “exec server.cfg” in the console.

FAQ

Frequently asked questions

Quick answers about GMod tools, server.cfg, launch parameters, TTT, GSLT, file location and importing.

What free GMod tools are available here?

There’s currently one tool for your Garry’s Mod server: the config generator for server.cfg. It’s free to use without sign-up or installation. The server.cfg is created directly in your browser. Only in Easy Mode are your description and current settings sent to the AI, without passwords or GSLT tokens, so it can suggest changes. Go to the GMod server.cfg generator

What goes in the GMod server.cfg?

The generator writes these Cvars to server.cfg: server name (hostname), server password (sv_password, blank for a public server), RCON password (rcon_password, blank to disable RCON), GSLT token (sv_setsteamaccount), cheat commands (sv_cheats) and LAN mode (sv_lan). It does not configure other Cvars such as Sandbox limits, a loading screen URL or FastDL.

Why aren’t the gamemode, starting map, and player count in the server.cfg?

Garry’s Mod sets these at server startup through the launch parameters +gamemode, +map and +maxplayers, not through Cvars in server.cfg. The generator includes them as form fields but does not write them to the file. The same applies to the field for additional launch parameters, such as +host_workshop_collection <ID> for a Workshop collection. You need to enter these values yourself in your server’s launch parameters.

How do I create a server.cfg for a GMod TTT server?

In the generator, set the server name, passwords and GSLT token as you would for any other server. Choose TTT (terrortown) as the game mode and, for example, ttt_minecraft_b5 as the starting map. The server.cfg will contain the Cvars; enter the game mode and starting map as +gamemode terrortown and +map in the launch parameters. You can choose Sandbox, Murder, Prop Hunt, DarkRP or Cinema in the same way.

Do I need a GSLT token for my GMod server?

Yes, for a public GMod server. The Game Server Login Token lets the server sign in to Steam and appears as sv_setsteamaccount in the server.cfg. You can create one for free at steamcommunity.com/dev/managegameservers using App ID 4000. The token is masked like a password in the form.

Where is server.cfg located, and how do I apply it without restarting?

The server.cfg is located at garrysmod/cfg/server.cfg, or garrysmod\cfg\server.cfg on Windows. Upload the file there and run “exec server.cfg” in the server console, or restart the server. Downloading it alone won’t change your server.

Can I import my existing server.cfg?

Yes. Import a .cfg or .txt file of up to 2 MB, or paste its contents. Recognized settings appear in the form; when exporting, the generator appends any lines it does not recognize to the end of the file unchanged.

Do I need a GMod server at ZAP-Hosting for this?

No. You can use the tool for free no matter where your GMod server is hosted. It works for local testing and for servers hosted by another provider. It transfers nothing automatically: you upload the server.cfg to your server yourself. Rent a Garry’s Mod server

Still have questions?

Contact Support

More tools

More tools for your GMod server

Convert SteamIDs, check server ports, generate strong passwords and use server.cfg generators for CS2, TF2 and CS:Source.

Server Configuration Generator

Describe your server.cfg in your own words using the ZapX AI Agent or set each option manually — with a live preview, download, and direct push to your rented server.

Built by Florian Galz

Server Configuration Generator

Describe your server.cfg to the ZapX AI Agent in your own words or set the options in the form — with a live preview for your CS:Source server.

Built by Florian Galz

Server Configuration Generator

Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Team Fortress 2 server.

Built by Florian Galz

Port Checker

Check whether specific ports are open on an IP or hostname—select a protocol or game instead of scanning all ports at once.

Built by Sebastian Rademacher

Password Generator

Generate strong, random passwords directly in your browser — nothing is stored or transmitted.

Built by Rugile Rutkauskaite

SteamID Converter

Convert between SteamID64, classic SteamID and SteamID3 in either direction, or look up an ID from an account name and vice versa. The format is detected automatically, with a copy button for each format.

Built by Justin Schuessler