Garry's Mod

Garry's Mod
22 ArticlesHow to Generate a GSLT for your Garry's Mod Server
In Garry's Mod, servers without a GSLT set will be hard to find in the community listing. By setting this token, your server will be positioned higher in the server listings. --- Why Get a GSLT Key Many source games such as Garry's Mod prefer you to have what is known as a GSLT token in order to run your server. This is done to ensure that servers are created by real people and to add accountability to someone if those servers violate the game's Terms or Service. In order to be able to generate a GSLT, you must have a steam account which: - Is not banned or blocked. - Is not limited. - Has a qualifying registered phone. - Owns the game for the server you are making a key for. - Has not reached the cap of 1,000 GSLT keys. If your server is found to be breaking Valve's ToS, the server and your linked steam account may be banned. --- Obtaining a GSLT Key 1. First, make sure that you are logged into Steam Community. 2. Navigate to Steam Game Servers Account. 3. At the bottom of the page, fill out the App ID value of the game (Garry's Mod is 4000). 4. Add a memo or note if you want. Select the Create button. 5. Your GSLT key is the Login Token that will appear. --- Adding your GSLT Key 1. Access your Control Panel and Stop your server. 2. Navigate to the Config tab and select the Garry's Mod Game Settings file. 3. Locate the setting and add your newly generated GSLT key to the field. 4. Save and 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
How to Enable the In-Game Console on Your Garry's Mod Client
Enabling the console in Garry’s Mod is a useful tool for players wanting to use cheat codes or run admin commands. --- Enabling the Console for English Keyboards 1. In the main game menu, select Options. 2. Navigate to the Keyboard tab in the pop-up window that appears. 3. At the bottom, select Advanced. 4. Check the box. 5. Press OK and then Apply to save your changes. You can now open the developer console by clicking , or the key above the Tab key. --- Toggling the Console for Non-English Keyboards If you have a non-English keyboard, you may want to change the keybind to toggle the console. ::ProseNote{title="Note" description="Not all keys will bind to , so make sure to use a key that is not used regularly for typing. is most commonly used for this." appearance="default"} :: 1. In the main game menu, select Options. 2. Navigate to the Keyboard tab in the pop-up window. 3. Scroll down to the Miscellaneous Movement section. 4. Select Toggle developer console and click Edit Key. 5. Set the keybind to a key of your choice. You can now toggle the console with this key! --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php
How to Disable VAC on your Garry's Mod Server
You may be unable to play on secure Garry's Mod servers due to a variety of VAC-related reasons. Examples of this could be caused by clients that use custom textures, skin changers, or software that modifies game files. ::ProseNote{title="Important" description="We suggest that you do not disable VAC (Valve Anti-Cheat) as it can cause security risks for your server as players that use a modified client can connect." appearance="default"} :: --- Disabling Valve Anti-Cheat (VAC) You can disable VAC via Garry's Mod Server Settings available in your Control Panel. 1. Access your Control Panel and Stop your server. 2. Navigate to the Config tab and select the Garry's Mod Server Setting file. 3. Locate the setting and toggle the button to enable it. 4. Save and restart the server to ensure the new changes apply. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php
How to Create a Workshop Collection
Creating a Workshop Collection is a great way to share and discover new content as well as organize them to your liking. Workshop Collections are especially useful for users wanting to add mods to their source game. --- Creating a Workshop 1. Open Steam, select Community and then Workshop. 2. Go to the workshop page of the game you wish to make a collection for. In this example we will be creating one for Garry's Mod. 3. Navigate to Browse Collections. 4. Click on Create Collection. 5. Give your collection a title, branding image, collection type, and description. 6. Under “What categories does your collection belong in?” select ServerContent. Click save and continue. 7. Select the items you would like to include in your collection (You are required to put at least one item to continue). 8. Click Save and Continue. 9. Click Publish. 10. Click “Change Visibility” and set this option to Public. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php
How to Automatically Have Players Download Workshop Addons
When you have added add-ons to your server, you also want to have those automatically downloaded to the players joining. This can be done by providing the IDs of the addons. --- Adding Addon IDs 1. Access your Control Panel and Stop your server. 2. Navigate to the Files tab and open the directory. 3. Edit the file or create it if it doesn't exist. 4. In this file you want to add the IDs of the addons you want the clients to download in the following format: . 5. Save the file and restart your server for changes to apply. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php
How to Add a Steam Workshop Collection to Your Garry's Mod Server
If you want to use a map that isn't one of the normal maps for the game, you will need to download it from the workshop. Thankfully, Garry's Mod not only offers a way to launch workshop maps, but even ways to allow to load multiple at once, allowing you to change between them using the in-game voting system or even the changelevel command. --- Finding a Collection ID 1. Browse the steam workshop and find a Collection you would like to use. You can find the Steam Workshop for Garry's Mod at: https://steamcommunity.com/app/4000/workshop/. 2. Once you have found the collection you wish to use, you can find the Workshop ID in the URL of the web page for the map. 3. Copy the numbers at the end of the URL - this Workshop ID that you will need to paste into your server config later. Example URL: https://steamcommunity.com/sharedfiles/filedetails/?id=123456789 In the example above, the Workshop ID would be 123456789. --- Loading the Collection If you just want to load a specific workshop map when you start your server, then you can do so via your properties file. 1. Access your Control Panel and Stop your server. 2. Navigate to the Config tab and locate the setting. 3. Add your desired Workshop Collection. 4. Save and 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
How to Add a Custom Startup Parameter to Your Garry's Mod Server
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. --- | Parameter | Description | | -------- | ------- | | noaddons | Disables the loading of folders located in your server's addons folder. | | noworkshop | Disables the Steam Workshop integration and prevents workshop addons from being installed on your server. | | disableluarefresh | Disables the automatic refresh of .lua script files on your server when it is running. | | nochromium | Disables 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 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