Links
Tags
Creators
Details
Licensed ARR
Published 3 weeks ago
Updated last week
All versions
1.4.0
Release
MikuHAProxy 1.4.0last month 4
Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
Platform
Velocity
Changes
This release contains no functional changes — it is a testing-and-quality release.
本次不包含任何功能变更,是一次以测试与内部质量为主的发布。
变更
- 测试:98 → 139 个用例(13 → 18 个测试类),关闭全部已登记的测试缺口
- 新增
ChannelHookTest:注入层 —— 上游字段定位、初始化器包装与还原、重复安装不套壳、失败路径,以及haproxy-protocol开关按「方法名」反射读取的四条分支 - 新增
MikuProxyCommandTest:命令层 —— 用 Brigadier 真实执行命令树,覆盖权限门与status/list/reload回显 - 新增
MikuHAProxyInitializeTest:入口失败路径 —— 配置失败即短路、注入失败不注册命令 - 新增
ReflectTest、DetectorContextTest:工具层与配置快照契约 DataFolderTest补齐「上次改名留下中间目录」、「改目标名失败且回滚也失败」两条分支
- 新增
- 内部重构(行为与异常语义均未变)
ChannelHook:三处内联字段选择器抽成命名谓词,注入定位逻辑变得可测DataFolder:抽出可注入的Mover,让真实文件系统构造不出来的「回滚也失败」分支可被覆盖
兼容性
- 无需改动任何配置:替换
plugins/下的 jar 后重启代理即可。 - 运行环境不变:Velocity 4.x(含 Velocity-CTD 4.x)+ Java 25;
velocity.toml仍需haproxy-protocol = true。
Full Changelog: https://github.com/JunXieX/MikuHAProxy/compare/v1.3.0...v1.4.0
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:SPh6m4k5:fORzicmT"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:SPh6m4k5:fORzicmT"
}

