E
- The implementing Plugin
typepublic abstract class CodelanxPlugin<E extends CodelanxPlugin<E>> extends org.bukkit.plugin.java.JavaPlugin implements Commandable<E>
Modifier and Type | Field and Description |
---|---|
protected CommandHandler<E> |
commands
The underlying
CommandHandler in use by this
Plugin |
Constructor and Description |
---|
CodelanxPlugin() |
Modifier and Type | Method and Description |
---|---|
CommandHandler<E> |
getCommandHandler()
Gets the
CommandHandler for the Plugin |
void |
onEnable() |
getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onDisable, onLoad, onTabComplete, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getMainCommand
protected CommandHandler<E extends CodelanxPlugin<E>> commands
CommandHandler
in use by this
Plugin
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public CommandHandler<E> getCommandHandler()
CommandHandler
for the Plugin
getCommandHandler
in interface Commandable<E extends CodelanxPlugin<E>>
CommandHandler
for this instanceCopyright © 2015. All rights reserved.