Jump to content
Sign in to follow this  
MrUNST0PABL39

I Need Help Troubleshooting My Code

Recommended Posts

Hello, Im Working On Some Perms For A Game Server And I Cant Figure Out Why It Doesnt Work, Im New To XML So Thats Probebly Why But If You Could Help Me That Would Be Great

The Code And Error Message Are Bellow:

image.thumb.png.b38fac9d96f348b4d46c17e46982f950.png

<?xml version="1.0" encoding="utf-8"?>
<RocketPermissions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DefaultGroup>default</DefaultGroup>
  <Groups>
    <Group>
      <Id>default</Id>
      <DisplayName>Guest</DisplayName>
      <Prefix> [Player] </Prefix>
      <Suffix />
      <Color>32CD32</Color>
      <Members />
      <Priority>100</Priority>
      <Permissions>
        <Permission Cooldown="0">compass</Permission>
        <Permission Cooldown="0">p</Permission>
        <Permission Cooldown="0">rocket</Permission>
        <Permission Cooldown="0">kit.*</Permission>
        <Permission Cooldown="0">kits</Permission>
        <Permission Cooldown="300">kit.Starter</Permission>
        <Permission Cooldown="10">home</Permission>
        <Permission Cooldown="0">tpa</Permission>
        <Permission Cooldown="5">tpa.send</Permission>
        <Permission Cooldown="0">tpa.accept</Permission>
      </Permissions>
    </Group>
    <Group>
      <Id>Mod</Id>
      <DisplayName>Mod</DisplayName>
      <Prefix> [Mod] </Prefix>
      <Suffix />
      <Color>FFA500</Color>
      <Members>
        <Member />
      </Members>
      <ParentGroup>default</ParentGroup>
      <Priority>100</Priority>
      <Permissions>
        <Permission Cooldown="0">Kick</Permission>
        <Permission Cooldown="100">Heal</Permission>
        <Permission Cooldown="0">Teleport</Permission>
        <Permission Cooldown="0">Day</Permission>
        <Permission Cooldown="0">Night</Permission>
      </Permissions>
    </Group>
    <Group>
      <Id>Staff</Id>
      <DisplayName>Staff</DisplayName>
      <Prefix> [Staff] </Prefix>
      <Suffix />
      <Color>0000FF</Color>
      <Members>
        <Member />
      </Members>
      <ParentGroup>Mod</ParentGroup>
      <Priority>100</Priority>
      <Permissions>
        <Permission Cooldown="0">Item</Permission>
        <Permission Cooldown="0">Vehicle</Permission>
        <Permission Cooldown="0">Ban</Permission>
        <Permission Cooldown="0">skills.skill</Permission>
        <Permission Cooldown="0">skills.skill.other</Permission>
        <Permission Cooldown="0">skills.maxskills</Permission>
        <Permission Cooldown="0">skills.maxskills.other</Permission>
        <Permission Cooldown="0">skills.zeroskills</Permission>
        <Permission Cooldown="0">skills.zeroskills.other</Permission>
      </Permissions>
    </Group>
    <Group>
      <Id>Owner</Id>
      <DisplayName>Owner</DisplayName>
      <Prefix> [Owner] </Prefix>
      <Suffix />
      <Color>00FFFF</Color>
      <Members>
        <Member>76561198314673588</Member>
      </Members>
      <ParentGroup>Staff</ParentGroup>
      <Priority>100</Priority>
      <Permissions>
        <Permission Cooldown="0">Slay</Permission>
        <Permission Cooldown="0">Admin</Permission>
      </Permissions>
    </Group>
  </Groups>
</RocketPermissions>

Share this post


Link to post
Share on other sites

The main error here states

Quote

XmlException: The 'Kit' start tag on line 4 position 6 does not match end tag of 'kit'. Line 14, position 7

There is no Kit tag in the XML shown. I'm about 80% sure that this isn't the file that is having issues.

Could you show us the file that defines kits in your game?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...