Tags
Creators
Details
Licensed ARR
Published 5 months ago
Updated 4 months ago
All versions
0.8.6
Beta
Lattice 0.8.64 months ago 23
Uploaded by
Compatibility
Minecraft: Java Edition
1.21.11
Platform
Paper
Changes
Added
- Added direct standalone host contract coverage for managed plugin registration, duplicate registration protection, handle detach, host diagnostics, reverse-order shutdown, and shared storage cleanup.
- Added an experimental
UpdateServicefor GitHub release checks, typed update results, release assets, and explicit jar install requests. - Added
PaperUpdateInstallerso Paper plugins can implement confirmed update commands that back up the old jar intoLattice/Old, replace the plugin jar, and prompt for a server restart.
Changed
- Standalone host shutdown now disables all managed plugin runtimes in reverse registration order even when one dependent plugin fails during disable.
- Standalone host close now continues through managed plugin disable, shared storage pool close, and handle cleanup before rethrowing a collected shutdown failure.
- The standalone Lattice plugin shutdown path now continues through managed plugin disable, host runtime disable, Bukkit service unregister, and host close before rethrowing a collected shutdown failure.
LatticeRuntime#disable()now closes registered services and cancels tasks even when called before the runtime has loaded.- The standalone Lattice plugin now performs a best-effort startup check for newer Lattice GitHub releases and stays silent when it is already current.
- Public docs now describe the shared runtime host lifecycle, dependent plugin detach behavior, and the
disable()beforeload()cleanup guarantee. - Public docs now include update-check and confirmed-install examples for plugin-owned admin commands.
Fixed
- A failed dependent plugin disable no longer prevents later managed plugins from being disabled during standalone host shutdown.
- Shared JDBC pools are now closed during standalone host close even if a managed plugin fails while disabling.
- Hosted plugin handles are now detached when a newly created runtime is disabled before it has loaded.
- The runtime lifecycle docs no longer duplicate the
enable()lifecycle step.
Compatibility
- Existing
LatticeHost,LatticePluginHandle, andLatticeRuntimemethod signatures are unchanged. - Dependent plugins using
LatticePaperPluginorLatticePaper.bootstrap(...)do not need code changes. - Shutdown failures are still surfaced to the caller, but cleanup now continues before the failure is rethrown.
- Update installs are opt-in and must be triggered by plugin code; no dependent plugin jar is replaced automatically.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Ed95iBPq:33dxsoJl"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Ed95iBPq:33dxsoJl"
}

