Every 2hours.gg HL2:DM server comes with SourceMod installed. You deployed it, so you are the admin. Type these in the game chat (press Y).
Chat commands
!map dm_steamlab: change the map. Stock maps: dm_lockdown, dm_overwatch, dm_powerhouse, dm_resistance, dm_runoff, dm_steamlab, dm_underpass.!kick name: kick a player.!ban name 30: ban a player for 30 minutes (0 = permanent).!slay name: kill a player (for settling arguments).!cvar sv_gravity 150: change any server setting from chat.!rcon status: run any console command from chat.
Heads up: HL2:DM cannot display SourceMod menus (a game limitation, not a server setting), so !admin and vote menus do not work here. Use the direct commands above, or the web console on your server card.
Change map, mode or rules
Use the web console on your server card. It has buttons for switching map, deathmatch vs team deathmatch, frag and time limits, gravity, and friendly fire. No RCON setup needed.
Public or private
- Leave the Join password empty on deploy = public. Anyone with the IP can join.
- Set a Join password = private. Only people with the password get in.
To join a private server, friends open their console and run: password yourpassword; connect IP:27015
Command reference
Run these from the web RCON console on your server card. Every command below is verified on a live 2hours.gg HL2:DM server.
Map and match
status- List connected players, Steam IDs, ping and the current map.
changelevel <map>- Load a map (e.g. changelevel dm_lockdown). Briefly drops players. The Map dropdown does this for you.
mp_teamplay <0|1>- 1 = team deathmatch, 0 = free-for-all. Teams apply on the next map load, so chain a changelevel. The Mode dropdown does both.
mp_fraglimit <n>- End the map at n kills (0 = no limit).
mp_timelimit <minutes>- End the map after n minutes (0 = no limit).
mp_restartgame 1- Restart the round in 1 second, scores reset, everyone stays connected.
kick "<name>"- Kick a player by name (sm_kick also works and takes a reason).
say <message>- Print a message in everyone’s chat as the server.
Server rules
sv_gravity <n>- World gravity. 600 = normal, 300 = low, 150 = moon. Low gravity + the gravity gun is a classic.
mp_friendlyfire <0|1>- Whether teammates can hurt each other (team deathmatch only).
mp_falldamage <0|1>- Fall damage. 0 by default.
mp_weaponstay <0|1>- 1 = picked-up weapons stay on the map for the next player.
sv_hl2mp_weapon_respawn_time <s>- Seconds before a picked-up weapon respawns (default 20).
sv_hl2mp_item_respawn_time <s>- Seconds before health and ammo respawn (default 30).
sv_alltalk <0|1>- Voice chat across teams. On by default on our servers.
mp_flashlight <0|1>- Allow the flashlight.
SourceMod admin
sm_who- List players and their admin access. You show up as root.
sm_kick <name> [reason]- Kick with a reason shown to the player.
sm_ban <name> <minutes> [reason]- Ban for n minutes (0 = permanent).
sm_rename <name> <newname>- Rename a player.
sm_cvar <cvar> [value]- Read or set any server cvar.
sm plugins list- List the installed plugins and versions.
What players type (client-side)
connect <ip>:27015- Join the server directly. Also works from the server browser (View → Servers → Favorites).
password <password>- Set the join password before connecting to a private server.