Development Assistance Help with plugin.yml

Discussion in 'Plugin Help/Development/Requests' started by thecrystalfox, Nov 21, 2014.

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

    thecrystalfox

    My plugin won't work and the error log i get says it's coming from the plugin.yml being invalid or not there at all but it is there

    Here's the error log:
    [20:09:23 ERROR]: Could not load 'plugins\gmgui.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPlug
    inLoader.java:152) ~[Server.jar:git-Spigot-1649]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:133) [Server.jar:git-Spigot-1649]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.ja
    va:369) [Server.jar:git-Spigot-1649]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.reload(CraftServer.java:86
    4) [Server.jar:git-Spigot-1649]
    at org.bukkit.Bukkit.reload(Bukkit.java:301) [Server.jar:git-Spigot-1649
    ]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    23) [Server.jar:git-Spigot-1649]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18
    1) [Server.jar:git-Spigot-1649]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServe
    r.java:767) [Server.jar:git-Spigot-1649]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(Craf
    tServer.java:753) [Server.jar:git-Spigot-1649]
    at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java:
    326) [Server.jar:git-Spigot-1649]
    at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:2
    90) [Server.jar:git-Spigot-1649]
    at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:5
    84) [Server.jar:git-Spigot-1649]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java
    :490) [Server.jar:git-Spigot-1649]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6
    28) [Server.jar:git-Spigot-1649]
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 14 more

    Please help me with this problem
     
  2. Offline

    Skionz

  3. Offline

    thecrystalfox

    name: GMGui
    author: TheCrystalFox
    version: 1.0
    description: Creates a gui where players switch their gamemode
    main: com.tcf.gmgui.gmgui

    commands:
    gmgui:
    description: Opens a gui to change gamemodes
    permission: gmgui.use
    usage: /gmgui
    permissions:
    gmgui.use:
    description: Gives access to the /gmgui command
     
  4. Offline

    timtower Administrator Administrator Moderator

    Moved to alternative versions. Plugin development part of it
     
  5. Offline

    17xDillz1997

    The spacing is incorrect . Unless it's how you pasted it.
     
  6. Offline

    mrCookieSlime

    The Forum sadly does not show the formatting :/

    thecrystalfox
    Please post your plugin.yml using Pastebin so we can see the formatting.
     
  7. Offline

    mrCookieSlime

    thecrystalfox
    Is this file located in your src folder and not in any packages?
     
  8. Offline

    thecrystalfox

  9. Offline

    Googlelover1234

    thecrystalfox
    Did you forget to export the plugin.yml while exporting the jar?
     
  10. Offline

    thecrystalfox

    I don't think I would forget to do that as I check just about everything I can
     
  11. Offline

    thecrystalfox

    Yes I have tried that multiple times
     
  12. Offline

    thecrystalfox

Thread Status:
Not open for further replies.

Share This Page