KnowledgebaseGarry's Mod

How to Add a Custom Startup Parameter to Your Garry's Mod Server

How to Add a Custom Startup Parameter to Your Garry's Mod Server

Garry's Mod
·
Nov 9, 2024
·
3 min read

Garry's Mod uses startup parameters, also known as Command Line Arguments, to configure various settings when a server starts. This can include assigning a Game Server Login Token, or changing which game mode is used by the server. A server owner may want to use a custom startup parameter to enable or disable certain features such as disabling the Steam Workshop or automatic Lua refresh.


ParameterDescription
noaddonsDisables the loading of folders located in your server's addons folder.
noworkshopDisables the Steam Workshop integration and prevents workshop addons from being installed on your server.
disableluarefreshDisables the automatic refresh of .lua script files on your server when it is running.
nochromiumDisables the Chromium integration if your server is running the Chromium steam beta.

#Adding Custom Startup Parameters

You can add a custom startup parameter by editing your gmod.properties file through the Files area of your server's control panel.

  1. Access your Control Panel and Stop your server.

  2. Navigate to the Files tab and locate the gmod.properties file.

  3. Add the desired custom startup parameter and value.

  4. Save and exit the file. Restart your server to ensure the new changes apply.


If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

加入Discord