Skip to main content

Configure your GMOD server

This guide explains how to configure your Garry's Mod server.

Configuration files​

server.cfg​

Path: garrysmod/cfg/server.cfg

// Server name
hostname "My GMOD Server - YorkHost"

// RCON password (remote admin)
rcon_password "your_secure_password"

// Server password (optional)
sv_password ""

// Number of slots
sv_maxrate 0
sv_minrate 100000

// Tags for the server list
sv_tags "roleplay, darkrp, english"

// Gamemode
gamemode "darkrp"

// Startup map
map "rp_downtown_v4c_v2"

Change the server name​

  1. Access Files in the panel
  2. Navigate to garrysmod/cfg/
  3. Edit server.cfg
  4. Modify hostname
  5. Restart the server

Workshop Collection​

To add addons automatically:

  1. Create a Steam Workshop collection
  2. Get the collection ID
  3. In the panel, Startup > Workshop Collection ID
  4. Enter your collection ID

Install a gamemode​

  1. Download the gamemode
  2. Upload to garrysmod/gamemodes/
  3. Modify gamemode in server.cfg
  4. Restart
warning

Always use a secure RCON password.