Class LifecycleCommandInstaller

java.lang.Object
com.ultikits.ultitools.command.engine.LifecycleCommandInstaller

final class LifecycleCommandInstaller extends Object
Installs the only registrar callback while the framework is enabling.
  • Field Details

    • lifecycle

      private final Supplier<io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<org.bukkit.plugin.Plugin>> lifecycle
    • bindings

      private final CommandBindings bindings
    • logger

      private final Logger logger
    • installed

      private boolean installed
  • Constructor Details

    • LifecycleCommandInstaller

      LifecycleCommandInstaller(Supplier<io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<org.bukkit.plugin.Plugin>> lifecycle, CommandBindings bindings, Logger logger)
  • Method Details

    • ensureInstalled

      void ensureInstalled()
    • isInstalled

      boolean isInstalled()