Need help with plugin.yml: mapping values are not allowed here

Discussion in 'Plugin Development' started by Boardaic, Jan 30, 2016.

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

    Boardaic

    So i wanted to test a extremly simple plugin just to test if everything is working, but when i load the plugin on to my localhost spigot server i get following message in teh console:

    Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
    in 'reader', line 9, column 10:
    usage: /<command>
    ^

    This is my plugin.yml (its german):

    Code:
    name: AinuPlugin
    version: 1.0.0
    main: de.ainucraft.ainuplugin.AinuPlugin
    description: Testplugin
    author: Boardaic
    website: http://ainucraft.de
    commands:
      test123
        usage: /<command>
    I have checked all the spaces i know that that's what the error means but it didnt work.

    I'd be extremly gratefull if anyone could help me with this.
     
    Last edited by a moderator: Jan 30, 2016
  2. Offline

    nlthijs48

    @Boardiac Add quotes around your website link, YAML does not like the website without quotes because it contains a : character.
     
  3. Offline

    timtower Administrator Administrator Moderator

    Moved to plugin development.
    @Boardaic You are missing a colon after test123
     
    nlthijs48 likes this.
  4. Offline

    Boardaic

    thanks a lot! it worked
     
Thread Status:
Not open for further replies.

Share This Page