
GeyserAC
简介
专为通过 Geyser 加入 Java 服务器的基岩版玩家设计的反作弊系统。Java 端的反作弊插件(如 GrimAC)通常会完全跳过 Geyser 玩家,因此如果没有针对 Geyser 侧的措施,基岩版客户端就可以自由地飞行、加速和超距攻击。
GeyserAC 是一个 Geyser 扩展插件。它为每个基岩版玩家运行一套独立的基岩版移动物理模拟,并将每一刻(tick)的数据与真实的基岩版专用服务器进行比对;当检测到客户端移动到物理引擎不允许的位置时,会将其强制回退。
功能特性
- 移动检测:涵盖行走、冲刺、潜行、跳跃、游泳、梯子与藤蔓、冰面、粘液块、蜂蜜块、灵魂沙、蛛网、细雪、脚手架、气泡柱、床、鞘翅与火箭、激流附魔、状态效果及击退。支持检测飞行、加速、单步上墙、水上行走(耶稣步)、蜘蛛步、抗击退等常见作弊行为。
- 载具检测:预测并检测马、驴、骡、骆驼及船只的移动。
- 其他规则:包括防落空(NoFall)、定时器(Timer)、防减速(NoSlow)、冲刺规则(饥饿值、失明效果)以及异常输入检测。
- 战斗检测:距离检测(基于客户端绘制的碰撞箱,最大 3.3 格,含延迟补偿)、命中判定(视线需指向目标)、穿墙攻击、使用物品时攻击等。
- 方块交互:检测放置与破坏的距离和准星指向、穿墙点击、快速破坏(FastBreak)、爆破(Nuker)、快速放置、无效的方块面选择。由于基岩版的急迫(Haste)效果比 Java 版更强,本插件会将显示给基岩版客户端的急迫等级降低,以匹配 Java 版的挖掘速度。
- 物品栏操作:检测打开屏幕界面时点击物品,以及在屏幕界面未关闭时进行攻击。
键盘、手柄和触屏输入均被处理。延迟补偿机制会在每批数据变更中发送 ping 值,因此只有当客户端实际看到该变更(如速度变化、效果更新、击退或方块更新)后,才会对该行为进行计数和判定。
与 GrimAC 的兼容性
设计为与 GrimAC 共存运行。GrimAC 负责检查 Java 版玩家并跳过所有 Geyser 玩家(因为它无法预测基岩版移动),而 GeyserAC 仅检查 Geyser 玩家。两者配合可覆盖所有玩家,且绝不会对同一玩家重复处罚。双方均无需额外配置。
安装指南
- 服务器需运行 Geyser 2.12 或更高版本(已在 Geyser-Fabric 上测试;Floodgate 可选)。
- 将 jar 文件放入 Geyser 的
extensions/ 文件夹中(Fabric 端路径为 config/Geyser-Fabric/extensions/),然后重启服务器。
- 在
extensions/pandageyserac/ 目录下创建一个名为 enforce 的空文件以启用强制回退(setbacks)。若无此文件,扩展插件仅记录日志而不执行惩罚。该文件会在服务器运行时持续检查。
标志位和强制回退信息会显示在服务器日志中,前缀为 [pandageyserac]。若在相同目录下创建名为 verbose 的空文件,则会将每一刻的数据写入 moves.log 文件(体积较大,用于调试)。
致谢
数据包挂钩、区块解码和基岩版方块形状的代码改编自 Boar 和 Geyser(均采用 MIT 许可证)。碰撞数据来自 minecraft-data。
体验试玩

hardcoreanarchy.gay (死亡禁令无政府模式)
sky.hardcoreanarchy.gay (空岛无政府模式)
更多模组
Anti-Exploit - 一款即插即用的模组,用于防止常见的漏洞利用。完全可配置,并能与 GrimAC 等其他反作弊插件良好配合。
Occlusion - 服务端防自由视角插件。阻止玩家看到他们视野之外的洞穴、矿石和实体。
Dupe Fix - 一款简单的即插即用模组,用于防止所有形式的刷物品行为。开启此模组后,TNT 刷物品、重力方块刷物品等都将失效。
No Lag - 停止导致服务器卡顿的常见原因。可根据喜好进行配置。
查看所有模组
问题反馈
Bug 和问题请提交至 GitHub Issues。不提供 Discord 技术支持。
许可证
MIT

GeyserAC
Description
Anti-cheat for Bedrock players who join a Java server through Geyser. Java anti-cheats like GrimAC skip Geyser players entirely, so without something on the Geyser side a Bedrock client can fly, speed and reach freely.
GeyserAC is a Geyser extension. It runs its own copy of Bedrock movement physics for every Bedrock player, checked tick for tick against a real Bedrock Dedicated Server, and sets the player back when the client moves somewhere the physics can't take it.
Features
- Movement: walking, sprinting, sneaking, jumping, swimming, ladders and vines, ice, slime, honey, soul sand, cobwebs, powder snow, scaffolding, bubble columns, beds, elytra and rockets, riptide, effects and knockback. Covers fly, speed, step, jesus, spider, anti-knockback and similar.
- Vehicles: horses, donkeys, mules, camels and boats are predicted too.
- NoFall, Timer, NoSlow, sprint rules (hunger, blindness) and bad inputs.
- Combat: reach (3.3 blocks to the hitbox the client draws, lag compensated), hitboxes (the look has to meet the target), attacks through walls, attacking while using an item.
- Blocks: placement and break reach and aim, clicks through walls, FastBreak, nuker, fast place, invalid block faces. Bedrock's Haste is stronger than Java's, so the Haste level shown to Bedrock clients is lowered to match Java break times.
- Inventory: clicking items while moving with a screen open, attacking with a screen open.
Keyboard, controller and touch input are all handled. Lag compensation uses a ping sent with every batch of changes, so a change (speed, effects, knockback, a block update) only counts once the client has actually seen it.
GrimAC Compatibility
Made to run next to GrimAC. Grim checks Java players and skips every Geyser player (it can't predict Bedrock movement), and GeyserAC only checks Geyser players. Together every player is covered, and they never both act on the same player. No config needed on either side.
Installation
- A server with Geyser 2.12 or newer (tested on Geyser-Fabric; Floodgate optional).
- Put the jar in Geyser's
extensions/ folder (config/Geyser-Fabric/extensions/ on Fabric) and restart.
- Create an empty file named
enforce in extensions/pandageyserac/ to turn setbacks on. Without it the extension only logs. The file is checked while the server runs.
Flags and setbacks show up in the server log as [pandageyserac]. An empty verbose file in the same folder writes every tick to moves.log (large, for debugging).
Acknowledgements
The packet hook, chunk decoding and Bedrock block shapes are adapted from Boar and Geyser (both MIT). Collision data from minecraft-data.
Try it out

hardcoreanarchy.gay (Deathban Anarchy)
sky.hardcoreanarchy.gay (Skyblock Anarchy)
More mods
Anti-Exploit - A drop-in mod for preventing common exploits. Fully configurable and works well alongside other anti-cheats like GrimAC.
Occlusion - Server-side anti-freecam. Prevents players from seeing caves, ores and entities they can't see.
Dupe Fix - A simple drop-in mod to prevent all forms of duping. TNT-Duping, Gravity block duping, and much more will not work with this mod enabled.
No Lag - Stop common causes of lag on your server. Configure to your likings.
All my mods
Issues
Bugs and problems go on GitHub Issues. There is no Discord support.
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧