Solved Stumped on invalid Plugin.yml

Discussion in 'Plugin Development' started by Officialjake, Apr 16, 2013.

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

    Officialjake

    I am stumped on this invaild plugin.yml error I am getting.
    Code:
    name: NoSplosion
    version: 1.0
    main: me.officialjake.NoSplosion.Main
    author: Officialjake
    description: Disables All explosions vinilla or mods (tekkit etc...) and fire from destroying blocks as well as endermen from spawning.  All explosions and fire still damage players but do not damage the enviroment.
    commands:
        creeperenable:
            usage: /<command>
            description: enables creepers exploding
            permission: NoSplosion.creeperenable
            permission-message: You do not have permission to access to use this command
        creeperdisable:
            usage: /<command>
            description: Disables creepers exploding
            permission: NoSplosion.creeperdisable
            permission-message: You do not have permission to access to use this command
        burnenable:
            usage: /<command>
            description: enables fire destruction
            permission: NoSplosion.burnenable
            permission-message: You do not have permission to access to use this command
        burndisable:
            usage: /<command>
            description: diables fire destruction
            permission: NoSplosion.burndisable
            permission-message: You do not have permission to access to use this command
        endermanenable:
            usage: /<command>
            description: enables enderman
            permission: NoSplosion.endermanenable
            permission-message: You do not have permission to access to use this command
        endermandisable:
            usage: /<command>
            description: disables enderman
            permission: NoSplosion.endermandisable
            permission-message: You do not have permission to access to use this command
        placetntenable:
            usage: /<command>
            description: enables placement of TNT
            permission: NoSplosion.placetntenable
            permission-message: You do not have permission to access to use this command
        placetntdisable:
            usage: /<command>
            description: disables placement of TNT
            permission: NoSplosion.placetntdisable
            permission-message: You do not have permission to access to use this command
        explosionenable:
            usage: /<command>
            description: enables all explosions
            permission: NoSplosion.explosionenable
            permission-message: You do not have permission to access to use this command
        explosiondisable:
            usage: /<command>
            description: disables all explosions
            permission: NoSplosion.explosiondisable
            permission-message: You do not have permission to access to use this command
    permissions:
        NoSplosion.BypassTNTBlock:
            Default: Op
        
     
  2. Offline

    Jake0oo0

    Default should be lower case at the bottom, if that would make a difference.
     
  3. Offline

    ZeusAllMighty11

    I thought plugin.yml had 2 space segments, not 4. And also, 'Default' as said above should be 'default'
     
  4. Offline

    Officialjake

    thanks testing now

    The last line says caused by jar missing plugin.yml file. but I can see it right there.... -_-

    I have tried compiling it in the package and outside the package in the src folder.

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

    ZeusAllMighty11

    It should not be in the main package, the source folder either.

    Put it in your root older

    [​IMG]
     
  6. Offline

    Officialjake

    Thanks so much!
     
Thread Status:
Not open for further replies.

Share This Page