BetterGrim
由于我厌倦了维护这个项目,且存在更好的替代方案,因此我已将其归档。但也许未来我会重新制作该项目。
BetterGrim 是一个开源的 GrimAC 分支,旨在修复上游版本中的误报(false positives)和绕过漏洞。 它目前支持从 1.8 到 1.21.11 的 Minecraft 版本。为了防止误报,Geyser 玩家完全不受反作弊系统的限制。 本项目被视为 2.0(开源)分支的功能完善版。如果您需要错误修复或增强功能且无法赞助开发工作,欢迎提交 Pull Request。 建议使用最新的 alpha (dev) 构建以获取最新的修复、更改和检测规则 (注意:Modrinth 上的更新日志可能不完整,完整的更新日志请前往 GitHub Commits 查看)
BetterGrim 当前拥有而上游版本所没有的更改
- NoWeb 检测 - 修复 NoWeb 绕过漏洞
- AutoClicker 检测(重构中)
- Invalid checks(无效操作检测)
- Inventory checks(物品栏检测)
- 修复基于 Tick 的 NoSlow 绕过漏洞
- 将 NoSlow 缓解措施改为 resetItemUsage 而非 setbacks(更安全)
下载
要求与安装
- Java 17 或更高版本。更多详情,请参阅 Updating-to-Java-17。
- Spigot、Paper、Folia 或 Fabric 服务器环境。更多详情,请参阅 Supported-environments。
如果您使用 Velocity 或 Bungeecord 等代理:
- 如果您使用 Geyser,必须在后端服务器(即安装 Grim 的服务器)上安装 Floodgate,以便 Grim 能够访问 Floodgate API。
- 如果您使用 ViaVersion,它必须仅安装在后端服务器(即安装 Grim 的服务器)上。 Grim 不支持在代理上安装 ViaVersion,即使后端也安装了 ViaVersion。
资源
Pull Requests
有关贡献指南和具体规范的更多信息,请参阅 Contributing。
Developer Plugin API
Grim 的插件 API 允许您将 Grim 集成到您自己的插件中。请访问 plugin API repository 获取源代码和更多信息。
Compiling From Source
git clone https://github.com/DieInCalamity/BetterGrimcd Grim./gradlew build- 最终的 jar 包将编译到
<platform>/build/libs文件夹中
Grim Supremacy
Grim 与其他反作弊相比有何突出之处?
Movement Simulation Engine(移动模拟引擎)
- 我们实现了玩家可能移动方式的 1:1 复制
- 这涵盖了从基本行走、游泳、击退、蜘蛛网到气泡柱的所有内容
- 它还涵盖了从船只到猪和炽足兽的生物骑乘
- 建立在覆盖边缘情况以确保准确性之上
- 无论这些版本之间存在巨大的技术变化,均支持: 1.13+ 客户端在 1.13+ 服务器上,1.12- 客户端在 1.13+ 服务器上,1.13+ 客户端在 1.12- 服务器上, 以及 1.12- 客户端在 1.12- 服务器上。
- 碰撞的顺序取决于客户端版本且是正确的
- 考虑到不同版本之间微小的边界框差异,例如:
- 对于 1.7-1.8 的玩家,单个玻璃板将呈现为 + 形状,而对于 1.9+ 的玩家则为 * 形状
- 由于 ViaVersion,1.13+ 客户端在 1.8 服务器上会看到 + 形状的玻璃板碰撞箱
- 许多其他方块都具有这种极致的细节关注。
- 对于 1.12 或更低版本的玩家,不存在含水方块(Waterlogged blocks)
- 客户端版本中不存在的方块会使用 ViaVersion 的替换方块
- 无法翻译到以前版本的方块数据会被正确替换
- 所有原版碰撞箱均已实现
Fully asynchronous and multithreaded design(完全异步和多线程设计)
- 所有移动检测和绝大多数监听器都在 netty 线程上运行
- 反作弊系统可以扩展到数百名玩家,甚至更多
- 线程安全性经过仔细考虑
- 下一个核心允许这种设计
Full world replication(完整的世界复制)
- 反作弊系统为每位玩家维护一个世界副本
- 该副本通过监听区块数据包、方块放置和方块变化来创建
- 在所有版本中,区块均使用调色板压缩至每个区块 16-64 KB
- 借助此缓存,反作弊系统可以安全地访问世界状态
- 针对每位玩家,缓存支持多线程设计
- 向玩家发送包含虚假方块的 packets 是安全的,不会导致误判(false)
- 为每位玩家重建世界以实现延迟补偿
- 客户端侧的方块与基于数据包处理的方块不会产生冲突。方块穿模/错位不会触发反作弊
延迟补偿
- 世界变更会被排队,直到它们到达玩家
- 这意味着在玩家脚下破坏方块不会触发反作弊
- 从飞行状态到移动速度的一切内容都将进行延迟补偿
库存补偿
- 跟踪玩家的物品栏以防止在高延迟下出现幽灵方块及其他错误
设计即安全,而非隐晦
- 所有系统设计得高度安全,且在数学上不可能被绕过
- 例如,预测引擎知晓所有可能的移动方式,无法被绕过
BetterGrim
I archived it because I'm tired of working on this project and there are much better alternatives. But maybe sometime I will remake this project
BetterGrim is an open source GrimAC fork designed to have fixes of false positivies and bypasses of upstream. It currently supports minecraft versions from 1.8 to 1.21.11. Geyser players are fully exempt from the anticheat to prevent false positives. This project is considered feature-complete for the 2.0 (open-source) branch. If you would like a bug fix or enhancement and cannot sponsor the work, pull requests are welcome. It is recommended to use latest alpha(dev) build to have latest fixes, changes and checks (note: Changelogs on Modrinth may not show the full changelog, for full changelog go to GitHub Commits)
What changes do BetterGrim currently have that upstream does not
- NoWeb check - fixes NoWeb bypasses
- AutoClicker checks (reworking)
- Invalid checks
- Inventory checks
- Fix tick-based NoSlow bypasses
- Change NoSlow mitigation to resetItemUsage instead of setbacks (safer)
Downloads
Requirements & Installation
- Java 17 or higher. For more details, see Updating-to-Java-17.
- A Spigot, Paper, Folia, or Fabric server environment. For more details, see Supported-environments.
If you use a proxy such as Velocity or Bungeecord:
- If you use Geyser, Floodgate must be installed on the backend server (where Grim is) so Grim can access the Floodgate API.
- If you use ViaVersion, it must be installed on the backend server (where Grim is) ONLY. Grim does not support having ViaVersion installed on the proxy, even if it is also installed on the backend.
Resources
- For documentation and examples visit the Wiki.
- For answers to commonly asked questions visit the FAQ.
- For community support and project discussion join our Discord.
Pull Requests
See Contributing for more information about contributing and what our guidelines are.
Developer Plugin API
Grim's plugin API allows you to integrate Grim into your own plugins. Visit the plugin API repository for the source code and more information.
Compiling From Source
git clone https://github.com/DieInCalamity/BetterGrimcd Grim./gradlew build- The final jars will compile into the
<platform>/build/libsfolders
Grim Supremacy
What makes Grim stand out against other anticheats?
Movement Simulation Engine
- We have a 1:1 replication of the player's possible movements
- This covers everything from basic walking, swimming, knockback, cobwebs, to bubble columns
- It even covers riding entities from boats to pigs and striders
- Built upon covering edge cases to confirm accuracy
- 1.13+ clients on 1.13+ servers, 1.12- clients on 1.13+ servers, 1.13+ clients on 1.12- servers, and 1.12- clients on 1.12- servers are all supported regardless of the large technical changes between these versions.
- The order of collisions depends on the client version and is correct
- Accounts for minor bounding box differences between versions, for example:
- Single glass panes will be a + shape for 1.7-1.8 players and * for 1.9+ players
- 1.13+ clients on 1.8 servers see the + glass pane hitbox due to ViaVersion
- Many other blocks have this extreme attention to detail.
- Waterlogged blocks do not exist for 1.12 or below players
- Blocks that do not exist in the client's version use ViaVersion's replacement block
- Block data that cannot be translated to previous versions is replaced correctly
- All vanilla collision boxes have been implemented
Fully asynchronous and multithreaded design
- All movement checks and the overwhelming majority of listeners run on the netty thread
- The anticheat can scale to many hundreds of players, if not more
- Thread safety is carefully thought out
- The next core allows for this design
Full world replication
- The anticheat keeps a replica of the world for each player
- The replica is created by listening to chunk data packets, block places, and block changes
- On all versions, chunks are compressed to 16-64 kb per chunk using palettes
- Using this cache, the anticheat can safely access the world state
- Per player, the cache allows for multithreaded design
- Sending players fake blocks with packets is safe and does not lead to falses
- The world is recreated for each player to allow lag compensation
- Client sided blocks cause no issues with packet based blocks. Block glitching does not false the anticheat.
Latency compensation
- World changes are queued until they reach the player
- This means breaking blocks under a player does not false the anticheat
- Everything from flying status to movement speed will be latency compensated
Inventory compensation
- The player's inventory is tracked to prevent ghost blocks at high latency, and other errors
Secure by design, not obscurity
- All systems are designed to be highly secure and mathematically impossible to bypass
- For example, the prediction engine knows all possible movements and cannot be bypassed
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BetterGrim
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
此版本变更(自上次推送以来)
杂项
- 将内部触发器迁移至 GrimAPI 1.3 频道 API (#2612) - by Axionize (
3664f4d) - FastBreak 在 Vault 方块上误报 (#2610) - by Tyler (
794e120) - 与 GrimTeleportEvent 同时触发 GrimPlayerSetbackEvent - by Axionize WS2 (
a86dedf) - 升级 packetevents 至 6953c38(上游 2.12.2 合并 + 防混淆安全的 NBT 扫描)- by Axionize WS1 (
7499d10) - 将分支 'GrimAnticheat:2.0' 合并至 2.0 - by DieInCalamity (
a3a95cc)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧