Links
Tags
Creators
Details
Licensed GPL-3.0-only
Published 2 years ago
Updated 9 months ago
All versions
1.4.2
Release
BanTools 1.4.29 months ago 461
Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platform
Velocity
Changes
🔧 版本更新日志
v1.4.2 (最新版本)
新增功能:
- 🆕 可配置日志输出:新增
fakeban.log_loading_info配置项,控制是否输出"加载了 X 个活跃的临时封禁记录"信息 - 🆕 可配置清理间隔:新增
fakeban.cleanup_interval_minutes配置项,自定义过期记录检查间隔(默认1分钟)
配置优化:
- 管理员可以通过设置
log_loading_info = false来关闭临时封禁加载日志 - 可以调整清理间隔来平衡性能和及时性(建议1-5分钟)
v1.4.1
重要修复:
- 🔧 修复空指针异常:解决了当封禁记录中UUID为null时导致的NullPointerException
- 🔧 改进离线玩家处理:完善了对离线封禁玩家的UUID和IP检查逻辑
- 🔧 增强稳定性:修复了临时封禁系统中的null值处理问题
- 🔧 登录拦截修复:确保离线封禁的玩家能够被正确拦截
技术改进:
- 在所有UUID和IP比较前添加null检查
- 优化了封禁匹配算法的安全性
- 改进了错误处理机制
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:u9OtVM1S:LWLydLiF"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:u9OtVM1S:LWLydLiF"
}

