Essential Console Commands
Useful Garry's Mod console commands every player should know
Essential Console Commands
The console is a powerful tool in Garry's Mod. Press ` (backtick/tilde) to open it. Here are the most useful commands for players.
To enable the console, go to Options → Keyboard → Advanced → Enable Developer Console.
Basic Commands
| Command | Effect |
|---|---|
connect [IP] | Connect to a server directly |
disconnect | Leave the current server |
retry | Reconnect to the last server |
quit | Close the game |
clear | Clear the console |
Performance Commands
| Command | Effect |
|---|---|
fps_max 0 | Uncap framerate |
net_graph 1 | Show FPS, ping, and network stats |
cl_showfps 1 | Simple FPS counter |
gmod_mcore_test 1 | Enable multicore rendering |
mat_queue_mode 2 | Threaded material system |
Graphics Commands
| Command | Effect |
|---|---|
mat_picmip 0 | Texture quality (0=high, 4=low) |
r_shadows 1 | Toggle shadows (0=off) |
r_drawdetailprops 0 | Disable small detail props |
mat_specular 0 | Disable shiny surfaces |
cl_detailfade 0 | Disable detail fade distance |
Audio Commands
| Command | Effect |
|---|---|
volume 0.5 | Master volume (0-1) |
snd_restart | Restart sound system (fixes audio bugs) |
stopsound | Stop all sounds |
voice_enable 0 | Disable voice chat |
voice_loopback 1 | Hear your own mic |
Useful Binds
Create custom keybinds with the bind command:
bind [key] "[command]"Examples
| Action | Command |
|---|---|
| Take screenshot | bind f12 "jpeg" |
| Quick suicide (respawn) | bind k "kill" |
| Toggle third person | bind h "thirdperson; firstperson" |
Most keys are already bound by default. Use Options → Keyboard to see/change bindings.
Put your binds in autoexec.cfg so they apply every time you launch.
DarkRP Commands
DarkRP uses chat commands (type in chat with Y or U), not console commands.
Creating an autoexec.cfg
To save commands permanently:
Navigate to: Steam/steamapps/common/GarrysMod/garrysmod/cfg/
Create a file called autoexec.cfg
Add your commands, one per line
Save and restart GMod
Example autoexec.cfg
// Performance
gmod_mcore_test 1
mat_queue_mode 2
fps_max 144
// Graphics
mat_picmip 0
r_shadows 1
// Custom binds
bind f12 "jpeg"
echo "autoexec.cfg loaded!"Quick Reference
- Open console: Press
`(backtick) - Connect:
connect [IP] - Show FPS:
net_graph 1orcl_showfps 1 - Multicore:
gmod_mcore_test 1 - Custom binds:
bind [key] "[command]" - Save settings: Create
autoexec.cfg
Not all commands work on every server. Some may be disabled by admins.
Was this page helpful?