Vouch
Vouch 是一款专为现代 Minecraft 设计的安全服务端认证模组。它完全在服务器端处理玩家注册、登录以及双重身份验证,因此玩家无需在客户端安装任何内容即可加入服务器。
我们目前支持 1.21.1 至 1.21.4 版本的 Fabric 和 NeoForge。
工作原理
玩家加入服务器时,会进入“预认证”状态,在此状态下无法移动、交互或查看聊天内容,直到完成登录。
- 新玩家 使用
/register <password> <password>创建账号。 - 老玩家 使用
/login <password>登录服务器。 - 会话保持: 如果玩家从同一 IP 地址断开并快速重新连接,系统会记住其会话,无需立即再次输入密码。
主要特性
安全性与性能 我们采用 Argon2id 进行密码哈希,这是目前业界公认的安全标准。关键在于,所有数据库操作和哈希计算均在独立的线程上异步执行。这确保了 Vouch 即使在登录高峰期也不会对服务器的 TPS(每秒刻数)产生任何影响。
双因素认证 (2FA)
玩家可选择通过 TOTP 2FA 保护其账户。通过 /2fa setup 启用后,模组会将二维码直接渲染到游戏内的地图物品上。玩家可使用 Google Authenticator、Authy 或 Aegis 扫描此二维码以生成基于时间的验证码。
数据库支持 Vouch 在数据存储方面具有高度灵活性。默认使用 H2 数据库(无需额外配置),同时完全支持 SQLite、MySQL 和 PostgreSQL,并通过 HikariCP 为大服务器提供连接池功能。
自定义设置
该模组已本地化为英语 (en_us) 和西班牙语 (es_mx),但所有消息均可自定义。您还可以配置音效、标题和Boss栏,使其符合您服务器的风格。
要求
- Minecraft 1.21.1, 1.21.2, 1.21.3 或 1.21.4
- Java 21 或更高版本
- Fabric(需要 Fabric API)或 NeoForge
- Architectury API 是两种加载器所必需的
文档
如需完整的配置指南、权限节点及高级设置说明,请访问我们的文档:
仅限服务端
本模组严格为服务端模组。请勿安装在客户端。
Vouch
Vouch is a secure, server-side authentication mod designed for modern Minecraft. It handles player registration, login, and two-factor authentication entirely on the server, meaning players do not need to install anything on their clients to join.
We currently support Minecraft 1.21.1 through 1.21.4 on both Fabric and NeoForge.
How it works
When a player joins, they are placed in a "pre-auth" state where they cannot move, interact, or see chat until they log in.
- New players use
/register <password> <password>to create an account. - Returning players use
/login <password>to access the server. - Session Persistence: If a player disconnects and reconnects quickly from the same IP, their session is remembered so they don't have to type their password again immediately.
Key Features
Security & Performance We use Argon2id for password hashing, which is the current industry standard for security. Crucially, all database operations and hashing run asynchronously on separate threads. This ensures that Vouch has zero impact on your server's TPS, even during heavy login spikes.
Two-Factor Authentication (2FA)
Players can optionally secure their accounts with TOTP 2FA. When enabled via /2fa setup, the mod renders a QR code directly onto an in-game map item. Players can scan this with Google Authenticator, Authy, or Aegis to generate time-based codes.
Database Support Vouch is flexible with data storage. It defaults to H2 (no setup required), but fully supports SQLite, MySQL, and PostgreSQL via HikariCP for larger servers that need connection pooling.
Customization
The mod is localized in English (en_us) and Spanish (es_mx), but all messages can be customized. You can also configure sound effects, titles, and boss bars to match your server's style.
Requirements
- Minecraft 1.21.1, 1.21.2, 1.21.3, or 1.21.4
- Java 21 or higher
- Fabric (requires Fabric API) or NeoForge
- Architectury API is required for both loaders
Documentation
For full configuration guides, permission nodes, and advanced setup, please visit our documentation:
Server-side only
This mod is strictly server-side. Do not install it on the client.
下载 Vouch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vouch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vouch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vouch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vouch
下载 Vouch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vouch
下载 Vouch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vouch
下载 Vouch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Vouch 0.4.1 (beta) — Minecraft 1.21.1
修复: 在 2fa_only 模式下,执行 /register 后立即使用 /2fa verify 会被拒绝并提示“未知或不完整的命令”,导致新玩家无法完成注册 (#9)。0.4.0 beta 版本未包含此修复。
此外,本版本还包含了 0.4 系列的更新:重建的命令树(/vouch password、/vouch premium、/vouch admin user …、/vouch admin premium …)、预认证加固、带版本号的数据库架构以及异步高级登录。详见 changelog。
本构建已针对真实的 Fabric 和 NeoForge 专用服务器配合机器人客户端进行了端到端测试(包括注册、登录、错误密码、密码更改、登出以及所有三种认证模式下的两步验证流程)。
附带了 Fabric 和 NeoForge 的 jar 文件。需要 Architectury API(Fabric 平台还需要 Fabric API)。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧