Class ScalaPluginBootstrapContext
java.lang.Object
xyz.janboerman.scalaloader.paper.plugin.ScalaPluginProviderContext
xyz.janboerman.scalaloader.paper.plugin.ScalaPluginBootstrapContext
- All Implemented Interfaces:
io.papermc.paper.plugin.bootstrap.BootstrapContext, io.papermc.paper.plugin.bootstrap.PluginProviderContext, io.papermc.paper.plugin.lifecycle.event.LifecycleEventOwner
public class ScalaPluginBootstrapContext
extends ScalaPluginProviderContext
implements io.papermc.paper.plugin.bootstrap.BootstrapContext
-
Constructor Summary
ConstructorsConstructorDescriptionScalaPluginBootstrapContext(File pluginJarFile, ScalaPluginDescription description) -
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> @NotNull io.papermc.paper.plugin.configuration.PluginMetaMethods inherited from class ScalaPluginProviderContext
getConfiguration, getDataDirectory, getLogger, getPluginClassLoader, getPluginSource, setPluginClassLoaderModifier and TypeMethodDescription@NotNull ScalaPluginMeta@NotNull Path@NotNull net.kyori.adventure.text.logger.slf4j.ComponentLogger@NotNull PathvoidsetPluginClassLoader(ScalaPluginClassLoader pluginClassLoader)
-
Constructor Details
-
ScalaPluginBootstrapContext
-
-
Method Details
-
getLifecycleManager
@NotNull public @NotNull io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> getLifecycleManager()- Specified by:
getLifecycleManagerin interfaceio.papermc.paper.plugin.bootstrap.BootstrapContext
-
getPluginMeta
@NotNull public @NotNull io.papermc.paper.plugin.configuration.PluginMeta getPluginMeta()- Specified by:
getPluginMetain interfaceio.papermc.paper.plugin.lifecycle.event.LifecycleEventOwner
-
disallowLifecycleEventRegistration
public void disallowLifecycleEventRegistration()
-