Page 2 of 2

Re: Prevent creating characters with names like admin, gm etc.

Posted: Wed Apr 14, 2010 4:49 pm
by denser
i check the patch...it works well. you do something wrong!

Code: Select all

# ---------------------------------------------------------------------------# Misc Player Settings# --------------------------------------------------------------------------- # Character name template.# Examples:# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*# The above setting will allow names with first capital letter, next three small letters,# and any letter (case insensitive) or number, like OmfgWTF1# CnameTemplate = [A-Z][a-z]*# The above setting will allow names only of letters with first one capital, like Omfgwtf# Default .* (allows any symbol)CnameTemplate = [A-Za-z0-9]{2,16}  # This setting restricts names players can give to their pets.# See CnameTemplate for detailsPetNameTemplate = [A-Za-z0-9]{2,16}
i was informed about 2 letter names...but not exact

Re: Prevent creating characters with names like admin, gm etc.

Posted: Fri Apr 16, 2010 9:37 pm
by hope
mine was this will try with the 2
[A-Za-z0-9-]{3,16}