ICCNEX AntiCheat
ICCNEX AntiCheat 是一款轻量级、可配置的 Minecraft 服务器反作弊插件,旨在为服务器管理员提供一种易于使用的解决方案,用于检测常见的不公平游戏行为,同时重点关注稳定性、性能和误报防护。
该插件会监控玩家在多个游戏领域的行为,包括移动和战斗。它可以检测到与速度、飞行、NoFall(免摔落伤害)、异常步法移动、攻击距离、自动点击、KillAura 风格行为以及暴击异常相关的可疑行为。检测基于多种移动和战斗信号,而不是依赖单一事件,从而有助于减少由正常游戏玩法引起的意外违规。
功能
移动检测
ICCNEX AntiCheat 包含多项专注于移动的检查项,旨在识别异常的玩家移动:
- 速度检测
- 飞行检测
- NoFall 检测
- 步法检测
- 移动异常检测
- 地面与空中状态分析
- 特殊移动豁免
- 传送保护
- 加入保护
移动检查项故意设计得较为保守,并考虑了游泳、攀爬、滑翔、载具、创造模式以及其他合法移动机制等情况。
战斗检测
战斗系统会监控玩家在战斗期间的攻击和移动,以识别可疑行为。
支持的检查项包括:
- 攻击距离检测
- 自动点击器检测
- KillAura 风格检测
- 暴击检测
- 攻击时机分析
- 玩家视角旋转与目标方向分析
- 基于延迟的战斗宽容度
插件不会在出现单次异常事件后立即惩罚玩家,而是通过违规等级(VL)系统累积违规行为。
违规等级系统
每个检查项都会为每位玩家维护其独立的违规等级。
例如:
[ICAC] Player failed Speed
VL=3.00
重复的违规行为会增加玩家的 VL。当达到配置的惩罚阈值时,配置的惩罚系统将采取行动。
当可疑行为停止时,违规等级也会随时间衰减,这使得偶尔出现的合法异常能够自然消失,而不会永久影响玩家的记录。
误报防护
ICCNEX AntiCheat 包含多项旨在减少误报的保护措施。
插件会考虑以下因素:
- 玩家延迟
- 服务器 TPS
- 最近的传送
- 加入宽限期
- 游泳
- 攀爬
- 滑翔
- 载具
- 创造模式
- 玩家移动状态
- 攻击时机
当服务器性能变差或玩家延迟极高时,某些自动检测可以放宽或暂时暂停。
这有助于防止正常的卡顿相关行为被当作作弊处理。
卡顿补偿
服务器性能和网络延迟会显著影响反作弊检测。
因此,ICCNEX AntiCheat 使用可配置的 TPS 和延迟阈值。服务器可以配置何时检查项应变得更加宽容,以及何时自动移动惩罚应暂时停止。
示例配置:
lag-compensation:
enabled: true
no-punish-below-tps: 15.0
relaxed-below-tps: 18.0
no-punish-above-ping: 500
relaxed-ping: 200
这使得服务器管理员能够在服务器经历临时卡顿的情况下运行插件,而无需手动禁用反作弊。
本地 SQLite 数据库
ICCNEX AntiCheat 不需要单独的 MySQL 或 MariaDB 服务器。
插件会自动创建本地 SQLite 数据库:
plugins/ICCNEXAntiCheat/db/iccnex.db
数据库存储的信息包括:
- 玩家违规记录
- 违规等级
- 惩罚记录
- 惩罚原因
- 工作人员信息
- 检测历史
- 客户端检测记录
数据库会在插件启动时自动初始化。
自动配置
插件的设计使得新的服务器管理员在安装时无需手动创建每个配置文件。
首次启动时,ICCNEX AntiCheat 会自动创建其配置文件和数据库结构。
默认配置提供了保守的设置,旨在作为典型 Paper 服务器的起点。
随后,服务器管理员可以根据其服务器的游戏玩法风格自定义检查项和阈值。
惩罚系统
当玩家达到配置的违规阈值时,ICCNEX AntiCheat 可以自动记录惩罚并将玩家从服务器移除。
还提供了手动惩罚命令。
示例:
/icac ban <player> [reason]
可以使用以下命令取消封禁:
/icac unban <player>
管理命令
插件提供了一个管理命令:
/icac reload
/icac status
/icac vl <player> <check>
/icac ban <player> [reason]
/icac unban <player>
/icac history <player> [limit]
/icac debug
这些命令允许服务器管理员重新加载配置、检查插件状态、查看违规等级、管理惩罚、审查惩罚历史以及检查调试信息。
权限
插件为管理、警报和绕过功能提供了单独的权限:
icac.admin
icac.alerts
icac.bypass
因此,管理员可以控制哪些工作人员能够管理反作弊系统,以及哪些工作人员会接收检测警报。
ProtocolLib 支持
ICCNEX AntiCheat 旨在与 ProtocolLib 配合使用,在需要时提供数据包级别的功能。
数据包级别的功能可以提供通过普通 Bukkit 事件无法获得的额外信息。插件架构将这些功能与核心数据库和违规系统分离开来,以便在数据包级别功能不可用时,反作弊系统的其余部分仍能继续运行。
专为服务器性能设计
该插件围绕轻量级事件处理和本地 SQLite 存储进行设计,而非依赖外部数据库服务。
检测数据被高效存储,而违规衰减和玩家状态跟踪则在正常运行期间以内存方式处理。
目标是为主机提供实用的反作弊基础框架,使其能够根据不同 Minecraft 服务器环境进行配置。
入门指南
将插件 JAR 文件安装到服务器的:
plugins/
启动服务器,ICCNEX AntiCheat 将自动创建其配置文件和数据库。
安装完成后,管理员可以使用以下命令:
/icac status
检查插件和数据库的状态。
对于检测警报,工作人员应具备以下权限:
icac.alerts
用于管理操作:
icac.admin
ICCNEX AntiCheat 旨在提供一个可配置的检测和惩罚框架,同时允许主机根据其特定服务器环境调整阈值和检查项。
ICCNEX AntiCheat
ICCNEX AntiCheat is a lightweight, configurable Minecraft server anti-cheat designed to provide server owners with an accessible solution for detecting common forms of unfair gameplay while maintaining a strong focus on stability, performance, and false-positive protection.
The plugin monitors player behaviour across multiple areas of gameplay, including movement and combat. It can detect suspicious behaviour associated with speed, flight, NoFall, abnormal step movement, reach, autoclicking, KillAura-style behaviour, and critical-hit anomalies. Detection is based on multiple movement and combat signals rather than relying on a single event, helping reduce accidental violations caused by normal gameplay.
Features
Movement Detection
ICCNEX AntiCheat includes several movement-oriented checks designed to identify abnormal player movement:
- Speed detection
- Fly detection
- NoFall detection
- Step detection
- Movement anomaly detection
- Ground and air-state analysis
- Special movement exemptions
- Teleport protection
- Join protection
The movement checks are intentionally conservative and account for situations such as swimming, climbing, gliding, vehicles, Creative mode, and other legitimate movement mechanics.
Combat Detection
The combat system monitors player attacks and movement during combat to identify suspicious behaviour.
Supported checks include:
- Reach detection
- AutoClicker detection
- KillAura-style detection
- Criticals detection
- Attack timing analysis
- Player rotation and target-direction analysis
- Ping-based combat tolerance
Rather than immediately punishing a player after a single unusual event, violations are accumulated through a Violation Level (VL) system.
Violation Level System
Every check maintains its own violation level for each player.
For example:
[ICAC] Player failed Speed
VL=3.00
Repeated violations increase the player's VL. When the configured punishment threshold is reached, the configured punishment system can take action.
Violation levels also decay over time when suspicious behaviour stops, allowing occasional legitimate anomalies to naturally disappear instead of permanently affecting a player's record.
False-Positive Protection
ICCNEX AntiCheat includes several protections intended to reduce false positives.
The plugin considers factors such as:
- Player ping
- Server TPS
- Recent teleportation
- Join grace period
- Swimming
- Climbing
- Gliding
- Vehicles
- Creative mode
- Player movement state
- Attack timing
When server performance becomes poor or a player's latency becomes extremely high, certain automatic detections can be relaxed or temporarily suspended.
This helps prevent normal lag-related behaviour from being treated as cheating.
Lag Compensation
Server performance and network latency can significantly affect anti-cheat detection.
ICCNEX AntiCheat therefore uses configurable TPS and ping thresholds. Servers can configure when checks should become more tolerant and when automatic movement punishment should temporarily stop.
Example configuration:
lag-compensation:
enabled: true
no-punish-below-tps: 15.0
relaxed-below-tps: 18.0
no-punish-above-ping: 500
relaxed-ping: 200
This allows server owners to run the plugin without having to manually disable the anti-cheat whenever the server experiences temporary lag.
Local SQLite Database
ICCNEX AntiCheat does not require a separate MySQL or MariaDB server.
The plugin automatically creates a local SQLite database:
plugins/ICCNEXAntiCheat/db/iccnex.db
The database stores information such as:
- Player violations
- Violation levels
- Punishments
- Punishment reasons
- Staff information
- Detection history
- Client detection records
The database is automatically initialized when the plugin starts.
Automatic Configuration
The plugin is designed so that a new server owner can install it without having to manually create every configuration file.
On first startup, ICCNEX AntiCheat automatically creates its configuration and database structure.
The default configuration provides conservative settings intended to work as a starting point for a typical Paper server.
Server owners can then customize the checks and thresholds according to their server's gameplay style.
Punishment System
When a player reaches the configured violation threshold, ICCNEX AntiCheat can automatically record a punishment and remove the player from the server.
Manual punishment commands are also available.
Example:
/icac ban <player> [reason]
Players can be unbanned with:
/icac unban <player>
Administration Commands
The plugin provides an administration command:
/icac reload
/icac status
/icac vl <player> <check>
/icac ban <player> [reason]
/icac unban <player>
/icac history <player> [limit]
/icac debug
These commands allow server administrators to reload configuration, inspect plugin status, view violation levels, manage punishments, review punishment history, and inspect debugging information.
Permissions
The plugin provides separate permissions for administration, alerts, and bypass functionality:
icac.admin
icac.alerts
icac.bypass
Administrators can therefore control which staff members can manage the anti-cheat and which staff members receive detection alerts.
ProtocolLib Support
ICCNEX AntiCheat is designed to work alongside ProtocolLib for packet-level functionality where required.
Protocol-level functionality can provide additional information that is not available through ordinary Bukkit events. The plugin architecture keeps these features separate from the core database and violation system so that the rest of the anti-cheat can continue operating when packet-level functionality is unavailable.
Designed for Server Performance
The plugin is designed around lightweight event processing and local SQLite storage rather than requiring an external database service.
Detection data is stored efficiently, while violation decay and player state tracking are handled in memory during normal operation.
The goal is to provide server owners with a practical anti-cheat foundation that can be configured for different Minecraft server environments.
Getting Started
Install the plugin JAR into your server's:
plugins/
Start the server and ICCNEX AntiCheat will create its configuration and database automatically.
After installation, administrators can use:
/icac status
to check the plugin and database status.
For detection alerts, staff members should have:
icac.alerts
For administration:
icac.admin
ICCNEX AntiCheat is intended to provide a configurable detection and punishment framework while allowing server owners to tune thresholds and checks for their specific server environment.
评论 0
登录后参与评分
还没有评论,来抢沙发吧