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

Restrict Names 1.2a


Post New Thread Reply   
 
Thread Tools Display Modes
luciaus18
Senior Member
Join Date: Dec 2014
Old 12-13-2018 , 15:58   Re: Restrict Names 1.2a
Reply With Quote #381

Everything is good in this restrictnames.cfg? I mean should I add something else? I want this for players with symbols in name and with short/long name.
luciaus18 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-13-2018 , 20:05   Re: Restrict Names 1.2a
Reply With Quote #382

Put the stuff you want in the file. We can't tell you what you want. I don't think you can check name length with this.
__________________
fysiks is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 12-14-2018 , 03:26   Re: Restrict Names 1.2a
Reply With Quote #383

Yes you can fysiks
Quote:
Originally Posted by restrictnames.ini
^.{1,2}$ "name length must be 3-26 characters" 0 "Name was too Short"
^.{27,}$ "name length must be 3-26 characters" 0 "Name was too Long"
__________________

Mordekay is offline
luciaus18
Senior Member
Join Date: Dec 2014
Old 12-14-2018 , 07:12   Re: Restrict Names 1.2a
Reply With Quote #384

I don't understand what are these letters, simbols here..
Code:
 \bn[e3i1\W_]+g[geal\W_\d]+[rt]s?\b "likely racist term" 1
\bn[e3i1\W_]+g([\W_]*g)?([\W_]*l)?[\W_]*[ei\d][\W_]*[rt]s?\b "likely racist term" 1
\bn[\W_]*[i1][\W_]*g([\W_]*g)?([\W_]*[a@])?h?\b "likely racist term" 1
j[\W_]*[eiu][\W_]*w[\W_]*s? "likely racist term" 1
j([^\w\/]|[\d_])+w "likely racist term" 1
j[\W_]*[e3i1u\W_][\W_]*w[\W_]*[e3\W_][\W_]*d "likely racist term" 1
k[\W_]*[i1\W_][\W_]*k[\W_]*[e3] "likely racist term" 1
africoon "likely racist term" 1
jigaboo "likely racist term" 1
chink "likely racist term" 1
spick? "likely racist term" 1
k[yi!1]k[e3] "likely racist term" 1
g[\W_]*[a\W_][\W_]*y[\W_]*[e3\W_][\W_]*d "likely homophobic term" 1
(f+|ph)[\W_]*[a@4]+[\W_]*[g9]+[sz]?([\W_]*[g9]?[\W_]*[oei10][\W_]*t)?[sz]? "likely homophobic term" 1
q+[uv]+[e3]*r "likely homophobic term" 1
g+[\W_h]*[ae\W_][\W_]*y+ "likely homophobic term" 1
^(\(\d\))?player$ "'player' not allowed" 0 "Name was Prohibited"
[`~] "console key not allowed" 0 "Name had Console Key"
^.{1,2}$ "name length must be 3-26 characters" 0 "Name was too Short"
^.{27,}$ "name length must be 3-26 characters" 0 "Name was too Long"
(m.?y.?|t.?h.?e.?).?g.?[o0].?t "stupidity" 2 0
\[japs "stupidity" 2 0
game-deception "stupidity" 2 0
luciaus18 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-14-2018 , 20:38   Re: Restrict Names 1.2a
Reply With Quote #385

Quote:
Originally Posted by Mordekay View Post
Yes you can fysiks
Clearly I had a lapse in memory (I didn't even look at the file, just going off of memory), oops.
__________________
fysiks is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 05-28-2020 , 04:36   Re: Restrict Names 1.2a
Reply With Quote #386

I must confess. I am completely overwhelmed with this plugin.

Can someone please tell me an example of how I can change this nickname (rename) and kick it once? The website http://www.regular-expressions.info/ is too high for me here and I absolutely don't see through it.

Forbidden Nickname:

G a m e r C l u b . N e t[15]

Thanks :/ Maybe i understand it after when anyone can show me it.
Godofwar is offline
SAJAL
Junior Member
Join Date: May 2020
Old 08-06-2020 , 07:23   Re: Restrict Names 1.2a
Reply With Quote #387

Hi I tested it in my server and it would change all names which I want except <Warrior> Player, is it because of space or something else? How should I write in restrictnames.ini so it changes this name too.
SAJAL is offline
AMD_Ryzen
New Member
Join Date: Jan 2021
Old 01-05-2021 , 05:03   Re: Restrict Names 1.2a
Reply With Quote #388

Quote:
Originally Posted by Hawk552 View Post
Nice plugin. I plan on using this. Good job.
Good afternoon, forum users. All with the coming holidays. I'm new here, I don't know all the rules of the forum yet, and I communicate through an online translator. So do not judge strictly)
Now let's move on to the topic of this Restrictnames plugin. I figured out how it prohibits login to the server and kicks certain nicknames. I also figured out bans and changing a nickname. But how to change the nickname for players with Russian symbols (nicknames), I did not understand
Tell me how to fill out the form in restrictnames.ini so that Russian letters are prohibited
Let's say a player with the nickname "Newbie" enters and his nickname changes to "Default_HuK"

(?i)^Newbie$ "name 'Newbie' cTaHDaPTHoe" 0 "Default_HuK"

And if a player comes in with Russian symbols, with a Russian nickname, for example, Александр, then what should the line look like?

If I do this ((? I) ^ Александр $ "name 'Александр' cTaHDaPTHoe" 0 "Default_HuK"), then nothing happens.
Write a ready-made line for restrictnames.ini that blocks all Russian characters
Thank you

Last edited by AMD_Ryzen; 01-05-2021 at 09:15.
AMD_Ryzen is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 03-06-2021 , 00:35   Re: Restrict Names 1.2a
Reply With Quote #389

I know its an old plugin/thread, but a useful option would be ability to rename user to their SteamID or their display-name from their Steam profile, especially if they are connecting with a default name like "Player" or "Fricken Moron", etc.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
AMD_Ryzen
New Member
Join Date: Jan 2021
Old 05-09-2021 , 07:49   Re: Restrict Names 1.2a
Reply With Quote #390

Quote:
Originally Posted by AMD_Ryzen View Post
Good afternoon, forum users. All with the coming holidays. I'm new here, I don't know all the rules of the forum yet, and I communicate through an online translator. So do not judge strictly)
Now let's move on to the topic of this Restrictnames plugin. I figured out how it prohibits login to the server and kicks certain nicknames. I also figured out bans and changing a nickname. But how to change the nickname for players with Russian symbols (nicknames), I did not understand
Tell me how to fill out the form in restrictnames.ini so that Russian letters are prohibited
Let's say a player with the nickname "Newbie" enters and his nickname changes to "Default_HuK"

(?i)^Newbie$ "name 'Newbie' cTaHDaPTHoe" 0 "Default_HuK"

And if a player comes in with Russian symbols, with a Russian nickname, for example, Александр, then what should the line look like?

If I do this ((? I) ^ Александр $ "name 'Александр' cTaHDaPTHoe" 0 "Default_HuK"), then nothing happens.
Write a ready-made line for restrictnames.ini that blocks all Russian characters
Thank you
Still relevant. I'm waiting for help with my question
AMD_Ryzen is offline
Reply


Thread Tools
Display Modes

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 06:53.


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