🛠️ Garry's Mod Console Commands
The console in Garry's Mod gives you access to many settings that are not in the normal menus. Here are the commands that are useful for every player.
Enable and open the console
- Start Garry's Mod
- Open Options and go to Keyboard
- Click Advanced and tick Enable developer console
- Open the console with the key below Esc
Performance and graphics
| Command | Description |
|---|---|
fps_max 144 | Sets an FPS limit |
cl_showfps 1 | Shows your FPS |
mat_picmip 2 | Lowers texture quality, 0 is best and 2 is lowest |
r_shadows 0 | Turns off shadows |
mat_antialias 0 | Turns off anti aliasing |
cl_detaildist 0 | Hides grass and small details |
mat_picmip 2 together with r_shadows 0 often gives older PCs a lot more FPS without making the game look terrible.
Sound
| Command | Description |
|---|---|
volume 0.5 | Master volume from 0 to 1 |
snd_musicvolume 0 | Turns off music |
voice_scale 0.5 | Volume of other players' voices |
Network
| Command | Description |
|---|---|
net_graph 1 | Shows ping, packet loss and FPS |
net_graph 0 | Hides the display again |
Binds
bind "f5" "jpeg"
bind "v" "+voicerecord"
unbind "f5"
Save your settings
Commands you want to keep go into an autoexec.cfg. It loads automatically every time you start the game.
Steam\steamapps\common\GarrysMod\garrysmod\cfg\autoexec.cfg
fps_max 144
cl_showfps 1
r_shadows 0
mat_picmip 1
net_graph 1
bind "v" "+voicerecord"
If the file does not exist yet, simply create a new text file and rename it to autoexec.cfg. Make sure it does not end with .txt.
Troubleshooting
The console does not open: Enable it in the advanced keyboard options first.
A command is not recognized: Some commands come from addons and only work on servers where that addon is installed.
My settings are gone after a restart: Put them into your autoexec.cfg.