Raised This Month: $ Target: $400
 0% 

Plugin request Autoban


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Azuriath
New Member
Join Date: Oct 2014
Old 10-19-2014 , 17:00   Plugin request Autoban
Reply With Quote #1

I need a plugin to autoban on player connect in the server. (Counter strike source)
Azuriath is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 10-19-2014 , 17:29   Re: Plugin request Autoban
Reply With Quote #2

No you don't. You can use sv_password instead as banning players on connect is just plain rude.
Sreaper is offline
Azuriath
New Member
Join Date: Oct 2014
Old 10-19-2014 , 22:03   Re: Plugin request Autoban
Reply With Quote #3

Quote:
Originally Posted by Sreaper View Post
No you don't. You can use sv_password instead as banning players on connect is just plain rude.

No, i need a autoban or autokick only.
Azuriath is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 10-20-2014 , 01:27   Re: Plugin request Autoban
Reply With Quote #4

PHP Code:
public OnClientConnect(client) {
    
BanClient(client07"Banned for connecting to the server""Playing CS:S is not allowed on this CS:S server.");

There.
__________________
ddhoward is offline
InB
AlliedModders Donor
Join Date: Aug 2012
Location: Los Angeles
Old 10-20-2014 , 02:13   Re: Plugin request Autoban
Reply With Quote #5

Quote:
Originally Posted by ddhoward View Post
PHP Code:
public OnClientConnect(client) {
    
BanClient(client07"Banned for connecting to the server""Playing CS:S is not allowed on this CS:S server.");

There.

Nice description, really funny. Thank you for making my day.
__________________
InB is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 10-20-2014 , 12:48   Re: Plugin request Autoban
Reply With Quote #6

So if you ban every one that connects, why do you have a server up at all?
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-20-2014 , 16:56   Re: Plugin request Autoban
Reply With Quote #7

You forgot

Code:
public OnPluginStart()
{
  BanClient(0, 0, 7, "Banhammer!", "Server is not allowed on this server.");
  while(true){}
}
USER WAS BANNED FOR THIS POST
__________________

Last edited by Chdata; 10-20-2014 at 16:59.
Chdata is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode