Skip to content

Hl2dmserver

github-actions[bot] edited this page Mar 28, 2026 · 2 revisions

Half-Life 2: Deathmatch

This guide covers the hl2dmserver module in AlphaGSM.

Requirements

  • screen
  • SteamCMD runtime libraries (lib32gcc-s1, lib32stdc++6)
  • Python packages from requirements.txt

Quick Start

Create the server:

alphagsm myhl2dmser create hl2dmserver

Run setup:

alphagsm myhl2dmser setup

Start it:

alphagsm myhl2dmser start

Check it:

alphagsm myhl2dmser status

Stop it:

alphagsm myhl2dmser stop

Setup Details

Setup configures:

  • the game port (default 27015)
  • the install directory
  • the executable name
  • SteamCMD downloads the server files
  • default configuration and backup settings

Useful Commands

alphagsm myhl2dmser update
alphagsm myhl2dmser backup

Notes

  • Module name: hl2dmserver
  • Default port: 27015

Developer Notes

Run File

  • Executable: srcds_run
  • Location: <install_dir>/srcds_run
  • Engine: Source
  • SteamCMD App ID: 232370

Server Configuration

  • Config file: hl2mp/cfg/server.cfg
  • Key settings:
    • hostname — Server name
    • sv_maxrate — Max network rate
    • rcon_password — Remote console password
  • Default port: 27015
  • Default map: dm_lockdown
  • Max players: 16
  • Ports:
    • Game port: 27015 (UDP)
    • Client port: 27005 (UDP)
    • SourceTV port: 27020 (UDP)
  • Template: See server-templates/hl2dmserver/

Maps and Mods

  • Map directory: hl2mp/maps/
  • Mod directory: hl2mp/addons/
  • Workshop support: No
  • Map install: Copy .bsp files into hl2mp/maps/ and add to hl2mp/cfg/mapcycle.txt.
  • Mod install: Copy addon folders into hl2mp/addons/.

Clone this wiki locally