DuckyAntiKomar

DuckyAntiKomar 是一款专注于检测和防止非法战斗行为(与 elytra 飞行相关)的反作弊插件。

资源图片
> ⚠️ **警告!DuckyAntiKomar的支持已结束。** > 请**尽快迁移到[DuckyAntiCheat](https://modrinth.com/plugin/duckyac)**,这是一个更先进且得到积极支持的反作弊系统。 > DuckyAntiKomar将不再接收更新或修复,其检测可能在未来的Minecraft版本中不可靠。 # 🛡️ DuckyAntiKomar - 高级Minecraft反作弊 **DuckyAntiKomar**是一个强大的反作弊插件,专注于检测和防止不公平的Elytra相关的漏洞,包括烟花滥用、可疑速度和非法暴击。 兼容 **Minecraft 1.16.5 – 1.21+**。 --- ## 🚀 特性 ### 🎆 烟花命中延迟 (`KomarA`) - 阻止玩家在Elytra飞行期间使用烟花后过快进行攻击。 - 可自定义延迟、惩罚和警报系统。 ### 🚧 Elytra速度检查 (`KomarB`) — *已取消* - 根据俯仰角和速度标记飞行速度超过允许速度的玩家。 - 防止通过作弊客户端或烟花垃圾信息进行不自然的加速。 ### 🗡️ Elytra暴击 (`KomarC`) - 检测玩家在Elytra飞行期间在短时间内执行多次暴击。 - 帮助防止使用作弊客户端的暴击滥用。 ### ⚠️ 违规警报 - 在**聊天**和**控制台**中提供实时的管理员通知。 - 在可配置的超时时间(默认为5分钟)后自动清除警报。 - Discord Webhook支持用于远程日志记录。 ### 🪝 Discord Webhook集成 - 将警报、动画和惩罚日志发送到Discord。 - 完全可定制的内容和格式。 --- ## ⚙️ 配置 所有设置都可以完全自定义: - 启用/禁用单个检查 - 定义阈值和时间范围 - 选择惩罚命令和视觉效果 - 翻译所有消息 - 与Discord集成 📁 示例:config.yml ``` # =============================== # AntiKomar - Config # =============================== # 时间(以秒为单位),在给定的玩家警报重置之前 alert-timeout: 300 # =============================== # KomarA # =============================== KomarA-Enable: true # 是否开启该检查? Max-Firework-Delay: 200 # Max-Firework-Delay指定在飞行Elytra和击中另一个玩家之间经过的最长时间(以毫秒为单位)。 Max-KomarA-Alerts: 5 # 违规次数上限,超过后将调用下面的命令 KomarA-Command: "ban %player% AntiKomarSystem [KomarA]" KomarA-Animation-Enable: false # 是否开启动画? KomarA-Animation-Type: NONE # 动画:EXPLOSION | SCARY | THUNDERBOLT | GUARDIANS | LAVA | RANDOM | NONE KomarA-Debug-Mode: false # 警告!这仅供开发者使用!这会向您的控制台发送垃圾信息,并可能对服务器性能产生负面影响! # =============================== # KomarB [DISABLED! WORK IN PROGRESS] # =============================== KomarB-Enable: false # 此检查需要重写,并且从代码中禁用 [无法启用它] Max-KomarB-Alerts: 999 KomarB-Command: "ban %player% AntiKomarSystem [KomarB]" KomarB-Animation-Enable: false KomarB-Animation-Type: NONE KomarB-Debug-Mode: false # 警告!这仅供开发者使用!这会向您的控制台发送垃圾信息,并可能对服务器性能产生负面影响! # =============================== # KomarC # =============================== KomarC-Enable: true KomarC-CriticalHitsRequired: 2 KomarC-Timeframe: 500 # 暴击必须发生的时限(以毫秒为单位) Max-KomarC-Alerts: 5 KomarC-Command: "ban %player% AntiKomarSystem [KomarC]" KomarC-Animation-Enable: false KomarC-Animation-Type: NONE KomarC-Debug-Mode: false # 警告!这仅供开发者使用!这会向您的控制台发送垃圾信息,并可能对服务器性能产生负面影响! # =============================== # Discord WebHook # =============================== discord: enabled: false discord-webhook-url: "https://discord.com/api/webhooks/..." username: "DuckyAntiKomar" avatar-url: "https://i.imgur.com/wPfoYdI.png" violation-message-template: "**AntiKomarSystem**\nPlayer: **%player%**\nCheck: **%check%**\nViolation: **%vl%**" animation-play-message-template: "**Animation Played**\nPlayer: **%player%**\nAnimation: **%animation%**" punishment-message-template: "**Punishment Executed**\nPlayer: **%player%**\nCommand: `%command%`" # =============================== # Messages # =============================== alert-message: '&6&lANTIKOMAR &8»&f Player &7»&f %player% &7»&6 %check% &7(&c%vl%VL&7)' no-permission: '&6&lANTIKOMAR &8» &c您没有权限!' config-reloaded: '&6&lANTIKOMAR &8» &a配置已重新加载。' plugin-reloaded: '&6&lANTIKOMAR &8» &a插件已成功重新加载。' incorrect-usage: '&6&lANTIKOMAR &8» &c用法: /antikomar reload' update-available: "&6&lANTIKOMAR &8» &e有一个新版本可用: &c%version%" update-download: "&6&lANTIKOMAR &8» &e下载: &a%url%" update-check-failed: "&6&lANTIKOMAR &8» &c检查更新失败。" # =============================== # Permissions # =============================== permissions: alerts: "antikomar.alerts" bypass: "antikomar.bypass" reload: "anitkomar.reload" # 请注意,权限部分仅供参考。 # 修改此部分不会更改插件中的权限! ```