SRCDS Steam group

[Resolved] kick <player> with reason?
is there a way to kick a player via rcon and to provide a reason rather then the simple: Kicked by Console? Or am I going to have a to install some Mod for this?
I have never found a way to have a reason with rcon. You will probably need mani-admin or sm.

To my knowledge you can't kick a player with a reason. You can try rcon_kick "id" "reason", however I'm certain they will get the generic kick message and not your custom one. As ZeroX said, you should look into something like Mani-Mod or Sourcemod
Mohawk Voice v1.0 now available!
[Image: 331lwzt.jpg]
rcon kickid "id" "your sentence for your reason here"

That works I have done it many times.

Banning that way doesn't work though :\
Wait, does this actually work? I didn't think you could do it with srcds.
Looking for a game server? Visit and pick one up as low as $2.50 / mo!
rcon kickid #id aimbot

Works/worked on my server.
It's clearly built into the game since a mod wouldn't be able to sent a message to a client without a way of doing so. Therefore there has to be a way of doing it via SRCDS without a mod. I haven't tested, but what champ and others have posted should work Smile
~ Mooga ...w00t? - on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Thats it!!!

kickid < userid | uniqueid > { message }

No need for Quotes ""

Both examples work:

kickid 11 Please do not swear
kickid STEAM_0:1:223 Please do not swear

Thanks a lot guys!
Oh sweet, I will make note of this Big Grin
Looking for a game server? Visit and pick one up as low as $2.50 / mo!
I have always put quotes maybe that was the problem. Helped me Wink

Forum Jump:

Users browsing this thread: 1 Guest(s)