Updated SubAPI (markdown)

ME1312 2018-12-21 22:41:18 -05:00
parent bdae132f15
commit d9e0dd1fc5

@ -109,15 +109,15 @@ Plugin structure is pretty simple, all you need is a main class annotated with `
import net.ME1312.Galaxi.Event.GalaxiStartEvent;
import net.ME1312.Galaxi.Event.GalaxiStopEvent;
import net.ME1312.Galaxi.Plugin.Plugin;
import net.ME1312.Galaxi.Library.Event.EventHandler;
import net.ME1312.Galaxi.Library.Event.Subscribe;
@SubPlugin(name = "ExamplePlugin", version = "1.0.0a", authors = "ME1312")
@Plugin(name = "ExamplePlugin", version = "1.0.0a", authors = "ME1312")
public class ExamplePlugin {
@EventHandler
@Subscribe
public void onEnable(GalaxiStartEvent event) {
// Write enable code here
}
@EventHandler
@Subscribe
public void onDisable(GalaxiStopEvent event) {
// Write disable code here
}