Package me.hsgamer.hscore.addon.object
Class Addon
java.lang.Object
me.hsgamer.hscore.addon.object.Addon
- All Implemented Interfaces:
Expansion,DataFolder,GetClassLoader
The main class of the addon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull FileGet the addon's folderfinal @NotNull AddonDescriptionGet the addon's descriptionfinal LoggerGet the addon's loggervoidCalled after all addons enabledvoidonReload()Called when reloadingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.hscore.expansion.extra.expansion.DataFolder
getResource, saveResourceMethods inherited from interface me.hsgamer.hscore.expansion.common.Expansion
onDisable, onEnable, onLoadMethods inherited from interface me.hsgamer.hscore.expansion.extra.expansion.GetClassLoader
getExpansionClassLoader
-
Constructor Details
-
Addon
public Addon()
-
-
Method Details
-
onPostEnable
public void onPostEnable()Called after all addons enabled -
onReload
public void onReload()Called when reloading -
getDescription
Get the addon's description- Returns:
- the description
-
getDataFolder
Get the addon's folder- Specified by:
getDataFolderin interfaceDataFolder- Returns:
- the directory for the addon
-
getLogger
Get the addon's logger- Returns:
- the logger
-