Skip to content
/SLASHPLAY

How to kick a player by userid in L4D2

Run status in the Console tab of the server page, then kickid 5 Idle too long with the player's userid.

kickid

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

kickid <userid|steamid> [message]

Examples

kickid 5 Idle too long

Kick userid 5 with a reason.

kickid STEAM_1:0:12345678

Kick by Steam ID.

Arguments

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

What it does

Get the userid or Steam ID from status. More reliable than kick for names with symbols.

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 left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.

Your own
L4D2 server.

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