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

Restrict Names 1.2a


Post New Thread Reply   
 
Thread Tools Display Modes
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 10-04-2007 , 08:37   Re: Restrict Names 1.2a
Reply With Quote #181

@P4rD0nM3:
Correct. Only, the number isn't random. The number appended to the name is the id (1-32) of the player.

@redvsblue:
As indicated elsewhere in this thread, a regex to restrict IPs is:

Quote:
Originally Posted by Brad View Post
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
__________________
Brad is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 10-04-2007 , 12:08   Re: Restrict Names 1.2a
Reply With Quote #182

By ID meaning...

Quote:
#28 "." 8497 STEAM_0:1:14731902 0 01:14 220 0 83.167.112.119:13379
What will .'s name be?
P4rD0nM3 is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 10-05-2007 , 08:14   Re: Restrict Names 1.2a
Reply With Quote #183

PGNGuest28
__________________
Brad is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Old 10-06-2007 , 05:58   Re: Restrict Names 1.2a
Reply With Quote #184

Does this plugin rename for people using commas [,] and periods [.] only in their name?
__________________
SteamBans.org
QuakerOates is offline
redvsblue
Member
Join Date: May 2007
Old 10-06-2007 , 16:53   Re: Restrict Names 1.2a
Reply With Quote #185

Quote:
Originally Posted by Brad View Post
@redvsblue:
As indicated elsewhere in this thread, a regex to restrict IPs is:
Code:
 Originally Posted by Brad  
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}

Thanks for answering and how does it work?
I dont understand REGEX
redvsblue is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 10-08-2007 , 13:37   Re: Restrict Names 1.2a
Reply With Quote #186

@QuakerOates:
Quote:
Originally Posted by Brad View Post
This plugin will check a player's name when they enter the server and also if they change their name mid-game. It checks their name against a list of regex examples and if it matches any, the player will be punished as per the setting for that particular example (rename, kick, or ban).
@redvsblue:
\d = any digit
{1,3} = between 1 and 3 digits
\. = .
__________________
Brad is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 10-08-2007 , 21:03   Re: Restrict Names 1.2a
Reply With Quote #187

Quote:
Originally Posted by Brad View Post
PGNGuest28
Thanks Brad.
P4rD0nM3 is offline
pncgreen
Junior Member
Join Date: Nov 2006
Old 02-02-2008 , 21:20   Re: Restrict Names 1.2a
Reply With Quote #188

If i use this in the restrictnames.ini file..

^(\(\d\))?green$ "'green' not allowed" 1

Is there anyway to use a wildcard so that any name that has green in it will get kicked.. Thanks for any help anyone can give..
pncgreen is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-02-2008 , 21:50   Re: Restrict Names 1.2a
Reply With Quote #189

If you merely want anyone with "green" anywhere in there name to be kicked, you can use the following regex:

Code:
green
Yes, nothing more than that.
__________________
Brad is offline
pncgreen
Junior Member
Join Date: Nov 2006
Old 02-02-2008 , 22:03   Re: Restrict Names 1.2a
Reply With Quote #190

Thanks for the fast reply Brad.. I added this line and everything works fine..

green "'green' not allowed" 1

I dont know much about regex.. what does ^(\(\d\))?green$ mean compared to just green.. is there anywhere i can go to read up on what the ^ or back slashes or question marks,or $ mean in the line? thanks for the help.. Nice plugin Brad..

Last edited by pncgreen; 02-03-2008 at 05:09.
pncgreen 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 11:26.


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