Package me.hsgamer.bettergui
Class BetterGUI
- java.lang.Object
-
- org.bukkit.plugin.PluginBase
-
- org.bukkit.plugin.java.JavaPlugin
-
- me.hsgamer.hscore.bukkit.simpleplugin.SimplePlugin
-
- me.hsgamer.hscore.bukkit.baseplugin.BasePlugin
-
- me.hsgamer.bettergui.BetterGUI
-
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter,org.bukkit.command.TabExecutor,org.bukkit.plugin.Plugin
public final class BetterGUI extends BasePlugin
The main class of the plugin
-
-
Constructor Summary
Constructors Constructor Description BetterGUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisable()voidenable()AddonDownloadergetAddonDownloader()Get the addon downloaderAddonManagergetAddonManager()Get the addon managerstatic BetterGUIgetInstance()Get the instance of the pluginMainConfiggetMainConfig()Get the main configMenuCommandManagergetMenuCommandManager()Get the menu command managerMenuManagergetMenuManager()Get the menu managerMessageConfiggetMessageConfig()Get the message configprotected List<Class<?>>getPermissionClasses()TemplateConfiggetTemplateButtonConfig()Get the template button configVariableBundlegetVariableBundle()Get the variable bundlevoidload()voidpostDisable()voidpostEnable()-
Methods inherited from class me.hsgamer.hscore.bukkit.baseplugin.BasePlugin
getCommandManager, getRegisteredCommand, onDisable, onEnable, onLoad, registerCommand, registerPermission
-
Methods inherited from class me.hsgamer.hscore.bukkit.simpleplugin.SimplePlugin
addDisableFunction, addPostEnableRunnable, getAllProviders, getProvider, loadProvider, preLoad, registerListener, registerProvider, registerProvider
-
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
-
-
-
-
Method Detail
-
getInstance
public static BetterGUI getInstance()
Get the instance of the plugin- Returns:
- the instance
-
load
public void load()
- Overrides:
loadin classSimplePlugin
-
enable
public void enable()
- Overrides:
enablein classSimplePlugin
-
postEnable
public void postEnable()
- Overrides:
postEnablein classSimplePlugin
-
disable
public void disable()
- Overrides:
disablein classSimplePlugin
-
postDisable
public void postDisable()
- Overrides:
postDisablein classSimplePlugin
-
getPermissionClasses
protected List<Class<?>> getPermissionClasses()
- Overrides:
getPermissionClassesin classBasePlugin
-
getMainConfig
public MainConfig getMainConfig()
Get the main config- Returns:
- the main config
-
getMessageConfig
public MessageConfig getMessageConfig()
Get the message config- Returns:
- the message config
-
getTemplateButtonConfig
public TemplateConfig getTemplateButtonConfig()
Get the template button config- Returns:
- the template button config
-
getMenuManager
public MenuManager getMenuManager()
Get the menu manager- Returns:
- the menu manager
-
getMenuCommandManager
public MenuCommandManager getMenuCommandManager()
Get the menu command manager- Returns:
- the menu command manager
-
getAddonManager
public AddonManager getAddonManager()
Get the addon manager- Returns:
- the addon manager
-
getAddonDownloader
public AddonDownloader getAddonDownloader()
Get the addon downloader- Returns:
- the addon downloader
-
getVariableBundle
public VariableBundle getVariableBundle()
Get the variable bundle- Returns:
- the variable bundle
-
-