In the console window type 'status' or host_status_formatted', these will give you all the IP's of the players on your server.
Find the IP that you want then in the console window type
- Code: Select all
sv_addip X 123.123.123.123
X is the amount of time you want to ban them.'0' is forever, 120 is 2 hours etc.
You will need to have this line in your server.cfg file to enable banning.
- Code: Select all
sv_filterban 1
This will ban players for as long as you run the server. For a permanent ban, to ban players you will need to make a banned players file and load that each time your server starts.