package net.md_5.bungee.api.plugin;

import lombok.Data;

/**
 * POJO representing the plugin.yml file.
 */
@Data
public class PluginDescription
{

    /**
     * Friendly name of the plugin.
     */
    private final String name;
    /**
     * Plugin main class. Needs to extend {@link Plugin}.
     */
    private final String main;
    /**
     * Plugin version.
     */
    private final String version;
    /**
     * Plugin author.
     */
    private final String author;
}

@@ -30,16 +30,50 @@
 lugin;%0A%0A
+import lombok.AllArgsConstructor;%0A
 import l
@@ -84,16 +84,16 @@
 k.Data;%0A
-
 %0A/**%0A * 
@@ -141,16 +141,36 @@
 /%0A@Data%0A
+@AllArgsConstructor%0A
 public c
@@ -255,30 +255,24 @@
     private 
-final 
 String name;
@@ -354,30 +354,24 @@
     private 
-final 
 String main;
@@ -418,30 +418,24 @@
     private 
-final 
 String versi
@@ -492,14 +492,8 @@
 ate 
-final 
 Stri
@@ -502,11 +502,55 @@
  author;
+%0A%0A    public PluginDescription()%0A    %7B%0A    %7D
 %0A%7D%0A

Fix issue #112, loading plugins