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, toStringequals, getName, hashCodepublic static java.lang.String version
public static Main inst()
JavaPluginpublic void onEnable()
onEnable in interface PluginonEnable in class JavaPluginJavaPlugin.onEnable()