Garry's Mod Wiki

Revision Difference

Command_Line_Parameters#563995

<cat>Play</cat> 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](https://developer.valvesoftware.com/wiki/Command_Line_Options). # Garry's Mod specific & other useful parameters | Command Line | Description | |:------------:|:------------| | `-noaddons` | Temporarily disables folder/legacy addons | | `-noworkshop` | Temporarily disables Steam Workshop addons | | `-disableluarefresh` | Disables <page>Auto Refresh</page> | | `-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.<br/><br/>**Please note that the sv_lan 1 command must be set before the server is started or a `changelevel` is required.<br/>`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 <page>http</page> 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 <page>ConVar</page> 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 <page>engine.CloseServer</page> | | `-allowquit` | See <page>engine.CloseServer</page> for more info | | `-disablehttp` | Disables <page>Global.HTTP</page> and other related functions. | | `-noconclr` | Disables color support entirely for dedicated server console, both Windows and Linux. Can be used to avoid unwanted ANSI Escape Sequences in output and similar issues with archaic software. |⤶ <note> Note about -systemtest 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.) </note> # Configuring Steam You can set Garry's Mod's launch options with the following steps: 1. Open your **Library** in the **Steam** client 2. Open the context menu of **Garry's Mod** with <key> RMB </key> 3. Click on `Properties` to open the settings menu 4. Under `Launch Options` set your desired configuration 5. Simply close the menu to save your changes <upload src="b5608/8dc5566efa65178.mp4" size="138446" name="Parameter.mp4" />