Error invalidDescription file

Discussion in 'Plugin Development' started by PerezHD, Jan 4, 2015.

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

    PerezHD

    Hey well, I understand what and how the plugin.yml is and how it is supposed to be like, But for some reason, it is giving me an error on loading my plugin.

    The Error:
    Code:
    [15:07:32] [Server thread/WARN]: Caused by: org.bukkit.plugin.InvalidDescriptionException: version is not defined
    [15:07:32] [Server thread/WARN]: at org.bukkit.plugin.PluginDescriptionFile.loadMap(PluginDescriptionFile.java:901)
    [15:07:32] [Server thread/WARN]: at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:232)
    [15:07:32] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:155)
    [15:07:32] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:71)
    [15:07:32] [Server thread/WARN]: ... 18 more
    [15:07:32] [Server thread/WARN]: Caused by: java.lang.NullPointerException
    [15:07:32] [Server thread/WARN]: at org.bukkit.plugin.PluginDescriptionFile.loadMap(PluginDescriptionFile.java:899)
    [15:07:32] [Server thread/WARN]: ... 21 more
    Here is my plugin.yml
    Code:
    name: flexUtils
    verison: 1.0.0
    main: com.flexprison.perezhd.utils.Main
    author: [PerezHD]
    website: www.flexprison.net
    commands:
      ranks:
      website:
      online:
      giveall:
      freeze:
      staff:
      apply:
      dp:
      bal:
      balance:
      money:
      mp:
      color:
      register:
      welcome:
      stream:
      nextrank:
    I've checked a YAML Parser, yet it shows no error.
     
    Last edited: Jan 4, 2015
  2. Offline

    ProStriker123

    maybe try like me

    Code:
    name: kitPvP
    main: me.ProStriker123.kitPvP.Main
    author: ProStriker123
    version: 1.0
    description: kitPvP By ProStriker123
    commands:
        kit:
         description: kit plugin
    
     
    PerezHD likes this.
  3. Invisible

    nverdier

    @PerezHD You have 'verison' while it should be 'version'.
     
    PerezHD likes this.
  4. Offline

    PerezHD

    Thank you it works.
     
Thread Status:
Not open for further replies.

Share This Page