Class UltiToolsBootstrap

java.lang.Object
com.ultikits.ultitools.bootstrap.UltiToolsBootstrap
All Implemented Interfaces:
io.papermc.paper.plugin.bootstrap.PluginBootstrap

@Internal public final class UltiToolsBootstrap extends Object implements io.papermc.paper.plugin.bootstrap.PluginBootstrap
Paper's early-start entry point. Internal; not an API for modules. An overall preparation failure is retained for enable, where the framework reports it and is disabled. It is not a successful start with no modules. Virtual machine failures may propagate.
  • Field Details

    • result

      @Nullable private @Nullable BootstrapResult result
    • bootstrapFailure

      @Nullable private @Nullable Throwable bootstrapFailure
  • Constructor Details

    • UltiToolsBootstrap

      public UltiToolsBootstrap()
  • Method Details

    • bootstrap

      public void bootstrap(io.papermc.paper.plugin.bootstrap.BootstrapContext context)
      Specified by:
      bootstrap in interface io.papermc.paper.plugin.bootstrap.PluginBootstrap
    • prepare

      private BootstrapResult prepare(io.papermc.paper.plugin.bootstrap.BootstrapContext context, File dataFolder, Logger logger)
    • channelInstaller

      void channelInstaller(io.papermc.paper.plugin.bootstrap.BootstrapContext context, ContributionRegistry contributions, Logger logger)
    • classPath

      URL[] classPath(ModuleFileTransactions transactions, File dataFolder, @Nullable @Nullable URL serverJar, ModuleJarAdmission admission) throws IOException
      Throws:
      IOException
    • createPlugin

      public org.bukkit.plugin.java.JavaPlugin createPlugin(io.papermc.paper.plugin.bootstrap.PluginProviderContext context)
      Specified by:
      createPlugin in interface io.papermc.paper.plugin.bootstrap.PluginBootstrap
    • result

      BootstrapResult result()