ServerSideAntiCheat
ServerSideAntiCheat 是一款革命性的、100% 服务端的反作弊插件,适用于 Paper/Spigot。它能够检测未经授权的客户端模组(如 Freecam、Minimaps 和 Hacked Clients),无需你的玩家自行安装任何模组。
工作原理
传统的反作弊系统试图通过检测作弊的行为(例如飞行或移动过快)来发现违规者,这往往会因为延迟问题导致大量的误报。ServerSideAntiCheat 则不同。它结合了先进的协议监听技术和一种高度隐蔽、不可见的 UI 技巧,以准确读取客户端安装了哪些模组。
- 协议拦截:主动监控现代模组广播的隐藏
minecraft:brand 和 Plugin Channel 负载。
- “隐形铁砧”技术:使用专有方法在玩家登录期间打开并立即关闭一个不可见的铁砧 UI。它会向该 UI 注入翻译键值,并分析客户端的数据包响应,从而确定客户端具备翻译能力的模组。
- 零误报:由于它检测的是实际的模组文件而非玩家移动轨迹,因此具有极高的准确性。
- 自动更新签名:插件会在启动时自动连接 Modrinth API,获取你黑名单中模组的最新内部翻译键值。你无需手动更新检测签名!
默认检测到的模组
默认情况下,配置文件已设置为捕获最常见的辅助/作弊模组,包括:
- Freecam / Wurst Freecam / Easy Freecam / Aether Freecam / Legacy Freecam
- Tweakeroo
- Xaero's Minimap & World Map
- JourneyMap
- Camera Enhancements
配置
该插件具有高度可配置性。只需将任何 Fabric/Forge 模组的 Modrinth slug ID 添加到 config.yml 中,即可立即封禁该模组。服务器会自动查询 Modrinth,在后台下载其语言文件,并动态生成针对该模组的不可见检测陷阱。
如何查找 Modrinth ID:
你可以在 Modrinth 网站上查看任意模组 URL 的末尾部分来找到其 Modrinth ID。
# 在此处添加任何 Modrinth 模组 slug ID 以自动封禁它!
banned-mod-ids:
- "tweakeroo"
- "freecam"
- "wi-freecam"
- "camera-enhancements"
安装
- 确保你的服务器运行的是 Paper/Spigot 1.20+
- 安装 ProtocolLib(用于数据包操作所必需)
- 将
ServerSideAntiCheat-1.0.0.jar 放入你的 plugins 文件夹中。
- 重启服务器。
许可证
本项目为开源项目,遵循 MIT License 许可。
ServerSideAntiCheat
ServerSideAntiCheat is a revolutionary, 100% server-side anti-cheat for Paper/Spigot that detects unauthorized client-side mods (like Freecam, Minimaps, and Hacked Clients) without requiring your players to install any mods themselves.
How it Works
Traditional anti-cheats try to detect the behavior of a hack (like flying or moving too fast), which often results in false positives due to lag. ServerSideAntiCheat is different. It uses a combination of advanced protocol listening and a highly stealthy, invisible UI trick to read exactly what mods the client has installed.
- Protocol Interception: Actively monitors hidden
minecraft:brand and Plugin Channel payloads that modern mods broadcast.
- The "Invisible Anvil" Technique: Uses a proprietary method to open and instantly close an invisible Anvil UI on the client during login. It injects translation keys into this UI and analyzes the client's packet response to determine exactly which mods the client is capable of translating.
- Zero False Positives: Because it detects the actual mod files rather than player movement, it is incredibly accurate.
- Auto-Updating Signatures: The plugin automatically connects to the Modrinth API on startup to fetch the latest internal translation keys for your blacklisted mods. You never have to manually update detection signatures!
Detected Mods (Out of the Box)
By default, the config is setup to catch the most common utility/cheat mods, including:
- Freecam / Wurst Freecam / Easy Freecam / Aether Freecam / Legacy Freecam
- Tweakeroo
- Xaero's Minimap & World Map
- JourneyMap
- Camera Enhancements
Configuration
The plugin is highly configurable. You can instantly ban any Fabric/Forge mod by simply adding its Modrinth slug ID to the config.yml. The server will automatically query Modrinth, download its language files in the background, and dynamically generate an invisible detection trap for it.
How to find a Modrinth ID:
You can find the Modrinth ID for any mod by looking at the end of its URL on the Modrinth website
# Add any Modrinth mod slug ID here to automatically ban it!
banned-mod-ids:
- "tweakeroo"
- "freecam"
- "wi-freecam"
- "camera-enhancements"
Installation
- Ensure your server is running Paper/Spigot 1.20+
- Install ProtocolLib (Required for packet manipulation)
- Drop
ServerSideAntiCheat-1.0.0.jar into your plugins folder.
- Restart your server.
License
This project is open-source and licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧