PDA

View Full Version : How to ban people from server?



VMF-112_Turret
11-24-2004, 01:55 PM

SlickStick
11-24-2004, 02:23 PM
You can acquire the syntax for any console command by opening the console with SHIFT+TAB and typing a ? and the command name.

This was lifted from a previous post by lil_labbit:

- Open console (Shift Tab)
enter command

ban ADD NAME lil_labbit
will ban player lil_labbit from your game.

ban ADD PATTERN lil_*
will ban all players with name starting with "lil_"

ban REM NAME lil_labbit
will let player lil_labbit play again (unban)

ban IP 253.51.00.00
will ban player with IP address 253.51.00.00

ban CLEAR
will clear all players to play again

ban LOAD banned.txt
will ban all players in file banned.txt

ban SAVE banned.txt
will write all currently banned players to file banned.txt

All commands are case-sensitive and you must type the callsign EXACTLY as it appears in-game to ban by name. Also, each time you restart your server, you must load the banned.txt file using the "ban LOAD banned.txt" command.

Maj_Death
11-24-2004, 03:31 PM
Banning people's IP cause they had a high ping once will promptly result in you being known as an *sshole. I suggest you use the auto kick feature instead, that is what it is there for. Of course it is your server and your name, do as you wish with it. But I strongly advise against using the ban function in cases like this.

VMF-112_Turret
11-25-2004, 04:01 AM
What settings go I need in config file to auto kick players above 300 ping? I have reading problems that is my handicap so it's hard for me to understand instructiions that aren't written in the most simple form.