Garry's Mod

Garry's Mod

Not enough ratings
Garry's Mod server tutorial
By CxKapN
In this guide you will learn everything you need to know about garry's mod dedicated servers.
   
Award
Favorite
Favorited
Unfavorite
SteamCMD - Valve Developer Community
SteamCMD is a command-line version of the Steam client. Its primary use is to install and update various dedicated servers available on Steam using a command-line interface.

You will need SteamCMD to download to required server files, let's get started.
Downloading SteamCMD
Downloading SteamCMD Wiki[https//develohttps]
Direct Download
  1. Download SteamCMD
    (If you downloaded SteamCMD through console, skip step 2)

  2. Extract steamcmd.zip and place the folder in your C:\ drive.

  3. Open steamcmd.exe and wait until it finishes downloading it's files.
    Optional
    3a. Type quit in steamcmd and delete 'steamcmd.exe.old'
    3b. Open steamcmd.exe
Downloading Server Files
Type the following into steamcmd
  • Steam>login anonymous
  • Steam>force_install_dir C:\gmod
  • Steam>app_update 4020 validate
  • Steam>quit
Edit:: Do not include Steam> in the commands.
Starting the server
  1. Create a .bat file in C:\gmod
    Name the .bat something like launch;start;run etc

    1a. Creating a .bat file
    • Create a new .txt in C:\gmod
    • Save it
    • Rename the .txt to .bat

    1b. Can't see file extentions such as .bat, .txt, etc?
    • Open File Explorer Options
      Control Panel\Appearance and Personalization\File Explorer Options
    • Under view tab select 'Show hidden files, folders and drives'

  2. Paste the following in your .bat file
    start srcds.exe -console -game "garrysmod"
  3. Save the .bat
  4. Double click the .bat
  5. Enjoy your garry's mod server
Server.cfg
  1. Locate server.cfg in your GMOD folder (C:\gmod\garrysmod\cfg)
  2. Open server.cfg
  3. Paste the following in server.cfg
    # Logging log "on" # Server name hostname "" # Server rcon password rcon_password "" # Server password sv_password "" // Execute ban files \\ exec banned_ip.cfg exec banned_user.cfg
  4. Save server.cfg
Mounting Content
Helpful Information
Mounting Content on a Dedicated Server[wiki.garrysmod.com]
Dedicated Servers List[wiki.https]

Downloading CS:S content to mount
Type the following into steamcmd
  • Steam>login anonymous
  • Steam>force_install_dir c:\gmod\css
  • Steam>app_update 232330 validate
  • Steam>quit

Mounting CS:S
  • Go to the following directory C:\gmod\garrysmod\cfg
  • Open mount.cfg
  • Paste the following code
    "mountcfg" { "cstrike" "c:\gmod\css\cstrike" }
Downloads
Steamcmd C:\steamcmd
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip

Premade Server C:\gmod
Link removed due to old content, will reupload if requested.

ULX/ULib used for user management
http://ulyssesmod.net/

Facepunch very useful website for server owners

Scriptfodder A place to buy premium gmod addons
https://scriptfodder.com/
Connecting to your server
Click here to get your IP[www.google.com]

Connecting via console
  • Open Garry's Mod
  • Open your console
  • Type 'connect <Paste the IP you copied here>'

Connect using legacy server browser
  • Open Garry's Mod
  • Find multiplayer server
  • Legacy Browser
  • Lan
  • If you port forwarded, your server will be listed in 'Lan'
Port Forwarding
I will not explain how to port forward, I will however give you this helpful link!
http://portforward.com/
40 Comments
CxKapN  [author] 11 Sep, 2017 @ 12:09pm 
If there is anything I can modify/add to this guide please send me a private message, thanks.
TSJ 3 Apr, 2017 @ 6:03am 
Thnaks :)
CxKapN  [author] 2 Apr, 2017 @ 11:34pm 
Guide has been updated! Enjoy
CxKapN  [author] 2 Apr, 2017 @ 11:20pm 
🔥TSJ_TJJ🔥
Just repeat the 'Downloading Server Files' section of the guide.
TSJ 2 Apr, 2017 @ 9:11am 
How can i update the server?
Furinaxi 26 Nov, 2016 @ 1:13pm 
Do the players of the server have access to the owner's rout?
CxKapN  [author] 11 Feb, 2016 @ 7:37pm 
[( ͡° ͜ʖ ͡°)][GobalPotato]
Public IP
KQluy 11 Feb, 2016 @ 6:04pm 
public or private IP?
CxKapN  [author] 11 Feb, 2016 @ 1:23pm 
[( ͡° ͜ʖ ͡°)][GobalPotato]
Add your IP and Server port to your legacy server browser favorites
KQluy 10 Feb, 2016 @ 3:23pm 
Is there any other way of joining the server?