Garry's Mod Wiki

Revision Difference

Command_Line_Parameters#561661

<cat>Play</cat> A full list of Source command-line options can be found [here](https://developer.valvesoftware.com/wiki/Command_Line_Options). # Garry's Mod-Specific Commands | 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> <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> # Setting up Command Line Parameters in Steam ⤶ To set Command Line Parameters (Launch Options) in Steam for Garry's Mod:⤶ * Open your **Steam Library** and right click on **Garry's Mod** and click **Properties**⤶ <upload src="8cb14/8d8e6134fcb2dba.png" size="20335" name="Right_Click_GMod_new.png" />⤶ * In the pop up window press **Set Launch Options...**⤶ * A new pop up window will appear, where you can enter your desired Launch Options, separated by space⤶ <upload src="8cb14/8d8e61344ad7435.png" size="171700" name="Launch_Parameters_GMod_new.png" />⤶ * After you are done, press OK and then Close and you are done⤶ # 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" />