Fix issue #112, loading plugins
This commit is contained in:
parent
def2269b6e
commit
ccf44336ce
@ -1,28 +1,34 @@
|
|||||||
package net.md_5.bungee.api.plugin;
|
package net.md_5.bungee.api.plugin;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* POJO representing the plugin.yml file.
|
* POJO representing the plugin.yml file.
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
public class PluginDescription
|
public class PluginDescription
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Friendly name of the plugin.
|
* Friendly name of the plugin.
|
||||||
*/
|
*/
|
||||||
private final String name;
|
private String name;
|
||||||
/**
|
/**
|
||||||
* Plugin main class. Needs to extend {@link Plugin}.
|
* Plugin main class. Needs to extend {@link Plugin}.
|
||||||
*/
|
*/
|
||||||
private final String main;
|
private String main;
|
||||||
/**
|
/**
|
||||||
* Plugin version.
|
* Plugin version.
|
||||||
*/
|
*/
|
||||||
private final String version;
|
private String version;
|
||||||
/**
|
/**
|
||||||
* Plugin author.
|
* Plugin author.
|
||||||
*/
|
*/
|
||||||
private final String author;
|
private String author;
|
||||||
|
|
||||||
|
public PluginDescription()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user