Package com.kamikazejam.kamicommon
Class PluginSource
java.lang.Object
com.kamikazejam.kamicommon.PluginSource
This class exists as a bootloader for the
As of v4 of the KamiCommon library, most of the APIs were moved to the spigot-utils module, and this class has less responsibility, mainly to initialize the
KamiCommon
plugin and APIs.As of v4 of the KamiCommon library, most of the APIs were moved to the spigot-utils module, and this class has less responsibility, mainly to initialize the
SpigotUtilsSource
from spigot-utils.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static @NotNull KamiPlugin
get()
static @NotNull KamiConfig
static void
static boolean
static boolean
onEnable
(@NotNull KamiPlugin plugin) static void
-
Constructor Details
-
PluginSource
public PluginSource()
-
-
Method Details
-
onEnable
- Returns:
- true IFF a plugin source was NEEDED and used for registration (false if already enabled)
-
onDisable
public static boolean onDisable()- Returns:
- true IFF this call triggered the singleton disable sequence, false it already disabled
-
get
-
info
-
warning
-
error
-
getKamiConfig
-