The "codepage" Module
New in v3.5.0!
If you are using an older version you will need to upgrade to use this module.
This module allows the server administrator to define what characters are allowed in nicknames and how characters should be compared in a case insensitive way.
To load this module use the following
<codepage> tag defines settings about how the codepage module should behave. This tag can only be defined once.
|name||Text||None||Required! The name of the codepage; sent to users in the |
<cpcase> tag defines a mapping from lower case to upper case for two characters. This tag can be defined as many times as required.
|lower||Number||None||A lower case character.|
|upper||Number||None||The upper case equivalent of the character in the |
Marks "À" as the upper case equivalent of "à" in the ISO 8859-1 codepage.
<cpcase lower="192" upper="224">
<cpchars> tag defines a single character or inclusive range of characters that are allowed in nicknames. This tag can be defined as many times as required.
|begin||Number||None||The start of an inclusive range of characters to allow in nicknames.|
|end||Number||None||The end of an inclusive range of characters to allow in nicknames.|
|front||Boolean||No||Whether the characters specified in this tag can exist at the start of a nickname.|
|index||Number||None||A character to allow in nicknames.|
Allows the character with the numeric code point 45 in a nickname except as the first character.
<cpchars index="45" front="no">
Allows characters with the numeric code points in the inclusive range 123 to 125 at any point in a nickname:
<cpchars begin="123" end="125" front="yes">
The following code pages for use with this module are present in the config examples directory.
|Code page||Include Tag|