HuskyGuard
适用于 Purpur / Paper 26.2 的反作弊与管理工具箱,由 Husky Forge 制作。它能检测作弊客户端、移动与战斗作弊、非法物品以及破坏性漏洞利用,并为工作人员提供实时物品栏检查器、完整的聊天与命令日志记录,以及一些实用的建造工具。
默认情况下它仅进行报告而不实施惩罚。当希望它也重置作弊者并取消他们的攻击时,请在配置文件中设置 alert-only: false。
亮点
- 客户端检测:内置包含 170+ 种作弊客户端的列表,玩家加入时即被标记为 HACK。
- 战斗检测(包括距离、角度、杀戮光环、一锤击杀等),能够理解长矛、属性交换、鞘翅和珍珠锤子机制,从而避免友好对战产生大量警报。
- 移动检测(包括飞行、加速、无坠落、耶稣步等),允许使用风之电荷、鞘翅和风爆发射。
- 非法物品还原:针对错误的附魔、自定义属性、超大堆叠、名称、描述文本及书籍进行还原。
/inspect:一个可点击的图形界面,用于查看并从玩家的物品栏或末影箱中取出物品。
- 完整聊天日志:记录命令、聊天消息、告示牌和书籍内容。
/ore:在你旁边生成任意矿石的立方体,即使处于旁观模式也可操作。
命令
| 命令 | 功能说明 | 权限 |
/inspect <player> [ender] (别名 /check) |
打开一个图形界面,镜像显示玩家真实的物品栏、盔甲和副手物品。Inventory 和 Ender Chest 按钮可切换预览视图。点击物品可拾取,按住 Shift 点击可将物品移入你自己的物品栏或放入物品。每次打开界面及每次移动物品都会被记录。 |
huskyguard.check |
/ore <ore> <right|left|front|back> [size] |
在你面朝方向的旁边放置一个实心的矿石立方体,因此从旁观模式也能生效。输入矿石名称时使用空格或下划线分隔,例如 /ore deepslate diamond right 或 /ore ancient debris front 5。默认大小为 3(最大为 9)。它永远不会替换箱子、熔炉或基岩。 |
huskyguard.ore |
/ore undo |
恢复你上次生成的矿石立方体中的方块。 |
huskyguard.ore |
/findplayer <player> |
向控制台和仅接收警报的工作人员报告玩家的精确坐标。目标玩家不会察觉此操作。 |
huskyguard.findplayer |
/hg reload |
重新加载配置文件。 |
huskyguard.admin |
/hg client <player> |
显示玩家加入时使用的客户端及其品牌字符串。 |
huskyguard.admin |
/hg vl <player> |
显示玩家在各项检测中的当前违规等级。 |
huskyguard.admin |
/hg cmdlog <player or text> [yyyy-MM-dd] |
搜索当天的聊天和命令日志,并显示最后 20 条匹配结果。 |
huskyguard.admin |
/hg trouser |
列出当前激活的漏洞利用计数器。 |
huskyguard.admin |
/hg cleanchunk |
清理你所处区块内所有容器中的非法物品。 |
huskyguard.admin |
/hg kick <player> [reason] |
踢出玩家并通知工作人员。 |
huskyguard.kick |
/hg ban <player> [reason]
/hg unban <player> |
封禁或赦免玩家(无论在线或离线),并将操作记录到 punishments.log 中。 |
huskyguard.ban |
/hg 也支持作为 /huskyguard 和 /hguard 使用。
客户端检测
- 在玩家加入后读取其客户端品牌,并与
config.yml 中的列表进行匹配。
- 每个客户端会被标记为 HACK、CLIENT、MODDED、VANILLA 或 UNKNOWN,你可以选择哪些类型需要提醒工作人员。
- 自带 170+ 种作弊客户端 已列入名单,包括 Meteor、Wurst、Aristois、LiquidBounce、RusherHack、ThunderHack、Future、Impact、BleachHack、Sigma、Vape 等更多客户端。名称匹配时会忽略空格、连字符和点号。
- 即使某个作弊客户端伪装成普通的 "fabric" 或 "vanilla" 品牌,只要它在注册频道时使用了自己的名称,仍能被捕获。
- 可在
config.yml 中添加或编辑客户端;优先匹配第一个符合条件的条目。
战斗检测
- 距离、角度、穿墙命中、多目标命中以及点击速度(CPS)。
- 一击必杀重锤:检测异常高伤害、无坠落摔击,以及利用传送数据包漏洞(如 MaceKill)伪造的坠落。
- 专为友方对战设计:
- 长矛拥有独立的攻击距离和伤害上限,允许突进和冲锋,且一次攻击可穿透多个目标。
- 属性交换:你刚刚切换出去的物品仍会被计入该次攻击判定。
- 重锤伤害遵循你的真实坠落高度,包括密度加成,因此巨大的合法摔击不会被标记。
- 鞘翅重锤与珍珠捕捉:在鞘翅、末影珍珠或风弹发射后的一小段时间内,对伪造坠落的检查会放宽。
- 所有这些都可以通过配置文件中的
combat: 部分调整限制和时间间隔。
移动检测
- 飞行(悬停与上升)、速度、无坠落和耶稣步,并支持可选的惩罚措施。
- 能够识别风弹、风爆、鞘翅、激流、水流及其他合法加速手段。
漏洞与破坏防护
- 传送数据包漏洞:TPAura、无限距离、MaceKill、投射物传送、Teleport、TPFly 以及长矛闪烁。
- 核弹与即时挖掘、船体穿墙、脚手架与快速放置,以及基于统计学的 X 光透视检测。
- 点击命令书与告示牌(ForceOPBook 和 ForceOPSign)以及书名溢出复制漏洞。
- 危险 OP 命令黑名单、新 IP 登录 OP 时的警报,以及禁止从创造模式菜单中取出命令方块物品。
非法物品还原
- 将物品恢复至正常状态:超上限或错误目标的附魔、自定义属性修饰符(常见的“一击必杀”技巧)、超大堆叠数量,以及过长的名称、描述、书籍或数据字符串。
- 容器一旦打开即刻清理,且可通过
/hg cleanchunk 清理整个区块。
- 可通过
items.revert: false 以仅报告模式运行。
聊天与命令日志
- 将 玩家命令、公共聊天消息、告示牌文本和书籍编辑,以及控制台命令,按天写入
plugins/HuskyGuard/command-logs/ 目录下的单独文件中。
- 记录玩家名称和 UUID,并标记被其他插件取消的消息。
- 写入操作在后台线程进行,因此绝不会导致服务器卡顿。
- 仅由客户端模组处理的命令永远不会到达服务器,因此无法被记录。如果客户端将其作为普通聊天发送,则会被记录。
- 在游戏中使用
/hg cmdlog 进行搜索。聊天、告示牌和书籍可在配置中分别关闭。
警报与日志
- 警报发送至控制台及拥有
huskyguard.alerts 权限的所有玩家。
- 违规等级按检测项累积并缓慢衰减,警报在你设定的等级触发。
- 插件文件夹中的日志文件:
violations.log、clients.log、check.log、ore.log、findplayer.log 和 punishments.log。
旁观者标签页修复
- 使玩家在标签列表中的外观一致,无论其处于何种游戏模式,从而无人能分辨谁处于旁观模式。
- 最佳方案:安装 ProtocolLib,它将重写游戏模式数据包,使所有人的字体完全相同。
- 无 ProtocolLib:提供一个可选的回退方案,移除名称中的斜体格式。
权限
| 权限 | 默认值 | 描述 |
huskyguard.admin | op | 使用 /hg 管理子命令 |
huskyguard.alerts | op | 接收作弊与客户端警报 |
huskyguard.check | op | 使用 /inspect(并可取走物品) |
huskyguard.ore | op | 使用 /ore |
huskyguard.findplayer | op | 使用 /findplayer |
huskyguard.kick | op | 使用 /hg kick |
huskyguard.ban | op | 使用 /hg ban 和 /hg unban |
huskyguard.bypass | nobody | 跳过所有检测。管理员默认不豁免。 |
安装
- 使用 Purpur 或 Paper 26.2 服务器(Java 25)。
- 将
HuskyGuard-1.0.0.jar 放入 plugins/ 目录并启动服务器。
- 编辑
plugins/HuskyGuard/config.yml 并运行 /hg reload。
- 可选:安装 ProtocolLib 以实现旁观者标签页修复。
配置
所有内容均在 config.yml 中:在 checks: 下开启或关闭任意检测,在 combat: 下调整攻击距离、伤害和长矛限制,在 ore: 下设置 /ore 的大小与间距,并管理客户端列表与聊天日志选项。
支持与社区
? 使用上方显示的代码,通过 NeyHost 享受 30% 折扣!
HuskyGuard
An anti-cheat and admin toolkit for Purpur / Paper 26.2 by Husky Forge. It spots cheat clients, movement and combat cheats, illegal items and griefing exploits, and gives staff a live inventory inspector, full chat and command logging, and a few handy build tools.
It reports by default and does not punish. Set alert-only: false in the config when you want it to also set cheaters back and cancel their hits.
Highlights
- Client detection with a built-in list of 170+ hack clients, flagged as HACK the moment a player joins.
- Combat checks (reach, angle, kill aura, one-tap mace) that understand spears, attribute swapping, elytra and pearl macing, so friendly fights don't spam alerts.
- Movement checks (fly, speed, no-fall, jesus) that allow wind charges, elytra and wind-burst launches.
- Illegal item reverting for bad enchantments, custom attributes, oversized stacks, names, lore and books.
/inspect, a clickable GUI to look through, and take items from, a player's inventory or ender chest.
- Full chat log of commands, chat messages, signs and books.
/ore to drop a cube of any ore next to you, even from spectator mode.
Commands
| Command | What it does | Permission |
/inspect <player> [ender] (alias /check) |
Opens a GUI that mirrors the player's real inventory, armor and off-hand. The Inventory and Ender Chest buttons switch the preview. Click an item to pick it up, shift-click to move it into your own inventory, or put items in. Every open and every item moved is logged. |
huskyguard.check |
/ore <ore> <right|left|front|back> [size] |
Places a solid cube of an ore next to you, relative to where you are facing, so it works from spectator mode. Type the ore with spaces or underscores, for example /ore deepslate diamond right or /ore ancient debris front 5. The default size is 3 (up to 9). It never replaces chests, furnaces or bedrock. |
huskyguard.ore |
/ore undo |
Puts back the blocks from your last cube. |
huskyguard.ore |
/findplayer <player> |
Reports a player's exact coordinates to the console and to staff with alerts only. The target never sees it. |
huskyguard.findplayer |
/hg reload |
Reloads the config. |
huskyguard.admin |
/hg client <player> |
Shows which client a player joined with and its brand string. |
huskyguard.admin |
/hg vl <player> |
Shows a player's current violation levels per check. |
huskyguard.admin |
/hg cmdlog <player or text> [yyyy-MM-dd] |
Searches the day's chat and command log and shows the last 20 matches. |
huskyguard.admin |
/hg trouser |
Lists the exploit counters that are active. |
huskyguard.admin |
/hg cleanchunk |
Cleans illegal items out of every container in the chunk you stand in. |
huskyguard.admin |
/hg kick <player> [reason] |
Kicks a player and tells staff. |
huskyguard.kick |
/hg ban <player> [reason]
/hg unban <player> |
Bans or pardons a player, online or offline, and logs it to punishments.log. |
huskyguard.ban |
/hg also works as /huskyguard and /hguard.
Client detection
- Reads each player's client brand a moment after they join and matches it against the list in
config.yml.
- Each client is tagged HACK, CLIENT, MODDED, VANILLA or UNKNOWN, and you choose which types alert staff.
- Ships with 170+ hack clients already on the list, including Meteor, Wurst, Aristois, LiquidBounce, RusherHack, ThunderHack, Future, Impact, BleachHack, Sigma, Vape and many more. Names match with spaces, dashes and dots ignored.
- A hack client that hides behind a plain "fabric" or "vanilla" brand can still be caught when it registers a channel under its own name.
- Add or edit clients in
config.yml; the first match wins.
Combat checks
- Reach, angle, hits through walls, multi-target hits and click speed (CPS).
- One-tap mace: catches absurd damage, a smash with no fall, and faked falls from teleport-packet exploits such as MaceKill.
- Built for friendly fights:
- Spear has its own reach and damage limits, lunge and charge are allowed, and one hit can pass through several targets.
- Attribute swapping: items you just swapped away from still count for that hit.
- Mace damage follows your real fall height, including Density, so a huge legit smash isn't flagged.
- Elytra macing and pearl catching: the fake-fall check is relaxed for a short time after elytra, an ender pearl or a wind-charge launch.
- All of these limits and timings are adjustable under
combat: in the config.
Movement checks
- Fly (hover and ascend), speed, no-fall and jesus, with optional setbacks.
- Aware of wind charges, wind burst, elytra, riptide, water and other legit boosts.
Exploit and grief protection
- Teleport-packet exploits: TPAura, InfiniteReach, MaceKill, ProjectileTeleport, Teleport, TPFly and spear blink.
- Nuker and insta-mine, boat noclip, scaffold and fast placing, and statistical X-ray detection.
- Click-command books and signs (ForceOPBook and ForceOPSign) and book title overflow dupes.
- A watch list of dangerous OP commands, an alert when an OP joins from a new IP, and a block on command-block items taken from the creative menu.
Illegal item reverting
- Puts items back to normal: over-max or wrong-target enchantments, custom attribute modifiers (the usual one-tap trick), oversized stacks, and over-long names, lore, books or data strings.
- Cleans containers the moment they are opened, and
/hg cleanchunk cleans a whole chunk.
- Can run in report-only mode with
items.revert: false.
Chat and command log
- Writes player commands, public chat messages, sign text and book edits, plus console commands, to one file per day in
plugins/HuskyGuard/command-logs/.
- Records the player's name and UUID, and marks messages that another plugin cancelled.
- Writing happens on a background thread, so it never lags the server.
- Commands that only a client-side mod handles never reach the server, so they can't be logged. If the client sends them as plain chat they are.
- Search it in game with
/hg cmdlog. Chat, signs and books can each be switched off in the config.
Alerts and logs
- Alerts go to the console and to every player with
huskyguard.alerts.
- Violation levels build up per check and slowly decay, and alerts start at a level you choose.
- Log files in the plugin folder:
violations.log, clients.log, check.log, ore.log, findplayer.log and punishments.log.
Spectator tab fix
- Makes players look the same in the tab list no matter what game mode they are in, so nobody can tell who is in spectator.
- Best: install ProtocolLib and it rewrites the game-mode packet, so the font is identical for everyone.
- No ProtocolLib: an optional fallback removes the italics from the name.
Permissions
| Permission | Default | Description |
huskyguard.admin | op | Use /hg admin subcommands |
huskyguard.alerts | op | Receive cheat and client alerts |
huskyguard.check | op | Use /inspect (and take items) |
huskyguard.ore | op | Use /ore |
huskyguard.findplayer | op | Use /findplayer |
huskyguard.kick | op | Use /hg kick |
huskyguard.ban | op | Use /hg ban and /hg unban |
huskyguard.bypass | nobody | Skip all checks. Ops are not exempt by default. |
Installation
- Use a Purpur or Paper 26.2 server (Java 25).
- Drop
HuskyGuard-1.0.0.jar into plugins/ and start the server.
- Edit
plugins/HuskyGuard/config.yml and run /hg reload.
- Optional: install ProtocolLib for the spectator tab fix.
Configuration
Everything is in config.yml: switch any check on or off under checks:, tune reach, damage and spear limits under combat:, set the /ore size and gap under ore:, and manage the client list and the chat log options.
Support and community
- Discord:
- Support the project (PayPal):
? Get 30% off with NeyHost using the code shown above!
评论 0
登录后参与评分
还没有评论,来抢沙发吧