chore(deps): Update Minestom to 2025.10.05-1.21.8 to use new APIs #1119
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the Minestom server integration to use the new authentication API and improves configuration handling. The most significant changes are the migration to the latest Minestom version for Java 21, refactoring of proxy authentication logic, and the addition of new utility methods.
Minestom Authentication and Proxy Refactor:
BungeeCordProxyandVelocityProxysetup with the newAuthAPI from Minestom, centralising authentication configuration in the newgetConfiguredAuth()method. The server is now initialized with anAuthinstance based on configuration, and logs the configured auth type. (ShulkerServerAgentMinestom.kt) [1] [2]Utility and API Improvements:
getConfiguredAuth()method to allow consumers to query the current authentication type. (ShulkerServerAgentMinestom.kt)getInstance()static method toShulkerServerAgentMinestomto allow consumers to actually query the authentication type. (ShulkerServerAgentMinestom.kt)Dependency Updates:
net.minestom:minestom:2025.10.05-1.21.8to support the new authentication API. (settings.gradle.kts) IMPORTANT: This version is the latest Minestom version to support Java 21, newer versions likenet.minestom:minestom:2025.10.18-1.21.10require Java 25