Access levels stored in XML.
This commit is contained in:
31
L2J_Mobius_C6_Interlude/dist/game/data/xsd/AccessLevels.xsd
vendored
Normal file
31
L2J_Mobius_C6_Interlude/dist/game/data/xsd/AccessLevels.xsd
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="list">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="access" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute type="xs:byte" name="level" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="name" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="nameColor" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="useNameColor" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="titleColor" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="useTitleColor" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="isGm" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="allowPeaceAttack" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="allowFixedRes" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="allowTransaction" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="allowAltg" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="giveDamage" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="takeAggro" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="gainExp" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="canDisableGmStatus" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
23
L2J_Mobius_C6_Interlude/dist/game/data/xsd/AdminCommands.xsd
vendored
Normal file
23
L2J_Mobius_C6_Interlude/dist/game/data/xsd/AdminCommands.xsd
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="list">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="1" minOccurs="1">
|
||||
<xs:element name="admin" maxOccurs="unbounded" minOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="accessLevel" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:nonNegativeInteger">
|
||||
<xs:minInclusive value="0" />
|
||||
<xs:maxInclusive value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="command" use="required" type="xs:token" />
|
||||
<xs:attribute name="confirmDlg" type="xs:boolean" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user