Closure
Closure 是一款目前处于早期 Alpha 阶段的混合反作弊插件。它试图解决 Minecraft 服务器管理中一个常见的问题:
在阻止作弊者和避免误罚因延迟导致异常行为的合法玩家之间取得平衡(即减少由延迟引起的误报)。
大多数反作弊系统仅依赖静态阈值(例如,“如果玩家移动速度 > X,则将其拉回”)。Closure 在此过程中增加了一层统计分析。它会随时间追踪玩家的行为——包括准星一致性、数据包顺序和移动模式——从而构建一个“置信度评分”。
该评分本身不会直接封禁玩家。相反,它会调整核心物理检查的严格程度。如果玩家有正常的移动历史,系统会给予一定的缓冲以应对延迟峰值。如果玩家表现出机械般的一致性或不可能的反应时间,该缓冲将被移除,执行将立即生效。
当前功能 (Alpha)
- 1.21+ 支持:使用 ProtocolLib 处理现代数据包结构(包括新的 Velocity/Shorts 格式)。
- 影子玩家 (Shadow Player):一种专门用于验证 KillAura 的检测机制。它会生成一个假人实体(在标签页中可见,穿着盔甲),
扑向可疑玩家,以触发那些通常过滤掉静态机器人的客户端中的“自卫”模块。
- 防摔逻辑 (NoFall Logic):在服务端计算预期的下落距离,而不是信任客户端的地面状态,修复了在楼梯和平台上的误报问题。
- 延迟缩放 (Ping Scaling):检查会自动根据玩家的连接稳定性和服务器 TPS 调整阈值。
要求
- Java 21 或更高版本。
- ProtocolLib(用于数据包拦截所必需)。
1.0 路线图
本项目正在积极开发中。以下列出的功能是首次稳定发布前的计划里程碑。
Alpha (当前状态)
- 核心战斗和移动检查功能正常。
- “影子玩家”验证实体已实现。
- 基本统计画像功能已启用。
Beta (v0.5)
- 误报冻结期 (False Positive Freeze):完全专注于在高玩家数量下调整阈值的测试阶段。
- 世界检测 (World Checks):改进了对 Nuker 和 Scaffolding 的检测。
Release Candidate (v0.9)
- API:允许其他插件查询玩家的信任评分。
- 优化:针对高人口服务器的线程改进。
Stable (v1.0)
免责声明:由于这是 Alpha 版本,旨在用于测试环境。虽然我们已在很大程度上针对误报进行了测试,但仍可能存在边缘情况。请在追踪器上报告问题。
Closure
Closure is a hybrid anti-cheat plugin currently in early Alpha. It attempts to solve a common problem in Minecraft server administration:
the balance between blocking cheaters and not punishing legitimate players causing false positives due to lag.
Most anti-cheats rely solely on static thresholds (e.g., "if player moves > X speed, pull them back"). Closure adds a statistical layer to
this process. It tracks player behavior over time—aim consistency, packet order, and movement patterns—to build a "confidence score."
This score doesn't ban players on its own. Instead, it adjusts the strictness of the core physics checks. If a player has a history of
legitimate movement, the system grants them a small buffer to account for lag spikes. If a player shows robotic consistency or impossible
reaction times, that buffer is removed, and enforcement becomes instant.
Current Features (Alpha)
- 1.21+ Support: Uses ProtocolLib to handle modern packet structures (including the new Velocity/Shorts format).
- Shadow Player: A specialized verification check for KillAura. It spawns a fake player entity (visible in the tab list, wearing armor)
that lunges at the suspect to trigger "self-defense" modules in clients that usually filter out static bots.
- NoFall Logic: Calculates expected fall distance server-side rather than trusting the client's ground state, fixing false flags on stairs
and ledges.
- Ping Scaling: Checks automatically adjust thresholds based on the player's connection stability and server TPS.
Requirements
- Java 21 or newer.
- ProtocolLib (Required for packet interception).
Roadmap to 1.0
This project is in active development. Features listed below are planned milestones before the first Stable release.
Alpha (Current State)
- Core combat and movement checks are functional.
- The "Shadow Player" verification entity is implemented.
- Basic statistical profiling is active.
Beta (v0.5)
- False Positive Freeze: A testing phase focused entirely on tuning thresholds with high player counts.
- World Checks: Improved detection for Nuker and Scaffolding.
Release Candidate (v0.9)
- API: Allowing other plugins to query a player's trust score.
- Optimization: Threading improvements for high-population servers.
Stable (v1.0)
- Full production release.
- Codebase freeze and long-term support.
Disclaimer: As this is an Alpha release, it is intended for testing environments. While we have tested significantly against false
positives, edge cases may still exist. Please report issues on the tracker.
评论 0
登录后参与评分
还没有评论,来抢沙发吧