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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧