Package rocks.gravili.notquests
Class NotQuests
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
rocks.gravili.notquests.NotQuests
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.plugin.Plugin
public final class NotQuests
extends org.bukkit.plugin.java.JavaPlugin
This is the entry point of NotQuests. All kinds of managers, commands and other shit is reistered here.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.platform.bukkit.BukkitAudiences
Returns an instance of the Data Manager which handles all kinds of MySQL & configuration loading and savingstatic NotQuests
org.bstats.bukkit.Metrics
Returns an instance of the bStats Metrics objectReturns an instance of the QuestManager which handles the saving and loading of configured QuestsReturns an instance of the QuestPlayer Manager which handles the saving and loading of player databoolean
void
Called when the plugin is disabled or reloaded via ServerUtils / PlugManvoid
onEnable()
Called when the plugin is enabled.void
onLoad()
void
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
-
Constructor Details
-
NotQuests
public NotQuests()
-
-
Method Details
-
onLoad
public void onLoad()- Specified by:
onLoad
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onLoad
in classorg.bukkit.plugin.java.JavaPlugin
-
isAdventureEnabled
public boolean isAdventureEnabled() -
adventure
public net.kyori.adventure.platform.bukkit.BukkitAudiences adventure() -
getInstance
-
getConfiguration
-
onEnable
public void onEnable()Called when the plugin is enabled. A bunch of stuff is initialized here- Specified by:
onEnable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onEnable
in classorg.bukkit.plugin.java.JavaPlugin
-
setupBStats
public void setupBStats() -
onDisable
public void onDisable()Called when the plugin is disabled or reloaded via ServerUtils / PlugMan- Specified by:
onDisable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onDisable
in classorg.bukkit.plugin.java.JavaPlugin
-
getQuestManager
Returns an instance of the QuestManager which handles the saving and loading of configured Quests- Returns:
- an instance of the Quest Manager
-
getQuestPlayerManager
Returns an instance of the QuestPlayer Manager which handles the saving and loading of player data- Returns:
- an instance of the QuestPlayer Manager
-
getDataManager
Returns an instance of the Data Manager which handles all kinds of MySQL & configuration loading and saving- Returns:
- an instance of the Data Manager
-
getActionsYMLManager
-
getConditionsYMLManager
-
getMetrics
public org.bstats.bukkit.Metrics getMetrics()Returns an instance of the bStats Metrics object- Returns:
- bStats Metrics object
-
getLanguageManager
-
getLogManager
-
getUtilManager
-
getArmorStandManager
-
getPerformanceManager
-
getObjectiveManager
-
getConditionsManager
-
getActionManager
-
getTriggerManager
-
getCommandManager
-
getConversationManager
-
getPacketManager
-
getUpdateManager
-
getGuiManager
-
getBackupManager
-
getIntegrationsManager
-