Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_8SHJhAmk.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
64958945525551 - 墨喵 Minecraft 资源

64958945525551

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/paper-anticheat
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: bukkit paper

标签: game-mechanics management utility

资源介绍

AntiCheat — Bukkit 1.21.11

A lightweight, production-ready anti-cheat plugin focused on fly detection with automatic 30-day bans.


Installation

  1. Drop AntiCheat-1.0.0.jar into your server's plugins/ folder.
  2. Start/restart the server.
  3. Edit plugins/AntiCheat/config.yml to tune thresholds.
  4. Run /anticheat reload to apply changes without a restart.

How Fly Detection Works

Check Trigger
Fly[UpVelocity] Player moves upward faster than vanilla allows
Fly[Hover] Player stays airborne with no Y-movement for 20+ ticks
Fly[UpInAir] Player moves upward while already airborne
Fly[ToggleFlight] Client enables flight without server permission

When VL reaches the threshold (default 10), the player is:

  • Kicked immediately
  • Banned for 30 days via Bukkit's ban list
  • Ban screen reads: "Using a modified client"
  • All online players see a broadcast

False-Positive Mitigation

Grace periods are automatically applied for:

  • Jumping (6 ticks)
  • Taking damage / knockback (10 ticks)
  • Teleporting (20 ticks)
  • Joining the server (60 ticks = 3 seconds)
  • Levitation potion
  • Elytra gliding
  • Being in or near liquid
  • Being on climbable blocks (ladders, vines, scaffolding, etc.)
  • Creative / Spectator mode
  • Server-granted flight (/fly, etc.)

VL also decays over time (every 40 ticks by default) so legitimate players don't accumulate false flags.


Commands

Command Description Permission
/anticheat reload Reload config anticheat.admin
/anticheat status Show plugin info anticheat.admin
/anticheat vl <player> Check a player's VL anticheat.admin
/anticheat whitelist add/remove <player> Manage bypass anticheat.admin

Permissions

Permission Default Description
anticheat.admin OP Access to all commands
anticheat.bypass false Exempt from all checks

Configuration

See config.yml for full options. Key values:

settings:
  fly-vl-threshold: 10       # VL points before ban
  vl-decay-ticks: 40         # How often VL decreases
  max-upward-velocity: 0.42  # Max allowed Y velocity per tick

ban:
  duration-days: 30
  reason: "..."              # Supports & color codes and \n newlines

Tuning Tips

  • Too many false positives? Increase fly-vl-threshold to 15–20 and increase grace tick values.
  • Too lenient? Lower fly-vl-threshold to 6–8.
  • Enable debug mode (debug.enabled: true) to watch VL accumulate in real time.
  • Grant anticheat.bypass to trusted staff via your permissions plugin (LuckPerms, etc.).
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Upgradeable Utilities

价格:0 墨喵币
下载量:0

查看详情
C0de's Dalek Mod PBR

价格:0 墨喵币
下载量:0

查看详情
Create Aeronautics: Automated Logistics

价格:0 墨喵币
下载量:0

查看详情
More Rules

价格:0 墨喵币
下载量:0

查看详情