
新功能 - 在 网页面板 上以 3D 全视角 在浏览器中观看 回放!
现已支持 回放、网络模式 和 Discord 机器人!
完全支持 Folia
适用于 Spigot/Paper/Folia 的基于物理的反作弊,版本范围 1.20.6 至 26.x
支持 Java、Bedrock(Geyser)以及通过 ViaVersion 连接的旧版客户端
需要 PacketEvents 2.14.0 或更高版本
Counter 会在每个游戏刻模拟原版物理机制,并标记出不符合逻辑的行为。它不是依靠固定的阈值进行猜测,而是计算出玩家理论上应该处于的位置,并将其与实际位置进行比较,从而降低延迟和异常方块对检测的干扰。该项目仍在持续开发中,我会不断更新。如果您遇到误报或发现漏报的情况,请随时告知我!

- 100+ 项检查:涵盖移动、战斗和玩家行为
- 预测引擎:每刻模拟原版物理机制(摩擦力、重力、水流/岩浆流、梯子、冰、灵魂沙、漂浮、缓慢下落、深海探索者、潜行加速等),并与每位玩家的游戏版本相匹配
- 载具与鞘翅飞行预测:为船只、马匹、骆驼、猪和炽足兽提供真实的物理效果,同时支持鞘翅滑翔和烟花推进
- 战斗分析:检测攻击距离、Killaura(包括合法瞄准和多目标瞄准)、瞄准模式、弓自瞄、自动点击器、速度/反击退(包括爆炸和弹射物)、命中框、回溯、数据包暴击、战斧
- 移动覆盖:飞行、加速、计时器、水上行走、穿墙、台阶、鞘翅飞行、船只飞行、地面伪装、闪烁、脚手架行走、安全行走
- 玩家行为检查:快速破坏/核爆(包含附魔和药水效果的完整原版挖掘速度计算)、脚手架、塔式建筑、Xray 启发式检测、物品栏、快速使用/进食、自动金苹果、自动蘑菇汤、自动钓鱼、水晶/末地烛/不死图腾、机器人及崩溃数据包
- 回放功能:通过佩戴玩家皮肤、装备和手持物品的 NPC 观察玩家的操作,显示其放置和破坏的方块,提供实时统计屏幕和标记点。保存用于处罚或警报的回放,支持审核标记、导入/导出以及在服务器间共享
- 浏览器回放:新功能,将您的服务器链接到网页面板,即可在任何浏览器中以 3D 形式观看片段,包含玩家周围的世界环境、时间轴上的所有标记、第一人称、第三人称和自由摄像机视角,以及命中框、攻击距离和视野叠加层。无需 Discord 或游戏客户端。处罚、警报和手动录制的片段均显示在“Clips”页面中
- 网页面板:通过浏览器在 counterac.com/panel 查看标记、玩家、处罚和申诉。可将团队成员添加为管理员或观察者,使用
/counter panel link 进行链接
- 机器学习:可选的瞄准和点击模型,用于评估玩家在战斗中的人类行为特征,并在玩家的瞄准或点击习惯突然发生变化时发出警报。运行于您的服务器,默认关闭
- 网络模式:通过 Redis 或插件消息系统将 BungeeCord 或 Velocity 网络中的每台服务器连接起来。工作人员可以看到来自所有服务器的警报,处罚在所有服务器生效,违规记录会跟随玩家切换服务器
- Discord 机器人:在 Discord 频道中发送带有按钮的警报卡片,支持封禁、踢出、冻结、保存回放或忽略。只有您授权的 staff 角色才能点击这些按钮
- 客户端世界引擎:追踪每个玩家屏幕上看到的方块,防止其他插件生成的假方块和幽灵方块导致误报。幽灵方块会自动修复
- Bedrock 支持:Geyser/Floodgate 玩家也会受到检查(包括关联账户),内置针对 Bedrock 移动的飞行、跳跃和粘液检查,不适用于触屏设备的检查会自动跳过
- ViaVersion 支持:旧版客户端会根据其自身版本的移动方式进行检查,26.3 版本的数据包攻击会被标记而非直接踢出
- 客户端信息:工作人员可以看到玩家加入时使用的客户端和版本(Forge、Fabric、Lunar、Badlion、Bedrock 等),以及自我报告的模组和 Bedrock 设备/输入方式。可捕捉伪造品牌信息的客户端
- World Downloader 阻止:检测该模组,远程禁用并向玩家标记
- 智能执行:通过确认快照设置安全回退、违规等级系统、可配置的处罚、封禁波次,以及针对对误报敏感服务器的可选双重过滤
- 观察模式:新检测仅在首次触发时发出警报,待您信任后再允许其执行处罚
- 预设配置:一键切换宽松、平衡或严格模式
- 世界和区域规则:可按世界或 WorldGuard 区域禁用或静默特定检查
- 自动调优:由实时统计数据驱动的仅放宽调优引擎,以及定时违规自动清除
- 工作人员工具:冻结、旁观、玩家检查菜单、嫌疑人列表和最近标记,从任何警报一键访问
- 标记原因:每条警报都用通俗语言说明玩家被标记的原因
- 游戏内 GUI:通过一个菜单管理警报、单项检查开关、设置、调优、嫌疑人和回放
- Discord Webhooks、持久化标记存储(SQLite 或 MySQL/MariaDB)、全程延迟/TPS/Ping 补偿
- Folia 支持:原生运行于 Folia,延迟补偿跟随每个玩家所在的区域
- PlaceholderAPI:支持 VL、Ping、CPS、客户端类型、Bedrock 设备、冻结状态等占位符
- 更新检查器:在新版本发布时通知管理员
- 支持转储:
/counter dump 生成一个包含您的配置和游戏版本对应标记的文件,方便在寻求帮助时发送
- 开发者 API:CounterApi 以及可取消的标记、处罚和回退事件

/counter (别名: /c, /anticheat) - 打开主菜单
/counter alerts - 切换警报
/counter verbose - 切换详细警报
/counter check <name> - 切换某项检查
/counter info <check> - 查看检查详情
/counter status [player] - 服务器/玩家信息
/counter vl <player> - 显示所有违规等级
/counter top - 在线违规者排行
/counter history <player> - 已存储的标记历史
/counter client <player> - 客户端、版本及模组信息
/counter inspect <player> - 带有快捷操作的玩家菜单
/counter freeze <player> - 冻结或解冻玩家
/counter spectate <player> - 以旁观者模式观察玩家
/counter back - 停止旁观并返回
/counter suspects - 按违规等级排序的在线玩家
/counter recent [page] - 全服最新的标记记录
/counter replay [id|list|save|stop|delete|export|import|share|fetch] - 观看、保存和分享回放
/counter exempt <player> - 临时豁免某玩家
/counter world / /counter region - 按世界和区域的检查规则
/counter banwave - 排队中的封禁及下一次执行时间
/counter network - 网络中的服务器及链接状态
/counter panel [link <code>|unlink] - 将此服务器链接到网页面板
/counter discord - Discord 机器人状态
/counter logs [page] - 查看最近的标记日志
/counter debug [player] - 切换调试模式
/counter tune [apply] - 根据标记数据自动调整检查参数
/counter shadow - 比较新的预测模型
/counter version - 版本、服务器信息及更新状态
/counter dump - 生成支持文件
/counter reset <player> - 重置玩家数据
/counter clear - 清除所有违规数据
/counter reload - 重载配置

counter.admin - 完全访问权限(警报、GUI、调试、踢出、封禁)
counter.alerts - 接收作弊警报
counter.gui - 访问 GUI
counter.staff - 使用冻结、旁观、检查和回放功能
counter.freeze / counter.spectate / counter.inspect - 各自独立的员工工具权限
counter.replay - 保存、列表、观看和分享回放
counter.replay.delete - 删除已保存的回放
counter.network - 查看网络状态
counter.debug - 使用调试模式
counter.use - 使用 /counter 命令
counter.exempt / counter.bypass - 将玩家排除在检查之外(默认 false)
counter.freeze.bypass - 无法被冻结(默认 false)
开发者 API
在 plugin.yml 中将 Counter 添加到 softdepend,并将 jar 包作为 provided / compileOnly 加入类路径。所有内容位于 C.counter.api 中。
CounterApi api = CounterApi.get();
if (api != null) {
double total = api.vl(player);
api.exempt(player, "VelocityA", 2000);
}
CounterApi
vl(player), vl(player, check), vls(player) - 违规等级
resetVl(player), resetVl(player, check) - 清除等级
exempt(player, ms), exempt(player, check, ms) - 暂时跳过检查,适用于自定义击退或技能等场景
bedrock, client, ping, frozen - 玩家信息
checks(), enabled(check) - 检查名称及其开启状态
事件(均可取消)
- FlagEvent - 在标记添加违规等级之前触发,包含检查名称、原因、置信度和违规等级
- PunishEvent - 在踢出、封禁或惩罚命令执行前触发
- SetbackEvent - 在玩家受到惩罚前触发
@EventHandler
public void onFlag(FlagEvent e) {
if (e.getCheck().equals("SpeedA") && dashing(e.getPlayer())) e.setCancelled(true);
}
FlagEvent 触发频率较高,因此请保持监听器逻辑轻量。

NEW - Watch replays in your browser on the web panel, in full 3D!
Now with Replays, Network mode and a Discord bot!
Full Folia support
Physics-based anti-cheat for Spigot/Paper/Folia 1.20.6 to 26.x
Java, Bedrock (Geyser) and older clients through ViaVersion
Requires PacketEvents 2.14.0+
Counter simulates vanilla physics every tick and flags what doesn't add up. Instead of guessing with fixed limits, it works out where a player should be and compares that to where they actually are, so lag and odd blocks don't throw it off as easily. It's still being worked on and I'm updating it as I go, so if you hit a false flag or find something it misses please let me know!

- 100+ checks across movement, combat and player behaviour
- Prediction engine - simulates vanilla physics each tick (friction, gravity, water/lava currents, ladders, ice, soul sand, levitation, slow falling, depth strider, swift sneak and more), matched to each player's own game version
- Vehicle and elytra prediction - real physics for boats, horses, camels, pigs and striders, plus elytra gliding and firework boosts
- Combat analysis - reach, killaura (legit-aim and multiaura included), aim patterns, bow aimbot, autoclicker, velocity/anti-KB (explosions and wind charges too), hitbox, backtrack, packet crits, mace
- Movement coverage - fly, speed, timer, jesus, phase, step, elytra fly, boat fly, ground spoof, blink, scaffold-walk, safe walk
- Player checks - fastbreak/nuker (full vanilla dig-speed math with enchants and effects), scaffold, tower, xray heuristics, inventory, fast use and fast eating, auto pot, auto soup, auto fish, crystal/anchor/totem, bots and crash packets
- Replays - watch what a player did with an NPC wearing their skin, gear and held items, with the blocks they placed and broke, a live stats screen and flag markers. Saves on punish or on alerts, with review marks, export/import and sharing between servers
- Browser replays - new, link your server to the web panel and watch clips in 3D from any browser, with the world around the player, every flag on the timeline, first person, third person and free cameras, and hitbox, reach and line of sight overlays. No Discord or game client needed. Punish, alert and manual clips all show on one Clips page
- Web panel - flags, players, punishments and appeals from a browser at counterac.com/panel. Add your team as admins or viewers, link with
/counter panel link
- Machine learning - optional aim and click models that score how human a player looks in fights, plus an alert when a player's own aim or clicks suddenly change. Runs on your server, off by default
- Network mode - links every server on a BungeeCord or Velocity network through Redis or plugin messaging. Staff see alerts from every server, punishments show everywhere and violations follow players when they switch servers
- Discord bot - alert cards in a Discord channel with buttons to ban, kick, freeze, save a replay or dismiss. Only the staff roles you allow can press them
- Client world engine - tracks blocks the way each player's screen sees them, so fake blocks from other plugins and ghost blocks don't cause false flags. Ghost blocks fix themselves
- Bedrock support - Geyser/Floodgate players get checked too (linked accounts included) with fly, jump and slime checks built for Bedrock movement, touch-unfriendly checks skip them automatically
- ViaVersion support - older clients are checked with their own version's movement, and packet hacks on 26.3 get flagged instead of kicked
- Client info - staff see what client and version players join with (Forge, Fabric, Lunar, Badlion, Bedrock and more) plus self-reported mods and Bedrock device/input. Catches clients faking their brand
- World Downloader blocking - detects the mod, disables it remotely and flags the player
- Smart enforcement - safe setbacks with confirmed snapshots, violation ladder, configurable punishments, ban waves, optional double filtering for FP-sensitive servers
- Watch mode - new detections only alert at first, then you let them punish once you trust them
- Presets - lenient, balanced or strict in one setting
- World and region rules - turn checks off or quiet them per world or per WorldGuard region
- Auto-tune - loosen-only tuning engine driven by live stats, plus scheduled violation auto-clear
- Staff tools - freeze, spectate, a player inspect menu, a suspects list and recent flags, one click away from any alert
- Flag reasons - every alert says in plain words why a player flagged
- In-game GUI - alerts, per-check toggles, settings, tuning, suspects and replays from one menu
- Discord webhooks, persistent flag storage (SQLite or MySQL/MariaDB), lag/TPS/ping compensation throughout
- Folia support - runs natively on Folia, lag compensation follows each player's own region
- PlaceholderAPI - VL, ping, CPS, client, Bedrock device, frozen state and more
- Update checker - tells admins when a new version is out
- Support dump -
/counter dump writes one file with your setup and flags by game version, easy to send when asking for help
- Developer API - CounterApi plus cancellable flag, punish and setback events

/counter (aliases: /c, /anticheat) - open the main menu
/counter alerts - toggle alerts
/counter verbose - toggle detailed alerts
/counter check <name> - toggle a check
/counter info <check> - check details
/counter status [player] - server/player info
/counter vl <player> - show all violation levels
/counter top - top online violators
/counter history <player> - stored flag history
/counter client <player> - client, version and mods
/counter inspect <player> - player menu with quick actions
/counter freeze <player> - freeze or unfreeze a player
/counter spectate <player> - watch a player in spectator
/counter back - stop spectating and go back
/counter suspects - online players sorted by VL
/counter recent [page] - latest flags server-wide
/counter replay [id|list|save|stop|delete|export|import|share|fetch] - watch, save and share replays
/counter exempt <player> - temporarily exempt a player
/counter world / /counter region - per-world and per-region check rules
/counter banwave - queued bans and when the next wave runs
/counter network - servers on the network and link status
/counter panel [link <code>|unlink] - link this server to the web panel
/counter discord - Discord bot status
/counter logs [page] - view recent flag logs
/counter debug [player] - toggle debug mode
/counter tune [apply] - auto-tune checks from flag data
/counter shadow - compare the new prediction model
/counter version - version, server info and update status
/counter dump - write a support file
/counter reset <player> - reset player data
/counter clear - wipe all violation data
/counter reload - reload config

counter.admin - full access (alerts, gui, debug, kick, ban)
counter.alerts - receive cheat alerts
counter.gui - access the GUI
counter.staff - freeze, spectate, inspect and replays
counter.freeze / counter.spectate / counter.inspect - each staff tool on its own
counter.replay - save, list, watch and share replays
counter.replay.delete - delete saved replays
counter.network - see network status
counter.debug - use debug mode
counter.use - use /counter
counter.exempt / counter.bypass - exclude a player from checks (default false)
counter.freeze.bypass - can't be frozen (default false)
Developer API
Add Counter to softdepend in your plugin.yml and put the jar on your classpath as provided / compileOnly. Everything lives in C.counter.api.
CounterApi api = CounterApi.get();
if (api != null) {
double total = api.vl(player);
api.exempt(player, "VelocityA", 2000);
}
CounterApi
vl(player), vl(player, check), vls(player) - violation levels
resetVl(player), resetVl(player, check) - clear them
exempt(player, ms), exempt(player, check, ms) - skip checks for a while, handy for custom knockback or abilities
bedrock, client, ping, frozen - player info
checks(), enabled(check) - check names and whether they are on
Events (all cancellable)
- FlagEvent - before a flag adds VL, with the check, reason, confidence and VL
- PunishEvent - before a kick, ban or punish command runs
- SetbackEvent - before a player gets set back
@EventHandler
public void onFlag(FlagEvent e) {
if (e.getCheck().equals("SpeedA") && dashing(e.getPlayer())) e.setCancelled(true);
}
FlagEvent fires a lot, so keep listeners quick.
评论 0
登录后参与评分
还没有评论,来抢沙发吧