WoM (模组白名单)
WoM 是一款适用于 Fabric 的全面、高安全性的客户端-服务器模组验证与保护系统。它确保仅允许使用授权的模组,保护你的社区免受未授权客户端、作弊行为以及模组伪装攻击的侵害。
功能特性
- 双列表系统:支持 白名单(仅允许的模组)和 黑名单(禁止的模组)模式,或同时启用两者。
- 深度元数据验证:在
strict_mode(严格模式)下,WoM 不仅检查模组 ID,还会验证模组的 版本、作者 和 文件大小,以防止简单的 ID 伪装。
- 高级防伪装机制:
- Nonce 验证以防止重放攻击。
- 蜜罐模组检测(捕获声称安装了模组的虚假客户端)。
- 最小模组数量验证。
- 强制要求客户端必须安装 WoM 模组本身。
- 智能处理 Fabric API:如果你的白名单中包含
fabric-api,其所有子模块(例如 fabric-api-base、fabric-biome-api-v1)将自动被允许,从而保持配置文件简洁。
- 详细的玩家日志记录:自动将每位玩家安装的模组详细报告保存到
config/wom/players/<PlayerName>/ 目录中。内置冷却系统可防止因快速重连导致的日志刷屏。
- 多语言 & 可定制:内置支持 12 种语言(英语、俄语、德语、西班牙语、法语、葡萄牙语、日语、中文、韩语、土耳其语、意大利语、波兰语)。你也可以直接在配置文件中覆盖任何消息。
- 游戏内管理:提供功能完整的管理员命令,支持 Tab 键补全,无需手动编辑文件即可添加/移除模组。
安装指南
⚠️ 重要提示: 此模组必须在 服务器 和 客户端 两端都进行安装。如果玩家未安装该模组加入服务器,他们将会因为超时而被自动踢出。
服务器端设置
- 下载最新的
Whitelist-Of-Mods-1.1.0.jar。
- 将该文件放入服务器的
mods/ 文件夹中。
- 启动服务器以生成默认配置文件。
- 根据需要配置模组(参见下方配置部分)。
- 重启服务器。
客户端设置
- 下载完全相同的
Whitelist-Of-Mods-1.1.0.jar 文件。
- 将其放入 Minecraft 客户端的
mods/ 文件夹中。
- 启动游戏并连接到服务器。
配置说明
首次启动服务器后,将在 config/wom.json 生成配置文件。
关键设置包括:
"check_type":"WHITELIST"(白名单)、"BLACKLIST"(黑名单)或 "BOTH"(两者)。
"action":"KICK"(立即断开连接)或 "WARN"(向玩家及在线管理员发送警告)。
"strict_mode":设置为 true 以验证版本/作者/大小,设置为 false 则仅检查 ID(速度更快但安全性较低)。
"language":设置你首选的语言代码(例如 "en_us"、"ru_ru"、"pl_pl")。
注意:更改 "language" 字段或进行手动编辑需要 完整重启服务器 才能正确生效。
你还可以在配置文件的 "messages" 对象中添加自定义消息或覆盖内置翻译。
命令列表
所有命令均需拥有操作员 (OP) 权限(等级 2+)。
| 命令 |
描述 |
/wom reload |
在不重启服务器的情况下重新加载 wom.json 配置文件。(注意:语言更改仍需重启服务器)。 |
/wom whitelist add <mod_id> [version] |
将模组添加到白名单。可选指定版本(例如 1.0.*)。 |
/wom whitelist remove <mod_id> |
从白名单中移除模组(支持 Tab 键补全)。 |
/wom blacklist add <mod_id> [version] |
将模组添加到黑名单。 |
/wom blacklist remove <mod_id> |
从黑名单中移除模组(支持 Tab 键补全)。 |
许可证
保留所有权利 (ARR)
版权所有 © 2026 Hantu。保留所有权利。
本模组为专有软件。未经作者明确书面许可,严禁对本模组的全部或部分进行未经授权复制、修改、分发或逆向工程。你可以在自己的服务器上使用该模组,但不得将其重新上传至其他平台或据为己有。
WoM (Whitelist of Mods)
WoM is a comprehensive, high-security client-server mod verification and protection system for Fabric. It ensures that only authorized mods are used on your server, protecting your community against unauthorized clients, cheats, and mod spoofing attempts.
Features
- Dual List System: Supports both Whitelist (only allowed mods) and Blacklist (banned mods) modes, or both simultaneously.
- Deep Metadata Verification: In
strict_mode, WoM doesn't just check the mod ID. It verifies the mod's version, author, and file size to prevent simple ID spoofing.
- Advanced Anti-Spoofing:
- Nonce validation to prevent replay attacks.
- Honeypot mod detection (catches clients lying about installed mods).
- Minimum mod count verification.
- Mandatory presence of the WoM mod itself on the client.
- Smart Fabric API Handling: If
fabric-api is in your whitelist, all its submodules (e.g., fabric-api-base, fabric-biome-api-v1) are automatically allowed, keeping your config clean.
- Detailed Player Logging: Automatically saves a detailed report of every player's installed mods to
config/wom/players/<PlayerName>/. Includes a built-in cooldown system to prevent log spam from rapid reconnects.
- Multi-language & Customizable: Built-in support for 12 languages (English, Russian, German, Spanish, French, Portuguese, Japanese, Chinese, Korean, Turkish, Italian, Polish). You can also override any message directly in the config.
- In-Game Management: Fully functional admin commands with tab-completion for adding/removing mods without manually editing files.
Installation
⚠️ IMPORTANT: This mod must be installed on BOTH the server and the client. If a player joins without the mod, they will be automatically kicked for a timeout.
Server Setup
- Download the latest
Whitelist-Of-Mods-1.1.0.jar.
- Place the file into your server's
mods/ folder.
- Start the server to generate the default configuration file.
- Configure the mod to your liking (see Configuration below).
- Restart the server.
Client Setup
- Download the exact same
Whitelist-Of-Mods-1.1.0.jar file.
- Place it into your Minecraft client's
mods/ folder.
- Launch the game and connect to the server.
Configuration
After the first server launch, a configuration file will be generated at config/wom.json.
Key settings include:
"check_type": "WHITELIST", "BLACKLIST", or "BOTH".
"action": "KICK" (disconnect immediately) or "WARN" (send a warning to the player and online admins).
"strict_mode": true to verify version/author/size, false for ID-only checks (faster but less secure).
"language": Set your preferred language code (e.g., "en_us", "ru_ru", "pl_pl").
Note: Changing the "language" field or making manual edits to the config requires a full server restart to apply correctly.
You can also add custom messages or override built-in translations using the "messages" object in the config.
Commands
All commands require Operator (OP) permissions (Level 2+).
| Command |
Description |
/wom reload |
Reloads the wom.json configuration file without restarting the server. (Note: Language changes still require a restart). |
/wom whitelist add <mod_id> [version] |
Adds a mod to the whitelist. Optionally specify a version (e.g., 1.0.*). |
/wom whitelist remove <mod_id> |
Removes a mod from the whitelist (supports tab-completion). |
/wom blacklist add <mod_id> [version] |
Adds a mod to the blacklist. |
/wom blacklist remove <mod_id> |
Removes a mod from the blacklist (supports tab-completion). |
License
All Rights Reserved (ARR)
Copyright © 2026 Hantu. All rights reserved.
This mod is proprietary software. Unauthorized copying, modification, distribution, or reverse engineering of this mod, in whole or in part, is strictly prohibited without explicit written permission from the author. You may use this mod on your server, but you may not re-upload it to other platforms or claim it as your own.
评论 0
登录后参与评分
还没有评论,来抢沙发吧