Class BetterGUI

  • All Implemented Interfaces:
    org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

    @Plugin(name="BetterGUI",
            version="8.6")
    @Description("Yet Another GUI plugin")
    @Author("HSGamer")
    @Website("https://github.com/BetterGUI-MC")
    @ApiVersion(v1_13)
    @SoftDependency("PlaceholderAPI")
    public final class BetterGUI
    extends BasePlugin
    The main class of the plugin
    • Constructor Detail

      • BetterGUI

        public BetterGUI()
    • Method Detail

      • getInstance

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

        public static void runBatchRunnable​(BatchRunnable runnable)
        Run the batch runnable
        Parameters:
        runnable - the runnable
      • runBatchRunnable

        public static void runBatchRunnable​(Consumer<BatchRunnable> batchRunnableConsumer)
        Run the batch runnable
        Parameters:
        batchRunnableConsumer - the batch runnable consumer
      • 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 ExtraAddonManager getAddonManager()
        Get the addon manager
        Returns:
        the addon manager
      • getAddonDownloader

        public AddonDownloader getAddonDownloader()
        Get the addon downloader
        Returns:
        the addon downloader