Raised This Month: $12 Target: $400
 3% 

Bad name player kicker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SteamKiller
Member
Join Date: Jul 2010
Old 10-04-2010 , 14:27   Bad name player kicker
Reply With Quote #1

Hi all.
I need a SM plugin that just kicks player if his name contain any URL, IP or other blacklisted words and notify him that advertising or swearing in nickname are not allowed.
Any ideas about how it may be done are welcome.
__________________
I'm happy by default, please do not touch my settings...
SteamKiller is offline
API
Veteran Member
Join Date: May 2006
Old 10-04-2010 , 15:04   Re: Bad name player kicker
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?p=740282
Found by searching "name" on the SourceMod plugin search portal.
__________________
API is offline
Send a message via AIM to API
SteamKiller
Member
Join Date: Jul 2010
Old 10-04-2010 , 16:04   Re: Bad name player kicker
Reply With Quote #3

weird, in my case seems that search engine ignored word 'name'...

The following words are either very common, too long, or too short and were not included in your search : name

Anyway, it doesn't recognise URL's and IPs in nickname I think, just blacklisted words, like in Mani Admin...
__________________
I'm happy by default, please do not touch my settings...

Last edited by SteamKiller; 10-04-2010 at 16:20.
SteamKiller is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-04-2010 , 16:15   Re: Bad name player kicker
Reply With Quote #4

He meant this: http://www.sourcemod.net/plugins.php
__________________
thetwistedpanda is offline
SteamKiller
Member
Join Date: Jul 2010
Old 10-04-2010 , 18:16   Re: Bad name player kicker
Reply With Quote #5

Quote:
Originally Posted by thetwistedpanda View Post
Yes, I understand that after a while and did search by 'nick' in place of 'name', and found the same plugin, but I'm still not clear how to detect the URL and IP in nickname, cause it's a big headashe to add in blacklist ALL names containing IP's from logs...
__________________
I'm happy by default, please do not touch my settings...

Last edited by SteamKiller; 10-05-2010 at 06:56.
SteamKiller is offline
Alex.
SourceMod Donor
Join Date: Sep 2010
Location: England
Old 10-05-2010 , 11:14   Re: Bad name player kicker
Reply With Quote #6

That plugin disallows only specific nicknames - not patterns in the nicknames.
Alex. is offline
SteamKiller
Member
Join Date: Jul 2010
Old 10-05-2010 , 13:50   Re: Bad name player kicker
Reply With Quote #7

Quote:
Originally Posted by Alex. View Post
That plugin disallows only specific nicknames - not patterns in the nicknames.
No, actually it detects patterns in nickname, but I dunno how to give such an universal pattern for URL or IP

Quote:
Be sure to block the right names! Check is NOT case sensitve and it is searched WITHIN a name. So a bad name like sex would block a name like PlaysExtremelyBad too.
__________________
I'm happy by default, please do not touch my settings...
SteamKiller is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 10-05-2010 , 18:09   Re: Bad name player kicker
Reply With Quote #8

Maybe just add following:
http
www
.com
.org
and other endings?
__________________
DieTeetasse is offline
SteamKiller
Member
Join Date: Jul 2010
Old 10-05-2010 , 19:23   Re: Bad name player kicker
Reply With Quote #9

Quote:
Originally Posted by DieTeetasse View Post
Maybe just add following:
http
www
.com
.org
and other endings?
Yup, for DNS I did so, but not for IPs . . .
__________________
I'm happy by default, please do not touch my settings...
SteamKiller is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-05-2010 , 19:39   Re: Bad name player kicker
Reply With Quote #10

You might be able to use regex and check for for a series of periods to see whether or not it's an ip.
__________________
thetwistedpanda 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 05:29.


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