Question expected '<document start>', but found BlockMappingStart

Discussion in 'Bukkit Help' started by 8CharelSuarez, Jan 20, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    8CharelSuarez

    My Code is this:
    Code:
     724c64a2-fc8b-4842-852b-6b4c2c6ef241:
        permissions:
          permissions.*: true
        groups:
        - admin
      charelsuarez:
        permissions:
          permissions.*: true
        groups:
        - admin
    default: default
    groups:
      default:
        permissions:
          bukkit.broadcast.user: true
          permissions.build: true
          bukkit.command.help: true
      
      admin:
        permissions:
          permissions.*: true
          bukkit.command.op: true
          bukkit.command.stop: true
          bukkit.command.save.disable: true
          bukkit.command.save.enable: true
          bukkit.command.say: true
          bukkit.command.whitelist.disable: true
        inheritance:
        - moderator
      moderator:
        permissions:
          bukkit.command.ban.player: true
          bukkit.command.unban: true
          bukkit.command.time: true
          bukkit.command.plugins: true
          bukkit.command.kill: true
          bukkit.command.kick: true
          bukkit.command.ban.list: true
          bukkit.command.unban.player: true
          bukkit.command.ban.ip: true
          bukkit.command.unban.ip: true
          bukkit.command.teleport: true
          bukkit.command.give: true
          bukkit.command.save.perform: true
          bukkit.command.list: true
          bukkit.command.whitelist.enable: true
          bukkit.command.whitelist.add: true
          bukkit.command.whitelist.remove: true
          bukkit.command.whitelist.list: true
        worlds:
          creative:
            coolplugin.item: true
        inheritance:
        - default
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
    
    It tells me this but im new in YAML and dont know what to do. Please Help


    Code:
     Use the following website to help you find and fix configuration errors:
    https://yaml-online-parser.appspot.com/
    
    org.bukkit.configuration.InvalidConfigurationException: expected '<document start>', but found BlockMappingStart
    in "<string>", line 11, column 1:
        default: default
        ^
    People have said that it can be a spacing error but i dont know where. Thank you for your help
    And btw in the YAML parsel it says
    Code:
    ERROR:
    
    while parsing a block mapping
      in "<unicode string>", line 1, column 1:
        724c64a2-fc8b-4842-852b-6b4c2c6e ...
        ^
    expected <block end>, but found '<block mapping start>'
      in "<unicode string>", line 6, column 3:
          charelsuarez:
          ^
    Thanks Guys but i just figured our it was like this, but i still dont realize my error
    Code:
    users:
      724c64a2-fc8b-4842-852b-6b4c2c6ef241:
        permissions:
          permissions.*: true
        groups:
        - admin
      charelsuarez:
        permissions:
          permissions.*: true
        groups:
        - admin
    default: default
    groups:
        default:
          permissions:
            bukkit.broadcast.user: true
            permissions.build: true
            bukkit.command.help: true
         
        admin:
          permissions:
            permissions.*: true
            bukkit.command.op: true
            bukkit.command.stop: true
            bukkit.command.save.disable: true
            bukkit.command.save.enable: true
            bukkit.command.say: true
            bukkit.command.whitelist.disable: true
          inheritance:
          - moderator
        moderator:
          permissions:
            bukkit.command.ban.player: true
            bukkit.command.unban: true
            bukkit.command.time: true
            bukkit.command.plugins: true
            bukkit.command.kill: true
            bukkit.command.kick: true
            bukkit.command.ban.list: true
            bukkit.command.unban.player: true
            bukkit.command.ban.ip: true
            bukkit.command.unban.ip: true
            bukkit.command.teleport: true
            bukkit.command.give: true
            bukkit.command.save.perform: true
            bukkit.command.list: true
            bukkit.command.whitelist.enable: true
            bukkit.command.whitelist.add: true
            bukkit.command.whitelist.remove: true
            bukkit.command.whitelist.list: true
          worlds:
            creative:
              coolplugin.item: true
          inheritance:
          - default
    messages:
      build: '&cYou do not have permission to build here.'
    debug: false
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 13, 2016
Thread Status:
Not open for further replies.

Share This Page