196 lines
13 KiB
XML
196 lines
13 KiB
XML
<InputRestrictionData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://vezel.dev/novadrop/dc/InputRestrictionData InputRestrictionData.xsd" xmlns="https://vezel.dev/novadrop/dc/InputRestrictionData">
|
|
<CharacterSetRestriction>
|
|
<CharacterSet name="NarrowWord">
|
|
<Range from="0x0000" to="0x007F" />
|
|
</CharacterSet>
|
|
<CharacterSet name="Alphabet">
|
|
<Range from="0x0041" to="0x005A" />
|
|
<Range from="0x0061" to="0x007A" />
|
|
</CharacterSet>
|
|
<CharacterSet name="Upper-Alphabet">
|
|
<Range from="0x0041" to="0x005A" />
|
|
</CharacterSet>
|
|
<CharacterSet name="Lower-Alphabet">
|
|
<Range from="0x0061" to="0x007A" />
|
|
</CharacterSet>
|
|
<CharacterSet name="Number">
|
|
<Range from="0x0030" to="0x0039" />
|
|
</CharacterSet>
|
|
<CharacterSet name="Space">
|
|
<Range from="0x0020" to="0x0020" />
|
|
</CharacterSet>
|
|
<CharacterSet name="Punctuation">
|
|
<Range from="0x002E" to="0x002E" />
|
|
</CharacterSet>
|
|
<CharacterSet name="Symbol">
|
|
<Range from="0x0020" to="0x002F" />
|
|
<Range from="0x003A" to="0x0040" />
|
|
<Range from="0x005B" to="0x0060" />
|
|
<Range from="0x007B" to="0x007E" />
|
|
</CharacterSet>
|
|
<CharacterSet name="HtmlEntities">
|
|
<Range from="0x0021" to="0x0021" />
|
|
<Range from="0x0026" to="0x0026" />
|
|
<Range from="0x003C" to="0x003C" />
|
|
<Range from="0x003E" to="0x003E" />
|
|
</CharacterSet>
|
|
<CharacterSet name="NewLine">
|
|
<Range from="0x000A" to="0x000A" />
|
|
<Range from="0x000D" to="0x000D" />
|
|
<Range from="0x003B" to="0x003B" />
|
|
</CharacterSet>
|
|
</CharacterSetRestriction>
|
|
<Enabled client="false" />
|
|
<RegularExpressions>
|
|
<RegularExpression name="CharacterName">
|
|
<Check target="Upper-Alphabet" if="Lower-Alphabet" replace="Upper-Alphabet" />
|
|
<Check target="Lower-Alphabet" repeat="true" />
|
|
<Check max="2" target="Punctuation" repeat="true" if="Space" replace="Punctuation">
|
|
<Check target="Upper-Alphabet" if="Lower-Alphabet" replace="Upper-Alphabet" />
|
|
<Check target="Lower-Alphabet" repeat="true" />
|
|
</Check>
|
|
</RegularExpression>
|
|
<RegularExpression name="GuildName">
|
|
<Check target="Alphabet" />
|
|
<Check target="Lower-Alphabet" repeat="true" />
|
|
<Check target="Space" repeat="true">
|
|
<Check target="Alphabet" />
|
|
<Check target="Lower-Alphabet" repeat="true" />
|
|
</Check>
|
|
</RegularExpression>
|
|
</RegularExpressions>
|
|
<RestrictionContents>
|
|
<Content name="None" readableId="RESTRICTION_NONE" />
|
|
<Content name="@inputrestriction:1" readableId="RESTRICTION_CHARACTER_NAME">
|
|
<Rule type="MinLength" min="3" awareNarrowWord="true" onFail="RE_MINLENGTH_RESTRICTION" />
|
|
<Rule type="MaxLength" max="20" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="RegularExpression" target="CharacterName" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:21" readableId="RESTRICTION_GUILD_NAME">
|
|
<Rule type="MinLength" min="3" awareNarrowWord="true" onFail="RE_MINLENGTH_RESTRICTION" />
|
|
<Rule type="MaxLength" max="32" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="RegularExpression" target="GuildName" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:2" readableId="RESTRICTION_CHAT">
|
|
<Rule type="MaxLength" max="1300" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:3" readableId="RESTRICTION_VENDINGMACHINE_ADVERTISE">
|
|
<Rule type="MinLength" min="1" awareNarrowWord="true" onFail="RE_MINLENGTH_RESTRICTION" />
|
|
<Rule type="MaxLength" max="300" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:5" readableId="RESTRICTION_PARCEL_TITLE">
|
|
<Rule type="MaxLength" max="100" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:6" readableId="RESTRICTION_PARCEL_MESSAGE">
|
|
<Rule type="MaxLength" max="300" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:8" readableId="RESTRICTION_PARTY_BOARD_DESC">
|
|
<Rule type="MaxLength" max="30" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:9" readableId="RESTRICTION_ADMINTOOL_BOOKMARK_NAME">
|
|
<Rule type="MaxLength" max="20" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="CharacterSet" exclude="HtmlEntities" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:10" readableId="RESTRICTION_GREETING_MESSAGE">
|
|
<Rule type="MaxLength" max="40" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:11" readableId="RESTRICTION_GUILD_NOTICE">
|
|
<Rule type="MaxLength" max="120" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:12" readableId="RESTRICTION_GUILD_TITLE">
|
|
<Rule type="MaxLength" max="14" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="CharacterSet" exclude="NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:13" readableId="RESTRICTION_GUILD_MYPR">
|
|
<Rule type="MaxLength" max="60" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:14" readableId="RESTRICTION_GUILD_GUILDPR">
|
|
<Rule type="MaxLength" max="60" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:15" readableId="RESTRICTION_GUILD_APPLY">
|
|
<Rule type="MaxLength" max="60" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:16" readableId="RESTRICTION_GUILD_GROUP">
|
|
<Rule type="MaxLength" max="15" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="CharacterSet" exclude="HtmlEntities" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:17" readableId="RESTRICTION_PERSONAL_CHAT_NAME">
|
|
<Rule type="MinLength" min="2" awareNarrowWord="true" onFail="RE_MINLENGTH_RESTRICTION" />
|
|
<Rule type="MaxLength" max="8" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:22" readableId="RESTRICTION_PERSONAL_CHAT_PASSWORD">
|
|
<Rule type="RangedNumericOnly" max="9999" min="1000" onFail="RE_RANGEDNUMERICONLY_RESTRICTION" />
|
|
<Rule type="MaxLength" max="4" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:19" readableId="RESTRICTION_LORD_GREETINGS">
|
|
<Rule type="MaxLength" max="200" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:20" readableId="RESTRICTION_LORD_CANDIDATE_PLEDGE">
|
|
<Rule type="MaxLength" max="200" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:23" readableId="RESTRICTION_GUILD_WAR_DECLARE_MESSAGE">
|
|
<Rule type="MaxLength" max="40" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:24" readableId="RESTRICTION_GROUPDUEL_PR_MESSAGE">
|
|
<Rule type="CharacterSet" include="Alphabet|Number|Symbol|NewLine" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:25" readableId="RESTRICTION_SERVANT_NAME">
|
|
<Rule type="MinLength" min="1" awareNarrowWord="true" onFail="RE_MINLENGTH_RESTRICTION" />
|
|
<Rule type="MaxLength" max="16" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="RegularExpression" target="CharacterName" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
<Content name="@inputrestriction:26" readableId="RESTRICTION_UNION_CONSUL_NOTICE">
|
|
<Rule type="MaxLength" max="256" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="StringMatch" replace="true" onFail="RE_ABUSE_LETTER_RESTRICTION" table="AbuseWord" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:27" readableId="RESTRICTION_UNION_POLICY">
|
|
<Rule type="MaxLength" max="256" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="StringMatch" replace="true" onFail="RE_ABUSE_LETTER_RESTRICTION" table="AbuseWord" />
|
|
<Rule type="ConvertUrlEncodeStr" onFail="RE_UNKNOWN" />
|
|
</Content>
|
|
<Content name="@inputrestriction:28" readableId="RESTRICTION_ITEM_MESSAGE">
|
|
<Rule type="MinLength" min="1" awareNarrowWord="true" onFail="RE_MINLENGTH_RESTRICTION" />
|
|
<Rule type="MaxLength" max="8" awareNarrowWord="true" onFail="RE_LENGTH_RESTRICTION" />
|
|
<Rule type="LengthNarrowWordOnly" max="8" onFail="RE_LENGTHASCIIONLY_RESTRICTION" />
|
|
<Rule type="RegularExpression" target="CharacterName" onFail="RE_SPECIAL_CHARACTER_RESTRICTION" />
|
|
</Content>
|
|
</RestrictionContents>
|
|
<UrlEncode>
|
|
<Char from="<" to="&lt;" />
|
|
<Char from=">" to="&gt;" />
|
|
<Char from=""" to="&quot;" />
|
|
</UrlEncode>
|
|
</InputRestrictionData>
|