Skip to content
Useful Console Commands for Power Users
Garry's Mod

Useful Console Commands for Power Users

Master Garry's Mod with console commands. Learn noclip, god mode, entity manipulation, and debugging commands for power users.

By ···10 min read·Multi-source verified
1 reading this guide  

Master Garry's Mod with console commands. Learn noclip, god mode, entity manipulation, and debugging commands for power users.

14.1. Useful Console Commands for Power Users

The developer console in Garry's Mod is a gateway to advanced control and customization. This section explores essential console commands that empower users to fine-tune their gameplay, debug issues, and unlock hidden functionalities.

The console, typically accessed by pressing the tilde key (`~`) during gameplay, allows direct interaction with the game engine. While many functions are accessible through menus, console commands offer a more direct and often more powerful way to manipulate the game. Mastering these commands can significantly enhance your GMod experience, especially for builders, scripters, and server administrators.

Enabling the Console:

If the console doesn't open with the `~` key, ensure it's enabled in the game's options: Go to Options > Keyboard > Advanced... > Enable developer console. Then, press `~` to open it.

Essential Console Commands:

Command Description
sv_cheats 1 Enables cheat commands. Essential for many other powerful commands. Type sv_cheats 0 to disable.
noclip Toggles noclip mode, allowing you to fly through walls and objects. Requires sv_cheats 1.
god Enables god mode, making you invincible. Requires sv_cheats 1.
give [weapon_name] Spawns a specified weapon or tool. Example: give weapon_physgun. Requires sv_cheats 1.
ent_fire [entity_name] [input] Fires an input on a specified entity. Powerful for scripting and automation. Example: ent_fire !picker activate to activate the entity you're looking at. Requires sv_cheats 1.
mat_wireframe 1 Toggles wireframe rendering, useful for debugging geometry. Type mat_wireframe 0 to disable.
r_drawviewmodel 0 Hides your player model's viewmodel (hands and weapon). Type r_drawviewmodel 1 to re-enable.
disconnect Disconnects you from the current server.
clear Clears the console output.

Finding Entity Names:

To use commands like ent_fire effectively, you often need the entity's name. You can often find this by looking at the entity in-game with the developer console open; its name might appear in the console output. Addons often provide their own entity names.

Experimenting with these commands in a single-player Sandbox environment is the best way to learn their capabilities and limitations.

100% Human-Written. AI Fact-Checked. Community Verified. Learn how AntMag verifies content