Class BetterGUI

  • All Implemented Interfaces:
    io.github.projectunified.minelib.plugin.base.Loadable, io.github.projectunified.minelib.plugin.postenable.PostEnable, org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

    public final class BetterGUI
    extends io.github.projectunified.minelib.plugin.base.BasePlugin
    implements io.github.projectunified.minelib.plugin.postenable.PostEnable
    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
      void disable()  
      void enable()  
      protected List<Object> getComponents()  
      static BetterGUI getInstance()
      Get the instance of the plugin
      void load()  
      void postEnable()  
      • Methods inherited from class io.github.projectunified.minelib.plugin.base.BasePlugin

        call, call, get, onDisable, onEnable, onLoad
      • 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 Detail

      • BetterGUI

        public BetterGUI()
    • Method Detail

      • getInstance

        public static BetterGUI getInstance()
        Get the instance of the plugin
        Returns:
        the instance
      • getComponents

        protected List<Object> getComponents()
        Overrides:
        getComponents in class io.github.projectunified.minelib.plugin.base.BasePlugin
      • load

        public void load()
        Specified by:
        load in interface io.github.projectunified.minelib.plugin.base.Loadable
      • enable

        public void enable()
        Specified by:
        enable in interface io.github.projectunified.minelib.plugin.base.Loadable
      • postEnable

        public void postEnable()
        Specified by:
        postEnable in interface io.github.projectunified.minelib.plugin.postenable.PostEnable
      • disable

        public void disable()
        Specified by:
        disable in interface io.github.projectunified.minelib.plugin.base.Loadable