public class Main extends JavaPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
version
A variable with the plugin [KodiCore] version.
|
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static Main |
inst()
Instance of Main for accessing JavaPlugin from other classes.
|
void |
onEnable()
This will run when the plugin has been enabled.
|
getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isNaggable, onCommand, onDisable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toString
equals, getName, hashCode
public static java.lang.String version
public static Main inst()
JavaPlugin
public void onEnable()
onEnable
in interface Plugin
onEnable
in class JavaPlugin
JavaPlugin.onEnable()