How to Make a Garry's Mod Dedicated Serverby Contributing WriterUpdated September 22, 2017
One of the most popular online games, Half-Life, has been host to several modifications and add-on games. Gary's Mod, a popular add-on to the Half-Life game, allows users to play with the physics engine (controls how characters and items interact). Because the game is so popular, it has become common for gamers to create their own servers to host the game.
Before you begin you will need to download the HLDS update tool. To do so, open your Web browser and navigate to http://store.steampowered.com/about. From here, scroll to the bottom of the page and select "Download HLDS Update Tool" from the right-hand corner. Once the tool is downloaded, open it and install it to your computer.
Next, open your command prompt. You will need to type "cd c:/srcds" (without the quotes). This will navigate you to the folder where you installed the HLDS update.
In the same window, type in "hldsupdatetool.exe -command update -game garrysmod -dir .". This will allow you to update the version of Gary's Mod on your computer.
After the update is complete, you will need to create a batch file. This file is used by Gary's Mod to manage the settings for your server. To do this, open up Notepad or another text editor. Inside, you will want to type "srcds.exe -console -game garrysmod -port 27015 +maxplayers 6 +map gm_construct +sv_gamemode sandbox +sv_defaultgamemode sandbox". Next, select File > Save As. In the file type box, select "All Files." Under the file name type "startserver.bat". Make sure to include .bat as this is what the game will recognize. Next, navigate to the install folder and save the file under the "orangebox" directory.
Once you've saved the file, you're all set. Start up Gary's Mod game and look in your server list. Make sure to set a name for your server so that you can recognize it from the internet servers list.