One of Garry's Mod main selling points is the vast variety of gamemodes that have been built upon it. This article will cover how to install any gamemode on your GMOD Server.
INSTALLING GAMEMODES
METHOD 1: INSTALLING GAMEMODES FROM THE WORKSHOP
Many gamemode authors choose to publish their gamemodes directly to the Steam Workshop. For instance, you can find the popular Murder gamemode on the workshop here.
You can install a gamemode from the workshop on your server simply by adding it to your server's collection. If you don't already have a collection, you can set one up by following our How to Add a Steam Workshop Collection to Your Garry's Mod Server tutorial. You should also force clients to download the gamemode to prevent missing assets as detailed in our How to Automatically have Players Download Workshop Addons tutorial.
Once you've added the gamemode to your workshop collection and workshop.lua
file, you can skip to the "Changing your Server's Default Gamemode" section of this article.
METHOD 2: MANUALLY INSTALLING GAMEMODES
- Download the gamemode you wish to install onto your computer.
- Extract the gamemode by right-clicking the ZIP and selecting "Extract All" from the menu that appears.
- Determine if the gamemode should be installed into the
gamemodes
folder or theaddons
folder.- If the gamemode should be installed into
addons
, the folder you extracted will contain a folder namedgamemodes
. - If the gamemode should be installed into gamemodes, the folder you extracted will contain a text file with the name of the gamemode.
Warning: If the folder and the text file do not have the same name, rename the folder so that it has the same name as the text file.
- If the gamemode should be installed into
- Connect to the server's FTP. We recommend using FileZilla. Locate the server's
addons
andgamemodes
folders by double-clicking thegarrysmod
directory within the remote site section (right side by default) of FileZilla. - If the gamemode is to be installed into the
gamemodes
directory, drag the folder from your file manager and drop it into your server'sgamemodes
folder. If the gamemode is to be installed into your server'saddons
folder, drag the folder from your file manager and drop it into your server'saddons
folder. - Proceed to the next section of this article.
CHANGING YOUR SERVER'S DEFAULT GAMEMODE
- Login to your control panel.
- Click on the Files > Config Files tab on the left.
- Open the Garry's Mod Server Settings config file.
- Adjust the Gamemode to the name of the gamemode folder that you would like to load.
- If you uploaded the gamemode into
garrysmod/gamemodes
, then this is the name of the folder you uploaded. - If you uploaded the gamemode into
garrysmod/addons
, this is the name of the folder inside the gamemodes folder within the folder you uploaded (garrysmod/addons/<folderYouUploaded>/gamemodes/<useThisName>
). - If you used the workshop collection method to install the gamemode, check the workshop item's description or installation instructions.
- If you would like to load Sandbox or Trouble in Terrorist Town, use
sandbox
andterrortown
respectively. - Click Save and restart your server.