Command Line Parameters

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Removed update date note)
Line 8: Line 8:
 
!Command Line
 
!Command Line
 
!Description
 
!Description
 +
 
|-
 
|-
 
| -noworkshop
 
| -noworkshop
 
|Disables workshop addon system in the game. Works on Dedicated servers as well as your client. Does not affect folder/legacy addons or directly loaded .gma files
 
|Disables workshop addon system in the game. Works on Dedicated servers as well as your client. Does not affect folder/legacy addons or directly loaded .gma files
 +
 
|-
 
|-
 
| -noaddons
 
| -noaddons
 
|Disables folder/legacy addons
 
|Disables folder/legacy addons
 +
 
|-
 
|-
 
| -disableluarefresh
 
| -disableluarefresh
 
|Disables [[Auto Refresh]]
 
|Disables [[Auto Refresh]]
 +
 
|-
 
|-
 
| -multirun
 
| -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/>Please note that the sv_lan 1 command must be set before the server is started or a changelevel is required.
 
|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/>Please note that the sv_lan 1 command must be set before the server is started or a changelevel is required.
 +
 +
|-
 +
| -nochromium
 +
|If on a Beta branch that runs Chromium, disables Chromium.
 +
 
|-
 
|-
 
| style="width:180px;" | +<{{Type|ConVar}} name> <value>
 
| style="width:180px;" | +<{{Type|ConVar}} name> <value>

Revision as of 14:55, 23 October 2019

A full list of Source command-line options can be found here.

Garry's Mod-Specific Commands

Command Line Description
-noworkshop Disables workshop addon system in the game. Works on Dedicated servers as well as your client. Does not affect folder/legacy addons or directly loaded .gma files
-noaddons Disables folder/legacy 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.
-nochromium If on a Beta branch that runs Chromium, disables Chromium.
+<ConVar name> <value> Sets value of a console variable after the game is started.

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

Right Click GMod.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

Launch Parameters GMod.png

  • After you are done, press OK and then Close and you are done
Personal tools
Navigation