Solved plugin.yml error

Discussion in 'Spigot Plugin Development' started by iMedia, Jul 8, 2018.

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

    Supporter

    upload_2018-7-8_13-59-4.png

    Whats wrong with this? In console I am getting:

    08.07 14:55:11 [Server] ERROR Could not load 'plugins/adventuremode.jar' in folder 'plugins' 08.07 14:55:11 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
     
  2. iMedia

    Supporter

    Update on config:

    upload_2018-7-8_14-6-10.png
     
  3. Remove all the white space
    Code (Text):

    name: yourPlugin:
    version: 0.1
    main: ...
    description: ...
    commands:
      command:
     
    Usage and description on commands are optional.
    same as the author. Under the commands there should be 2 spaces, not more not less.
    If you wish to add a description and usage it should be:
    Code (Text):

    commands:
      command:
        usage: ..
        description: ..
     
     
Thread Status:
Not open for further replies.