Links
Tags
Creators
Details
2.2.1-Stable
Compatibility
Changes
AuthAnvilLogin v2.2.2 – 更新日志(2025-12-20)
🔹 修复问题
Folia 异步调度兼容性 ·修复了在 Folia 1.21.8 环境下,由于异步任务中调用 Bukkit runTask、runTaskLater 或 runTaskTimer 导致的 ·UnsupportedOperationException。 ·所有异步操作现在使用 PlayerScheduler / AsyncScheduler,保证 UI / 玩家操作线程安全。 ·修复了 InventoryCloseEvent may only be triggered synchronously 异常。 跨服登录场景问题 ·修复了玩家从其他服务器跳转到登录大厅时,Anvil 登录界面仍会弹出的情况。 ·增加对 AuthMe 自动登录状态 的检查: ·已登录玩家不会再弹登录界面。 ·保证跨服、自动登录等情况下 UI 行为正确。 登录界面逻辑优化 ·所有 UI / Inventory 操作现在都在 玩家线程(PlayerScheduler) 中执行。 ·延迟 10 ticks 执行登录判断,确保 AuthMe 自动登录完成后再弹界面,避免时序冲突。 ·登录/注册提示消息和日志输出优化: ·区分“已登录跳过 UI”与“未登录打开 AnvilGUI”。 ·Debug 模式下输出准确的上次登录时间。 首次注册玩家提示优化 ·新玩家首次进入服务器会弹注册 UI,并提供明确指引。 ·修复首次进入跨服大厅时注册 UI异常弹出的情况。
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:uhk4EMXY:N0HO2rOH"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uhk4EMXY:N0HO2rOH"
}

