Package com.ultikits.ultitools.bootstrap
@NotNullByDefault
package com.ultikits.ultitools.bootstrap
Two-stage startup: Paper resolves runtime libraries, then UltiTools decides the admitted module
set and invokes optional early hooks before worlds load. Module construction, IoC, commands and
listeners remain in the plugin enable phase. Early hooks cannot use a Bukkit server or other
plugin instances. Internal entry points in this package are not APIs for modules.
Modules can declare custom enchantments, item and enchantment tag changes, and bundled data packs through the bootstrap context. These are buffered while the hook runs and become eligible for Paper's write events only after the hook returns normally.
-
ClassDescriptionText catalogue keys for the enable-time custom content report.Early English diagnostics and enable-time reports rendered with the server language.Locates framework-owned derived files without following links within the owned subtree.Reads one complete JSON object, without Gson's lenient parser mode.Keeps the module JUL contract while routing early output through Paper's bootstrap logger.Internal handover from Paper bootstrap to plugin enable; not an API for modules.Access to tags while Paper composes the enchantment registry.Counts distinct content keys for the early log and the translated console report.The durable identity of a declaration, not a snapshot of a full Paper registry entry.The framework-owned
bootstrap/contributions.jsonrecord, read once and atomically replaced before Paper's write events.This start's sealed declarations, in module JAR order.Declarations of data packs bundled in a module JAR.Materializes framework-owned derived ZIPs from the declaring module JARs on each start.Declarations of new enchantments made by one module.The definition of a custom enchantment.Immutable, precomputed lookup so pending changes can query under their lock without disk I/O.An optional early-start hook, named bybootstrapper:in a module's ownplugin.yml.Identity supplied to aModuleBootstrap; modules must not implement this interface.The boundary of one module's early hook, with no Bukkit server or module construction.Internal startup class-path operations; not an API for modules.Module-local declarations: only a sealed buffer from a successful hook reaches Paper.The sole adapter from Paper's content lifecycle events to framework-owned declarations.Item and enchantment tag changes declared by one module.Paper's early-start entry point.Paper's runtime-library entry point.