How to kick a player by user ID in CS2
Type kickid 5 "Please stop team killing" in the server console to kick user ID 5 with that message. Get IDs from status.
kickid
Removes a player by user ID or Steam ID, with an optional message shown to them.
kickid <userid|steamid> [message] Examples
kickid 5 Kick user ID 5.
kickid 5 "Please stop team killing" Kick with a reason.
Arguments
useridRequired- User ID from
status, or the player's Steam ID. messageOptional- Reason shown to the player.
What it does
Get the user ID from status. The message is shown to the kicked player.
The game's own description: Kick a player by userid or uniqueid, with a message.
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 game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.
Your own
CS2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.