Invalid plugin.yml?

Discussion in 'Plugin Development' started by Gecco1234, Apr 16, 2014.

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

    Gecco1234

    When starting up my plugin I get an error about invalid plugin.yml even though it looks perfectly fine.
    Heres the error:
    Code:
    16.04 11:13:59 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.Bukkit.reload(Bukkit.java:279) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:771) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:350) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:186) ~[craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    16.04 11:13:59 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml

    Heres my plugin.yml:

    Code:
    name: ArkMc
    version: 1
    description: ArkMc's Private Plugin For Extra Commands On The ArkMc Server
    author: HarrysMc
    main: me.HarrysMc.ArkMc.Main
    database: false
     
    commands:
      hub:
        description: Teleport yourself to spawn.
      leave:
        description: Leave where you are and goto spawn.
      bin:
        description: Put your stuff away.
      dispose:
        description: Put your stuff away.
    EDIT: Found the error
     
  2. Offline

    Konkz

    Remove the apostrophe from description, that would fix it I believe.
     
  3. Offline

    Dahwn

    Gecco1234
    is me.HarrysMC.ArkMC.Main the package where your main class is in?
    -Dahwn
     
  4. Offline

    mrgreen33gamer

    Gecco1234 Remove the Description and make sure that your 'main' part of your configuration is set properly, for instance:
    Code:
    main: com.mrgreen33gamer.test.MainClass
     
  5. Offline

    Gecco1234

    That didn't work

    Yes, me.HarrysMc.ArkMc is the pack and Main is the main class

    I changed that 1 minute after I posted as I realised that and nothing changed

    Guys I found it, my spacing was wrong.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  6. Offline

    JD_Guy17

    AoH_Ruthless likes this.
Thread Status:
Not open for further replies.

Share This Page