Solved Invalid Description Exception Error

Discussion in 'Plugin Development' started by yoshy25501, Apr 22, 2014.

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

    yoshy25501

    Hello,
    I am new to making plugins and every time I run my plugin I get this error:
    Could not load 'plugins\TestPlugin.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-3-g18d329e-b3026jnks]
    I have no idea why and I think I have made the plugin.yml correctly. Here it is:

    Code:java
    1. name: TestPlugin
    2. main: com.gmail.yoshy25501.testplugin.TestPlugin
    3. version: 1.0


    I was wondering if anyone could help a first-time plugin newbie. If you need the class or pom just ask.
    Thanks
     
  2. add
    Code:java
    1. description: >
    2. Description
    3. commands:

    Make sure the word Description is lined up beneath the : from 'description:'
     
  3. Offline

    yoshy25501

Thread Status:
Not open for further replies.

Share This Page