Class CoderyoGUI

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.coderyo.coderyogui.CoderyoGUI
All Implemented Interfaces:
io.papermc.paper.plugin.lifecycle.event.LifecycleEventOwner, org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

public class CoderyoGUI extends org.bukkit.plugin.java.JavaPlugin
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    boolean
    Checks if the plugin is running as a dependency (i.e., plugin features are disabled).
    void
     
    void
     
    void
    openMainMenu(org.bukkit.entity.Player player)
    Opens the main menu GUI for a player.
    void
     

    Methods inherited from class org.bukkit.plugin.java.JavaPlugin

    getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLifecycleManager, getLogger, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, registerCommand, registerCommand, registerCommand, registerCommand, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString

    Methods inherited from class org.bukkit.plugin.PluginBase

    equals, getName, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.bukkit.plugin.Plugin

    getComponentLogger, getDataPath, getLog4JLogger, getSLF4JLogger
  • Constructor Details

    • CoderyoGUI

      public CoderyoGUI()
  • Method Details

    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin
    • getGuiManager

      public GUIManager getGuiManager()
    • getDataStorage

      public DataStorage getDataStorage()
    • getEditSession

      public EditSession getEditSession(UUID uuid)
    • setEditSession

      public void setEditSession(UUID uuid, EditSession session)
    • isDependency

      public boolean isDependency()
      Checks if the plugin is running as a dependency (i.e., plugin features are disabled).
      Returns:
      true if running as a dependency, false if running standalone.
    • openMainMenu

      public void openMainMenu(org.bukkit.entity.Player player)
      Opens the main menu GUI for a player.
      Parameters:
      player - The player to open the main menu for.