Plugin Help What is a invalid leading UTF-8 octet?

Discussion in 'Plugin Help/Development/Requests' started by Mavericksfan, Dec 20, 2014.

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

    Mavericksfan

    I put my code into http://wiki.ess3.net/yaml/182032 to check my groupmanager plugin in code but it keeps telling me invalid leading UTF-8 octet (line 1, column 1).

    This is the code below if you would like to take a crack at it and help me out:

    The error keeps saying:

    Caused by: while scanning a simple key
    in 'reader', line 7, column 5:
    -bukkit.command.kill
    ^
    could not found expected ':'
    in 'reader', line 8, column 1:
    -bukkit.command.tell
    ^



    CODE BELOW:

    groups:
    Default:
    default: true
    permissions:
    - bukkit.command.kill
    - bukkit.command.tell
    - bukkit.command.kill
    - bukkit.broadcast.user
    - bukkit.command.help
    - ^bukkit.command.me
    - ^bukkit.command.version
    - ^bukkit.command.plugins
    inheritance: []
    info:
    prefix: '§0[§9Member§0]'
    build: true
    suffix: ''
    Builder:
    default: false
    permissions: []
    inheritance: []
    info:
    prefix: '&2'
    build: true
    suffix: ''
    Moderator:
    default: false
    permissions:
    - bukkit.command.unban.player
    - bukkit.command.ban.list
    - bukkit.command.ban.player
    - bukkit.command.kick
    - bukkit.command.help
    - bukkit.command.tell
    - bukkit.command.kill
    - bukkit.broadcast.user
    - bukkit.command.teleport
    - bukkit.broadcast
    - bukkit.broadcast.admin
    - ^bukkit.command.me
    - ^bukkit.command.version
    - ^bukkit.command.plugins
    inheritance: []
    info:
    prefix: '§0[§3Moderator§0]'
    build: true
    suffix: ''
    Admin:
    default: false
    permissions:
    - bukkit.command.unban.player
    - bukkit.command.ban.list
    - bukkit.command.ban.player
    - bukkit.command.kick
    - bukkit.command.help
    - bukkit.command.tell
    - bukkit.command.kill
    - bukkit.broadcast.user
    - bukkit.command.teleport
    - bukkit.broadcast
    - bukkit.broadcast.admin
    - ^bukkit.command.me
    - ^bukkit.command.version
    - ^bukkit.command.plugins
    - bukkit.command.ban.ip
    - bukkit.command.unban.ip
    - bukkit.command.stop
    - bukkit.command.say
    - bukkit.command.time.add
    - bukkit.command.time.set
    - bukkit.command.weather
    - bukkit.command.clear
    inheritance: []
    info:
    prefix: '§0[§4Admin§0]'
    build: true
    suffix: ''
    Developer:
    default: false
    permissions:
    - '*'
    - "*"
    inheritance: []
    info:
    prefix: '§0[§6Developer§0]'
    build: true
    suffix: ''
     
  2. Offline

    metmad22

    What application are you using to edit this? It seems like you are not using the standard Unicode encoding. For a reasonable fix, try to use Notepad2 or Notepad++ for Windows. You can try to use Text Editor if you are on a Mac.

    If you are using spaces, try to avoid those. You might also try to use the format "- -bukkit.command.me" if you are going to use negative permissions.

    Good luck.
     
Thread Status:
Not open for further replies.

Share This Page