Onryo ModCheck
查看你的玩家使用了哪些 Fabric 模组,并执行服务器的模组规则。
Onryo ModCheck 分为两部分,均在本页面中提供:
|
文件 |
放置位置 |
加载器 |
| ?️ 服务端插件 |
ModCheck-0.1.6.jar |
你的服务器,位于 plugins/ 目录 |
Paper / Purpur 26.1.1 – 26.3 |
| ? 客户端模组 |
OnryoModCheck-Client-0.1.6.jar |
每位玩家的游戏中,位于 mods/ 目录 |
Fabric 26.1 – 26.3(需 Fabric API) |
⚠️ 这不是反作弊工具。 模组列表由玩家自己的客户端上报,经过修改的客户端可能会撒谎。ModCheck 是一个面向诚实玩家的社区透明度与规则管理工具,而非针对坚定作弊者的防护手段。
工作原理
- 安装了客户端模组的玩家加入你的服务器。
- 约 2 秒后,插件通过自定义插件通道向客户端请求其模组列表。
- 客户端回复已加载的每个 Fabric 模组的 ID、名称和版本。
- 插件根据你的配置文件检查模组 ID:
- 发现禁止的模组: 根据设定,踢出、封禁或仅记录日志。
- 缺少必需的模组: 报告会被标记。
- 完全没有报告(未安装客户端模组):可选择踢出、封禁或记录日志。
- 工作人员可以在游戏内使用
/modcheck 浏览所有在线玩家的列表。
安装
服务器管理员
- 使用 Java 25 的 Paper 或 Purpur 26.1.1 – 26.3。
- 下载 Paper/Purpur 版本(
ModCheck-0.1.6.jar)放入 plugins/ 目录并重启服务器。
- 编辑
plugins/OnryoModCheck/config.yml,然后运行 /modcheck reload。
- 告知玩家安装客户端模组。只有在他们安装完毕后再开启
enforce-missing-report。
玩家
- 为 Minecraft 26.1 – 26.3 使用 Fabric 配置档,Fabric Loader ≥ 0.19.2。
- 将 Fabric 版本(
OnryoModCheck-Client-0.1.6.jar)和 Fabric API ≥ 0.140.3 放入 .minecraft/mods/。
- 就这样。没有配置文件,且该模组仅在运行了插件的服务器上生效。
功能
- 加入时自动请求模组列表。
- 禁止模组 通过 Fabric 模组 ID 匹配,忽略大小写。操作:
LOG(记录)、KICK(踢出)或 BAN(封禁)。BAN 使用服务器的 /ban 命令,因此封禁插件也有效。
- 缺失报告: 可选地对没有客户端模组的玩家采取行动。
- 必需模组 显示为“缺少必需”并标记报告。
/modcheck list 显示所有在线玩家的状态(干净或被标记);/modcheck <player> 显示完整列表,支持分页。
- Fabric API 模块和其他无关项可以从显示中隐藏。规则仍会检查完整列表。
- 处理大型整合包:客户端会将列表适配到服务器的限制内,并保持模组 ID 在前。
- 轻量级:数据仅保留在内存中,没有数据库,也不写入磁盘。
命令与权限(服务端)
| 命令 |
描述 |
/modcheck · /modcheck status |
存储的报告数量 |
/modcheck list [page] |
在线玩家的报告(干净/被标记) |
/modcheck <player> [page] |
某位玩家的完整模组列表 |
/modcheck reload |
重新加载配置并重新检查存储的报告(不会踢出任何人) |
权限 onryomodcheck.admin(默认:op)涵盖所有子命令。 |
|
配置 (plugins/OnryoModCheck/config.yml)
| 键 |
默认值 |
说明 |
settings.denied-mod-action |
KICK |
LOG / KICK / BAN |
settings.enforce-missing-report |
false |
对未发送报告的玩家采取行动。这包括原版和 Bedrock/Geyser 玩家,因此请先用 LOG 测试。 |
settings.missing-report-delay-seconds |
10 |
最小值为 3 |
settings.missing-report-action |
KICK |
LOG / KICK / BAN |
settings.mods-per-page |
10 |
1 – 20 |
rules.denied-mods |
example-xray-mod-id |
Fabric 模组 ID |
rules.required-mods |
onryo-modcheck-client |
显示并被标记,但单独存在时不会踢人 |
rules.ignored-mods / ignored-prefixes |
Fabric API 模块、java、minecraft… |
仅用于显示过滤 |
messages.* |
|
踢出和封禁消息;%mods% 占位符 |
? 隐私
客户端模组(玩家)
- 发送内容: 你加载的 每个 Fabric 模组的 ID、显示名称和版本。这包括嵌套库模组以及
minecraft、java 和 fabricloader 条目。这是你的 完整模组列表。
- 发送给谁: 仅 发送给主动请求的服务端,即运行 ModCheck 插件的服务器。不会发送给其他服务器或在单人游戏中发送。
- 何时发送: 加入此类服务器时,以及每当其再次请求时。
- 无其他数据: 不包含用户名、IP、硬件信息、文件或设置。
服务端插件(服务器管理员)
- 存储: 报告在玩家会话期间保留在 内存 中,离开时删除。除插件自身的
config.yml 外,不写入任何磁盘文件。
- 谁能看到: 拥有
onryomodcheck.admin 权限的工作人员。一行摘要(模组数量,加上任何被禁止或缺少的 ID)会写入服务器日志。
- 请在你的规则中告知玩家,他们的客户端模组会被检查。
两者共同点: 无遥测、HTTP、Webhook 或第三方连接。模组列表仅在玩家与其加入的服务端之间的正常 Minecraft 连接内部传输。
兼容性
- 服务端: Paper 和 Purpur 26.1.1, 26.1.2, 26.2, 26.3,Java 25。已在所有这些版本上测试。不支持 1.21.x、Spigot 或 Folia。
- 客户端: Fabric 26.1 – 26.3,Fabric Loader ≥ 0.19.2,Fabric API ≥ 0.140.3,Java 25。已在每个版本中使用真实客户端加入 Paper 服务器进行测试。
- Forge/NeoForge/Quilt 客户端、Bedrock 玩家和原版客户端无法发送报告。
Onryo ModCheck
See which Fabric mods your players use, and enforce your server's mod rules.
Onryo ModCheck has two halves, and both are on this page:
|
File |
Goes on |
Loader |
| ?️ Server plugin |
ModCheck-0.1.6.jar |
your server, in plugins/ |
Paper / Purpur 26.1.1 – 26.3 |
| ? Client mod |
OnryoModCheck-Client-0.1.6.jar |
each player's game, in mods/ |
Fabric 26.1 – 26.3 (+ Fabric API) |
⚠️ Not an anti-cheat. The mod list is reported by the player's own client, and a modified client can lie. ModCheck is a transparency and rules tool for communities with honest players, not protection against determined cheaters.
How it works
- A player with the client mod joins your server.
- About 2 seconds later, the plugin asks the client for its mod list over a custom plugin channel.
- The client replies with the id, name and version of every Fabric mod it has loaded.
- The plugin checks the mod ids against your config:
- Denied mod found: the player is kicked, banned or just logged, as you choose.
- Required mod missing: the report is flagged.
- No report at all (the client mod isn't installed): optionally kick, ban or log.
- Staff can browse every online player's list in-game with
/modcheck.
Installation
Server owners
- Use Paper or Purpur 26.1.1 – 26.3 with Java 25.
- Download the Paper/Purpur version (
ModCheck-0.1.6.jar) into plugins/ and restart.
- Edit
plugins/OnryoModCheck/config.yml, then run /modcheck reload.
- Tell your players to install the client mod. Only turn on
enforce-missing-report once they have it.
Players
- Use a Fabric profile for Minecraft 26.1 – 26.3, with Fabric Loader ≥ 0.19.2.
- Put the Fabric version (
OnryoModCheck-Client-0.1.6.jar) and Fabric API ≥ 0.140.3 into .minecraft/mods/.
- That's it. There's no config, and the mod only does something on servers running the plugin.
Features
- Mod lists are requested automatically on join.
- Denied mods are matched by Fabric mod id, ignoring case. Action:
LOG, KICK or BAN. BAN uses your server's /ban, so ban plugins work.
- Missing report: optionally act on players without the client mod.
- Required mods are shown as "missing required" and flag the report.
/modcheck list shows everyone online as clean or flagged; /modcheck <player> shows the full list, paged.
- Fabric API modules and other noise can be hidden from the display. The rules still check the full list.
- Large modpacks are handled: the client fits its list into the server's limits and keeps mod ids first.
- Lightweight: data stays in memory only, there's no database, and nothing is written to disk.
Commands & permissions (server)
| Command |
Description |
/modcheck · /modcheck status |
Number of stored reports |
/modcheck list [page] |
Online players' reports (clean/flagged) |
/modcheck <player> [page] |
One player's full mod list |
/modcheck reload |
Reload config and re-check stored reports (never kicks anyone) |
Permission onryomodcheck.admin (default: op) covers every subcommand. |
|
Configuration (plugins/OnryoModCheck/config.yml)
| Key |
Default |
|
settings.denied-mod-action |
KICK |
LOG / KICK / BAN |
settings.enforce-missing-report |
false |
Act on players who send no report. This includes vanilla and Bedrock/Geyser players, so test with LOG first. |
settings.missing-report-delay-seconds |
10 |
Minimum 3 |
settings.missing-report-action |
KICK |
LOG / KICK / BAN |
settings.mods-per-page |
10 |
1 – 20 |
rules.denied-mods |
example-xray-mod-id |
Fabric mod ids |
rules.required-mods |
onryo-modcheck-client |
Shown and flagged, but never kicks on its own |
rules.ignored-mods / ignored-prefixes |
Fabric API modules, java, minecraft… |
Display filter only |
messages.* |
|
Kick and ban messages; %mods% placeholder |
? Privacy
Client mod (players)
- What it sends: the id, display name and version of every Fabric mod you have loaded. That includes nested library mods and the
minecraft, java and fabricloader entries. This is your full mod list.
- To whom: only to servers that ask for it, meaning servers running the ModCheck plugin. Nothing is sent to other servers or in single-player.
- When: on joining such a server, and whenever it asks again.
- Nothing else: no usernames, IPs, hardware info, files or settings.
Server plugin (server owners)
- Storage: reports are kept in memory for the player's session and deleted when they leave. Nothing is written to disk except the plugin's own
config.yml.
- Who sees it: staff with
onryomodcheck.admin. A one-line summary (mod count, plus any denied or missing ids) is written to the server log.
- Please tell your players in your rules that their client mods are checked.
Both halves: no telemetry, HTTP, webhook or third-party connections. The mod list only travels inside the normal Minecraft connection between the player and the server they joined.
Compatibility
- Server: Paper and Purpur 26.1.1, 26.1.2, 26.2, 26.3, Java 25. Tested on all of them. Not 1.21.x, Spigot or Folia.
- Client: Fabric 26.1 – 26.3, Fabric Loader ≥ 0.19.2, Fabric API ≥ 0.140.3, Java 25. Tested with a real client joining a Paper server on each version.
- Forge/NeoForge/Quilt clients, Bedrock players and vanilla clients can't send reports.
评论 0
登录后参与评分
还没有评论,来抢沙发吧