Package com.kamikazejam.kamicommon
Class KamiCommon
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.kamikazejam.kamicommon.KamiPlugin
com.kamikazejam.kamicommon.KamiCommon
- All Implemented Interfaces:
ObservableConfig
,CoreMethods
,Named
,CommandExecutor
,TabCompleter
,TabExecutor
,Listener
,Plugin
This class is just the plugin source when the spigot-jar is installed on a server.
All registration and enabling of the plugin is handled in
This architecture allows a third party plugin to completely shade the spigot-jar module and initialize
All registration and enabling of the plugin is handled in
PluginSource
.This architecture allows a third party plugin to completely shade the spigot-jar module and initialize
PluginSource
on its own.-
Nested Class Summary
Nested classes/interfaces inherited from class com.kamikazejam.kamicommon.KamiPlugin
KamiPlugin.ErrorPropertiesCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called First in JavaPlugin.onDisable()void
Methods inherited from class com.kamikazejam.kamicommon.KamiPlugin
compareVersions, getFeaturesConfig, getFeatureYmlPath, getKamiConfig, getModulesConfig, getModuleYmlPath, isAutoLoadKamiConfig, onDisable, onDisablePost, onEnable, onEnablePost, onEnablePre, onLoad, onLoadInner, onLoadPost, onLoadPre, registerCommands, registerConfigObserver, registerDisableables, registerFeature, registerFeature, registerListeners, registerModule, registerModule, registerTasks, reloadConfig, reloadKamiConfig, reloadObservableConfig, saveConfig, unregisterCommands, unregisterCommands, unregisterConfigObserver, unregisterConfigObservers, unregisterDisableables, unregisterDisableables, unregisterListeners, unregisterListeners, unregisterTasks, unregisterTasks, verifyPluginVersion, verifyPluginVersion
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onTabComplete, removeDDL, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
-
Constructor Details
-
KamiCommon
public KamiCommon()
-
-
Method Details
-
onEnableInner
public void onEnableInner()- Specified by:
onEnableInner
in classKamiPlugin
-
onDisableInner
public void onDisableInner()Description copied from class:KamiPlugin
Called First in JavaPlugin.onDisable()- Specified by:
onDisableInner
in classKamiPlugin
-