Name restriction plugin request?

coersum

Plugin Developer
Plugin Developer
Oct 9, 2014
77
5
8
47
Parts Unknown
I am nowhere close to making something like that but hoping someone out there can. Something to limit the use of Pluton, Server, Server Console + a few the admin can enter by hand and also restrict the character you can use in your name to the one we can type!

Thank you
 
  • Agree
Reactions: sendjes

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,065
4,486
113
At your house.
github.com
I am nowhere close to making something like that but hoping someone out there can. Something to limit the use of Pluton, Server, Server Console + a few the admin can enter by hand and also restrict the character you can use in your name to the one we can type!

Thank you
I can do It. Do I understand it good that you want to kick people who use xyz name, or you want to lock the name to the ID?
 

coersum

Plugin Developer
Plugin Developer
Oct 9, 2014
77
5
8
47
Parts Unknown
Protect names like "Server", Server Console, Pluton etc (being able to enter a few by hand to protect moderator's and owner name.
Also limit names to:

Upper case letters: A to Z (26 characters)
Lower case letters: a to z (26 characters)
Numbers: 0 to 9 (10 characters)
Symbols: (space) ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _` { | } ~ (33 characters)
 

balu92

Moderator
Moderator
Jul 11, 2014
338
75
28
33
Protect names like "Server", Server Console, Pluton etc (being able to enter a few by hand to protect moderator's and owner name.
Also limit names to:

Upper case letters: A to Z (26 characters)
Lower case letters: a to z (26 characters)
Numbers: 0 to 9 (10 characters)
Symbols: (space) ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _` { | } ~ (33 characters)
wow, that's what I call a detailed request! My new favourite plugin developer! :p
 
  • Like
Reactions: Snake

coersum

Plugin Developer
Plugin Developer
Oct 9, 2014
77
5
8
47
Parts Unknown
I would make it myself, but in years of doing programming as a hobby (basic back in dos, delphi, then discovered internet, perl, then php etc... I ALWAYS HATED REGEX! (or whatever that function is called to compare stuff like this plugin requires...
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,065
4,486
113
At your house.
github.com
I would make it myself, but in years of doing programming as a hobby (basic back in dos, delphi, then discovered internet, perl, then php etc... I ALWAYS HATED REGEX! (or whatever that function is called to compare stuff like this plugin requires...
Have you seen my illegal name plugin?

I will do it for pluton in this second now.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,065
4,486
113
At your house.
github.com

balu92

Moderator
Moderator
Jul 11, 2014
338
75
28
33
I would make it myself, but in years of doing programming as a hobby (basic back in dos, delphi, then discovered internet, perl, then php etc... I ALWAYS HATED REGEX! (or whatever that function is called to compare stuff like this plugin requires...
I know that feel.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,065
4,486
113
At your house.
github.com
I think I found an error, some ASCII characters can bypass this filter. Not sure why.
By ASCII, you meant the éáőüöóúűé ?

I added the Hungarian Characters by default, but I think I can make it configurable, to add custom chars in the ini.
 

Louis

Member
Member
Oct 11, 2014
33
3
8
36
Parts Unknown
By ASCII, you meant the éáőüöóúűé ?

I added the Hungarian Characters by default, but I think I can make it configurable, to add custom chars in the ini.
By ASCII I mean: hearts, sandscript, scribble things, swastikas, special letters with bubbles around them. The list is pretty much infinite. I'll work on a list with you, that's if you want.