✨ 为什么选择 BSAntiCheat?
- ? 支持 Folia — 原生运行于 Folia 和 Paper,使用同一个 jar 文件(已在真实 Folia 服务器上验证)。
- ? 默认冷静 — 那些繁琐且容易误判的启发式检查默认关闭;可靠的检查则处于开启状态。第一天就不会出现大量的标记风暴。
- ? 完全可校准 — 25+ 个阈值可通过
/bsac reload 实时调整,无需重启。
- ? 基于事务的延迟补偿 — 采用真实的 ping/pong 往返计时,而非粗略的
getPing(),因此不会惩罚高延迟玩家。
- ? 体积小巧 — 约 355 KB,无捆绑臃肿代码。
- ? 兼容 Bedrock 与传统客户端 — 自动豁免 Geyser/Floodgate 以及(可选)ViaVersion 客户端,这些客户端的物理机制有所不同。
?️ 检测内容
| 类别 |
检查项 |
| 移动 |
速度、飞行、悬停、瞬移、地面伪造、鞘翅/引雷者速度 |
| 战斗 |
距离、KillAura(角度 + 多目标)、瞄准快照、暴击、自动格挡 |
| 世界 |
破坏器、快速放置、脚手架、快速挖掘 |
| 载具 |
船只飞行、各类型载具速度 |
| 数据包 |
连点器、坏数据包、计时器、崩溃保护、数据包洪水 |
| XRay |
矿石阈值、矿/石比例、稀有矿石组合、受限区域 |
| 物品栏 (可选) |
物品栏移动、箱子窃贼、快速使用、弓连射、自动图腾 |
移动状态每刻都会进行检查(无采样),地面状态由服务器权威判定
(不可被客户端标志伪造),而宽限窗口处理了击退、瞬移、加入服务器和
鞘翅着陆等情况,确保正常游玩不受影响。
⚙️ 执行机制
基于违规等级(VL)衰减系统驱动可配置的惩罚层级 — 在 VL 阈值时运行任意
控制台命令(警告、踢出、封禁、自定义),并支持可选的惩罚回退。默认以
仅报告模式运行;当你准备好时,切换开关即可启用惩罚。
? 依赖要求
- Paper 或 Folia 1.21.x
- PacketEvents — 用于数据包级别
的检查(连点器、坏数据包、计时器、Crasher、数据包洪水)及延迟事务系统所必需。
其他功能无需此插件即可工作。
可选: LuckPerms(群组白名单)、PlaceholderAPI、Geyser/Floodgate、ViaVersion。
? 快速开始
- 将 jar 放入
plugins/ 目录(加上 PacketEvents)。
- 启动服务器。
- 调整
config.yml,通过 /bsac reload 应用配置,并在满意后启用惩罚。
为你的服务器进行校准: 设置 debug_mode: true,保持惩罚关闭,在游戏过程中观察调试
数值,调整 anticheat.thresholds.*,然后重新加载。完成。
? 命令与权限
/bsac, /movealerts, /xrayalerts, /acsilent, /acwhitelist, /xrayores — 管理员/管理
权限,均带有别名。PlaceholderAPI:%bsanticheat_total%, %bsanticheat_vl_<check>%。
积极开发中。预测级战斗检测和重构后的可选启发式检查已列入路线图。欢迎提供反馈和 bug 报告!
✨ Why BSAntiCheat?
- 🧊 Folia-ready — runs natively on Folia and Paper from the same jar (verified against a real Folia server).
- 🎯 Calm by default — the fiddly, false-positive-prone heuristics ship off; the reliable checks are on. No flag-storm on day one.
- 🔧 Fully calibratable — 25+ thresholds tunable live with
/bsac reload, no restart.
- 📡 Transaction-based lag compensation — real ping/pong round-trip timing, not the coarse
getPing(), so high-ping players aren't punished.
- 🪶 Tiny — ~355 KB, no bundled bloat.
- 🌍 Bedrock & legacy aware — auto-exempts Geyser/Floodgate and (opt-in) ViaVersion clients whose physics differ.
🛡️ What it detects
| Category |
Checks |
| Movement |
Speed, Fly, Hover, Teleport, GroundSpoof, Elytra/Riptide speed |
| Combat |
Reach, KillAura (angle + multi), AimSnap, Criticals, AutoBlock |
| World |
Nuker, FastPlace, Scaffold, FastBreak |
| Vehicle |
Boat-Fly, per-type vehicle speed |
| Packet |
AutoClicker, BadPackets, Timer, crash protection, packet-flood |
| XRay |
ore thresholds, ore/stone ratio, rare-ore combos, restricted zones |
| Inventory (opt-in) |
InventoryMove, ChestStealer, FastUse, BowSpam, AutoTotem |
Movement is checked every tick (no sampling), ground state is server-authoritative
(not the spoofable client flag), and grace windows handle knockback, teleports, joins and
elytra landings so normal play stays clean.
⚙️ Enforcement
A violation-level (VL) system with decay drives configurable punishment tiers — run any
console commands (warn, kick, ban, custom) at VL thresholds, with optional setback. Ships in
report-only mode; flip the switch when you're ready.
🔌 Requirements
- Paper or Folia 1.21.x
- PacketEvents — required for the packet-level
checks (AutoClicker, BadPackets, Timer, Crasher, PacketFlood) and lag-transaction system.
Everything else works without it.
Optional: LuckPerms (group whitelist), PlaceholderAPI, Geyser/Floodgate, ViaVersion.
🚀 Quick start
- Drop the jar in
plugins/ (plus PacketEvents).
- Start the server.
- Tune
config.yml, apply with /bsac reload, and enable punishments when you're happy.
Calibrate for your server: set debug_mode: true, keep punishments off, watch the debug
values while playing, tune anticheat.thresholds.*, then reload. Done.
📋 Commands & permissions
/bsac, /movealerts, /xrayalerts, /acsilent, /acwhitelist, /xrayores — admin/manage
permissions, all with aliases. PlaceholderAPI: %bsanticheat_total%, %bsanticheat_vl_<check>%.
Actively developed. Prediction-level combat detection and reworked opt-in heuristics are on
the roadmap. Feedback and bug reports welcome!
评论 0
登录后参与评分
还没有评论,来抢沙发吧