4 min readUpdated Aug 16, 2026

Garry's Mod Console Commands List

Garry's Mod runs on the Source engine, so alongside the standard sv_ and mp_ server variables it adds its own sbox_ commands for the Sandbox gamemode and gmod_ commands for the game itself, and every gamemode or addon can register more through Lua.

Search the full list below, then add what you need to your Garry's Mod server. Every entry shows the default value, a description and flags telling you whether it runs on the server or on the client.

Category

1,966 commands in total

CommandDefaultDescription
Erases current game stats and writes out a blank stats fileCommandServer
Shutdown and restart the engine.CommandServer
Default: 0Turn on achievement debug msgs.ServerCheatReplicated
Plays a 'taunt' animation, if the server allows it. Valid options are: wave, agree, disagree, becon, bow, salute, forward, group, halt, pers, muscle, laugh, cheer, zombie, dance, robot.CommandServer
Add an IP address to the ban list.CommandServer
Default: 1If true, advisor will use her custom impact damage table.Server
Default: 10No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0Used to debug actbusy behavior. Usage: 1: Constantly draw lines from NPCs to the actbusy nodes they've chosen to actbusy at. 2: Whenever an NPC makes a decision to use an actbusy, show which actbusy they've chosen. 3: Selected NPCs (with npc_select) will report why they're not choosing actbusy nodes. 4: Display debug output of actbusy logic. 5: Display safe zone volumes and info.ServerCheat
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0Debug the NPC dynamic interaction system.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0Set to 1 to see all NPC response events trigger, and which NPCs choose to respond to them.Server
Default: 0Show random expression decisions for NPCs.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'll show non-solid entities that would do it if they were solid.ServerCheat
Default: 0No description is published for this one.Server
Debug the attempted connection between two nodesCommandServer
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.ServerCheatReplicated
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Bi-passes all AI logic routines and puts all NPCs into their idle animations. Can be used to get NPCs out of your way and to test effect of AI logic routines on frame...CommandServer
Default: 0No description is published for this one.ServerNotify
Default: 0No description is published for this one.ServerCheat
Drop an ai_hint at the player's current eye position.CommandServer
No description is published for this one.CommandServer
Default: 1No description is published for this one.Server
Default: 5No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0Maximum frametime to still play background expressions.Server
Default: 0Disable npc background expressions when you can't see them.Server
Default: 720No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 50frametime limit for min efficiency AIE_NORMAL (in sec's).Server
Controls which connections are shown when ai_show_hull or ai_show_connect commands are used Arguments: NPC name or classname,CommandServer
Default: 0No description is published for this one.ServerNotify
Default: 0No description is published for this one.ServerCheat
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.ServerReplicated
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 8No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.Server
Cycles through the various hull sizes. Currently selected hull size is written to the screen. Controls which connections areCommandServer
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Toggles node display. First call displays the nodes for the given network as green objects. Second call displays the nodes and their IDs. Nodes are color coded as follows: Green - ground node Cyan - air node Magenta - climb node Grey - node not available for selected hull size Orange - node currently...CommandServer
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 120No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.ServerArchived
If NPC is stepping through tasks (see ai_step ) will resume normal processing.CommandServer
Default: 0No description is published for this one.Server
Default: 0If set to 1 then ragdolls will be solid by defaultServerArchived
Set how high AI bumps up ground walkers when checking stepsCommandServer
Default: 0Shows that bones that are setup every thinkServer
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.ServerReplicated
Default: -1No description is published for this one.ServerReplicated
Default: 0No description is published for this one.Server
Default: 1000No description is published for this one.Server
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows: Green - ground movement Blue - jumping movement Cyan - flying movement Magenta - climbing movement Red - connection...CommandServer
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows: Green - ground movement Blue - jumping movement Cyan - flying movement Magenta - climbing movement Red - connection...CommandServer
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows: Green - ground movement Blue - jumping movement Cyan - flying movement Magenta - climbing movement Red - connection...CommandServer
Toggles graph connection display for the node that the player is looking at. Nodes that are connected to the selected node by the net graph will be drawn in red with magenta lines connecting to the selected node. Nodes that are not connected via the net graph from the selected node will be drawn in blue.CommandServer
Draw a grid on the floor where looking.CommandServer
Displays all hints as small boxes Blue - hint is available for use Red - hint is currently being used by an NPC Orange -CommandServer
Displays the allowed hulls between each node for the currently selected hull type. Hulls are color code as follows: Green -CommandServer
Default: 0No description is published for this one.Server
Highlight the specified nodeCommandServer
Default: 0No description is published for this one.Server
Toggles visibility display for the node that the player is looking at. Nodes that are visible from the selected node will be drawn in red with yellow lines connecting to the selected node. Nodes that are not visible from the selected node will be drawn in blue.CommandServer
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 3No description is published for this one.Server
Default: 0No description is published for this one.Server
NPCs will freeze after completing their current task. To complete the next task, use 'ai_step' again. To resume processing normally use...CommandServer
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Test AI LOS from the player's POVCommandServer
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.ServerArchived
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.ServerCheat
Generate a report to the console.CommandServer
Generate a report to the console.CommandServer
Changes the density of air for drag computations.CommandServer
Default: 5000Amount of stress in kg that would kill the airboat driver.Server
Alias a command.CommandServer
Default: 1Toggle the 3-way animation blending code.ServerReplicated
Default: 1No description is published for this one.Server
Default: 1Allow AsyncBegin/EndRead()Server
Default: 0Set the async filesystem mode (0 = async, 1 = synchronous)Server
No description is published for this one.CommandServer
Default: 0Force async reads to serialize for profilingServer
Default: 0Simulate a delay of up to a set msec per file operationServer
No description is published for this one.CommandServer
Default: 0No description is published for this one.Server
Default: 2160No description is published for this one.Server
Default: 0No description is published for this one.Server
Add a user ID to the ban list.CommandServer
Alias of banid, do not use.CommandServer
Add an IP address to the ban list.CommandServer
Bind a key.CommandServer
Bind this key but only on Mac, not win32CommandServer
Performs a bind <key> 'increment var <cvar> 0 1 1'CommandServer
Default: 0No description is published for this one.Server
Add a bot.CommandServer
Default: 0Shoot!Server

Or search above to jump straight to the one you need.

Values marked Server belong in your garrysmod/cfg/server.cfg. Values marked Clientare typed into each player’s own console.

How to Use Garry's Mod Server Commands

Source games read garrysmod/cfg/server.cfg when the server starts and on every map change.

  1. 1
    Log in to Bropanel and select your Garry's Mod server.
  2. 2
    In the sidebar, open Files.
  3. 3
    Open garrysmod/cfg/server.cfg.
  4. 4
    Add one command per line under the Custom Commands section, such as sbox_maxprops 200.
  5. 5
    Save the file and restart your server.

To change something mid-session, use the Console tab in the panel or connect with rcon. Live changes apply at once and revert when the server restarts.

Most Used Garry's Mod Server Commands

CommandDefaultWhat it does
hostnameemptySets the server name shown in the browser.
sv_passwordemptyLocks the server behind a password.
rcon_passwordemptySets the admin password for rcon.
sbox_maxprops100Maximum props a single player can spawn.
sbox_maxragdolls50Maximum ragdolls a single player can spawn.
sbox_maxnpcs10Maximum NPCs a single player can spawn.
sbox_maxballoons10Maximum balloons a single player can spawn.
sbox_godmode0Set to 1 to make all players invincible.
sbox_playershurtplayers0Set to 1 to let players hurt each other.
sbox_noclip0Set to 1 to let players use noclip.
sbox_weapons0Set to 1 to give players the default Half-Life 2 weapons on spawn.
mp_falldamage0Set to 1 for realistic fall damage.
sv_alltalk1Players hear all voice chat with no team restrictions.
sv_voiceenable1Enables voice chat on the server.
sv_cheats0Set to 1 to unlock cheat commands.
sv_gravity600World gravity.
sv_noclipspeed5Movement speed while in noclip.
sv_allowcslua0Set to 1 to let clients run clientside Lua scripts.
sv_kickerrornum0Kick clients after this many Lua errors. 0 never kicks.
sv_timeout180Seconds without a message before a client is dropped.
sv_loadingurl0URL of a custom loading screen shown while joining.
sv_lan0Set to 1 for a LAN only server.

How to Open the Console in Garry's Mod

  1. 1
    Open Garry's Mod and go to Options.
  2. 2
    Select the Keyboard tab and click Advanced.
  3. 3
    Tick Enable developer console (~).
  4. 4
    Click OK, then press the ~ key in game.

FAQ