- darthbob
- |
- Exalted Legendary Member
* Pr: ĭnʹtərnĕts: "I hear there's rumors on the uh (pause), Internets...
I read one of the stickies. :)
"# Kick / Ban Commands
# I want to kick a player off the server.
rcon frag sv_kick [playernumber]
or
rcon frag sv_kick [playername]
So, you can accomplish kicking a player off the server by either of the two commands listed above. Most of the time, it's easier to use the player's name, but, occasionally, like when the player's name has alt-codes that cannot be deciphered, it's easier to use the player's number, which can be found using the sv_players command.
Let's take a quick break here. You need to know that player numbers changed between games. One time I went to ban a player with alt-codes in his name, so I brought up the players list. He was #7, so I started typing in the rcon command. While I was typing it in, the game ended and the next one started. When I submitted the rcon command, I was player #7 and I ended up banning myself. So, just a word of caution, be careful when you kick or ban via player number and try not to do it in-between games. Back to the grind.
# I want to ban a player from the server.
rcon frag sv_ban [playernumber]
or
rcon frag sv_ban [playername]
Again, there are two ways to ban a player. Please note that when you ban a player via rcon, you ban them permanently. Also, if the server operator runs more than one server and they are linked by a banlist, the player you ban will not be able to play on any of that operator's servers."