How to enable the In-Game console on your Garry’s Mod launcher

The developer console is the single most important tool you can unlock in Garry’s Mod. It is the gateway to every server-administration command in the game — banning players, changing maps, enabling cheats, modifying RCON, and running gamemode convars. Without it open, you are stuck navigating menus; with it open, you can type a command and have your server respond instantly. The good news is that enabling it takes about thirty seconds, and once it is on it stays on. This guide walks through every method to enable the in-game console in Garry’s Mod, how to open it once enabled, how to rebind the toggle key, and what you will actually use it for as a server owner.

What the Garry’s Mod console is and why you need it

Garry’s Mod runs on Valve’s Source engine, and like every Source game it ships with a built-in developer console. The console is a text interface where you type commands (called concommands) and set configuration variables (called convars or cvars). When you connect to a server you administer, the console lets you issue commands directly. When you run your own dedicated server, the server’s own console window is where most administration actually happens — but enabling the in-game client console is still essential because it lets you authenticate to RCON and run remote commands from inside the game.

By default the console is hidden so that new players don’t accidentally open it. Enabling it is a deliberate, one-time action. Once it’s enabled you’ll use it constantly — to type things like status to list connected players, map gm_flatgrass to switch levels, or rcon_password to authenticate as an admin. If you’re running a hosted box, you can manage all of this through your control panel, but the in-game console remains the fastest way to test commands live. If you don’t yet have a server to point it at, you can spin up a Garry’s Mod server in minutes and follow along.

Method 1: Enable the console through the in-game menu

This is the standard method and the one most players use. It enables the console permanently in your game settings, so you only need to do it once. Launch Garry’s Mod, then follow this exact path:

  1. From the main menu, click Options.
  2. Select the Keyboard tab.
  3. Click the Advanced… button.
  4. Tick the checkbox labeled Enable Developer Console.
  5. Click OK to confirm, then Apply.

That’s it. The console is now enabled and will remain enabled across every game session and every server you join, until you uncheck the box. This is the recommended route for ongoing server administration because you never have to think about it again.

Method 2: Use the -console launch option

The second method adds a launch parameter that forces the console open the moment Garry’s Mod starts. This is useful if you want the console front-and-center every time you launch, or if for some reason the menu checkbox isn’t sticking. Here’s how to set it in Steam:

  1. Open your Steam Library.
  2. Right-click Garry’s Mod and choose Properties.
  3. On the General tab, find the Launch Options field.
  4. Type -console into the box.
  5. Close the window — Steam saves it automatically.
-console

The next time you start the game, the developer console appears on launch. Note the difference between the two methods: the menu checkbox enables the console so you can toggle it whenever you want, while -console forces it open at startup. Many admins use both — the checkbox for everyday play, and the launch option on a dedicated test client. The same -console flag is also used on the dedicated server binary itself, which we’ll touch on later.

How to open and close the console: the tilde key

Once the console is enabled, you open and close it with the tilde key (~), which doubles as the backtick (`) key. On a standard US keyboard layout this is the key in the top-left corner, just below the Esc key. Press it once to open the console; press it again to close it. The game pauses input to the world while the console is focused, so you can type freely without your character moving.

If you’re on a non-US keyboard layout where the tilde key sits elsewhere — or if the key conflicts with another bind — you can change it. The toggle is rebindable under Options → Keyboard, where it appears as “Toggle developer console.” Click it, then press whatever key you’d prefer to assign.

ActionHow
Enable console (permanent)Options → Keyboard → Advanced… → Enable Developer Console
Force console open on launch-console in Steam launch options
Open / close the consoleTilde ~ / backtick ` key
Rebind the toggle keyOptions → Keyboard → “Toggle developer console”

What the console is used for as a server admin

With the console enabled, you have access to the full Source command set. Below are the categories of administration you’ll handle through it, with the exact commands you’ll be typing. Everything here is genuine Garry’s Mod / Source engine behavior.

Listing and identifying players

The first command every admin learns is status. Run it in the server console to get a list of every connected player, showing each one’s userid (the small leading #), their name, and their SteamID in the form STEAM_1:1:13967715. You need these values for most moderation commands.

status

Kicking and banning

Source’s vanilla ban commands run from the server console or over RCON. A value of 0 minutes means a permanent ban:

banid          // ban by in-session userid (0 = permanent)
banid         // ban by SteamID
banip       // ban by IP
kickid  [reason]
kick 
writeid                          // persist SteamID bans to banned_user.cfg
writeip                          // persist IP bans to banned_ip.cfg

In-memory bans are lost on restart unless you write them to disk with writeid (saves to banned_user.cfg) and writeip (saves to banned_ip.cfg). Most production servers skip the raw commands and use an admin addon like ULX (with its required ULib dependency) or SAM, which expose friendly chat commands such as !ban and !kick. For the full walkthrough, see our guide on how to ban players from your Garry’s Mod server.

Changing the map

To switch maps live, type map followed by the map name in the console. Garry’s Mod ships with gm_construct as the default and gm_flatgrass as the other classic built-in:

map gm_flatgrass

This immediately reloads the level. To set the startup map and gamemode instead, you use the +map and +gamemode launch parameters on the dedicated server. There’s a complete breakdown in how to change the default map in your Garry’s Mod server.

Enabling cheats and convars

Cheat-protected commands — noclip, god, buddha, impulse 101, give — only work when sv_cheats is set to 1 (the default is 0):

sv_cheats 1

Be careful: sv_cheats 1 enables cheats for everyone on the server, which is why most servers leave it at 0 and grant abilities through admin-mod permissions instead. Sandbox noclip specifically is controlled by the sbox_noclip convar — set sbox_noclip 0 to block regular players from flying while still letting authorized admins do so. See how to disable the noclip feature on your Garry’s Mod server for the full picture.

Remote administration with RCON

From the in-game client console you can authenticate to a server and run commands remotely using RCON. First set a password on the server (in garrysmod/cfg/server.cfg), then from your client console:

rcon_password           // authenticate
rcon changelevel gm_flatgrass     // run a command remotely
rcon status

This is exactly why enabling the in-game console matters even when most work happens server-side: it’s how you log in to RCON from your own game client. A blank rcon_password disables RCON entirely, so always set a long, random one. Details are in how to modify the RCON feature on your Garry’s Mod server.

The server console vs. the client console

It’s worth clarifying the two consoles, because newcomers often conflate them. The client console is the one inside your copy of Garry’s Mod — the one this guide enables. The server console is the separate window (or panel terminal) attached to your dedicated server process. When you launch a dedicated server you typically include -console on the command line so the server opens its own console window:

srcds -console -game garrysmod +gamemode sandbox +map gm_construct +maxplayers 20

Commands like banid, writeid, and status are run in that server console (or routed there via RCON from your client). Commands that affect only your view are run in the client console. On a managed host, the server console is usually presented as a web-based console in the control panel, and your server.cfg auto-executes on every start. If you want the full configuration reference, our Garry’s Mod server documentation covers config files, launch parameters, and panel-specific setup in depth.

Troubleshooting: console won’t open

If you’ve enabled the console but pressing tilde does nothing, work through these checks:

  • Confirm the checkbox is still ticked under Options → Keyboard → Advanced. Some addons or config resets can clear it.
  • Check the toggle bind. Go to Options → Keyboard and verify a key is assigned to “Toggle developer console.” If it’s blank, set it.
  • Non-US keyboards: the physical tilde key may be elsewhere or absent. Rebind the toggle to a key you can reach.
  • Use the launch option. Add -console to Steam launch options to force the console open on startup, bypassing any toggle-key issue.
  • Verify game integrity. If everything looks right but the console still won’t appear, verify the game files through Steam to repair a corrupted config.

Frequently asked questions

What key opens the console in Garry’s Mod?

Once the console is enabled, the default toggle key is the tilde (~) / backtick (`) key in the top-left of a US keyboard, below Esc. You can rebind it under Options → Keyboard → “Toggle developer console.”

What’s the difference between the menu checkbox and -console?

The “Enable Developer Console” checkbox (Options → Keyboard → Advanced) makes the console available so you can toggle it with the tilde key whenever you like. The -console Steam launch option forces the console to open automatically every time the game starts.

Do I need the console enabled to administer my server?

Most server commands run in the dedicated server’s own console or over RCON, but you should still enable the client console — it’s how you authenticate to RCON (rcon_password ) and run remote commands from inside your game. It’s also the quickest way to test convars live.

How do I see player IDs to ban or kick someone?

Run status in the server console. It lists every connected player’s userid (the #), name, and SteamID (e.g. STEAM_1:1:13967715). Use the userid with banid/kickid, or the SteamID for a persistent ban, then run writeid to save it.

Is enabling the console a cheat?

No. The console itself is just a command interface — it does nothing on its own. Cheat-protected commands like noclip and god require sv_cheats 1 on the server, and that setting affects everyone on the server, not just you.

Will the console stay enabled after I restart the game?

Yes. The “Enable Developer Console” checkbox is a saved game setting, so it persists across sessions and across every server you join until you uncheck it. The -console launch option likewise stays set in Steam until you remove it.

Ready to play?

Run your own Garry's Mod server with XGamingServer

Spin up an always-on Garry's Mod server your friends can join in minutes — no port-forwarding, no tech headaches.

99.9%Uptime SLA
< 5 minInstant setup
24/7Human support
DDoSProtected
Instant setup Your server is live in minutes with a one-click control panel.
Mods & plugins Install mods, plugins and workshop content in a few clicks.
DDoS protected Enterprise DDoS mitigation keeps your server online 24/7.
Low-latency hardware Premium CPUs & NVMe SSDs for lag-free multiplayer.
Free backups Automatic backups so your world is never lost.
Real human support Gamers helping gamers — 24/7, no bots, no scripts.

Pick your Garry's Mod plan & play in minutes

See all plans
Starter $8.40/mo 4 GB RAM Renews $12/mo Buy now
Rookie $17.50/mo 8 GB RAM Renews $25/mo Buy now
Pro $24.50/mo 12 GB RAM Renews $35/mo Buy now