Skip to content
/SLASHPLAY

How to kick a player by userid in Half-Life 2: Deathmatch

Type status, note the player's userid, then kickid 5 reason in the Console tab.

kickid

Kicks a player by userid or Steam ID, with an optional message they see.

kickid <userid|steamid> [message]

Examples

kickid 5

Kicks userid 5.

kickid 5 Too much spawn camping

Kicks with a reason.

Arguments

userid|steamidRequired
Userid from status, or the player's Steam ID.
messageOptional
Reason shown to the player.

What it does

More reliable than kick because it doesn't depend on the name. Get the userid from status.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.

Your own
HL2DM server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.