Command Line Parameters
This pages describes commonly useful and Garry's Mod exclusive command line parameters, also known as Launch Parameters in Steam.
A full list of Source command-line options can be found here.
Garry's Mod specific & other useful parameters
Command Line | Description |
---|---|
-noaddons |
Temporarily disables folder/legacy addons |
-noworkshop |
Temporarily disables Steam Workshop addons |
-disableluarefresh |
Disables Auto Refresh |
-multirun |
Allows you to launch multiple instances of the game. You will not be able to connect to the same multiplayer server from both instances, unless the server has sv_lan set to 1. Please note that the sv_lan 1 command must be set before the server is started or a changelevel is required.server.cfg will not work, as it is ran too late! |
-nochromium |
If on a Beta branch that runs Chromium, disables Chromium. |
-allowlocalhttp |
Allows local IP links ( 192.168.x.x ) to be used with the http functions. This only works on the server. |
-fullwindowsdump |
Generates more detailed crash dumps on Windows. |
-language |
Overrides Steam's language setting for the primary game language, which controls captions and engine panels. |
+<ConVar Name> <value> |
Sets ConVar of a console variable after the game is started. |
-systemtest |
Spawns one bot by default and loads the includes/dev_server_test.lua file. This also allows you to use engine.CloseServer |
-allowquit |
See engine.CloseServer for more info |
-disablehttp |
Disables HTTP and other related functions. |
Note about -systemtest
If you try to join a Singleplayer game while this is enabled, you cannot connect because
If you try to join a Singleplayer game while this is enabled, you cannot connect because
Server is full.
(The bot is added before you join.)Configuring Steam
You can set Garry's Mod's launch options with the following steps:
Open your Library in the Steam client
Open the context menu of Garry's Mod with  rmb
Click on
Properties
to open the settings menuUnder
Launch Options
set your desired configurationSimply close the menu to save your changes