? Lyumix Discord Auth – 安全的 Minecraft 身份验证
Lyumix Discord Auth 是一款轻量且安全的 Minecraft 服务器认证模组,使用 Discord 进行双因素验证。在保护你的服务器的同时,为玩家提供无缝的登录体验。
✨ 功能特性
- ? 基于 Discord 的双因素认证 – 确保只有经过验证的玩家才能加入服务器。
- ? 自动登录系统 – 为受信任玩家配置自动登录功能。
- ? 多数据库支持 – SQLite(默认)、MongoDB 和 PostgreSQL。
- ⚡ 轻量高效 – 对服务器性能影响极小。
- ? 流畅的玩家体验 – 易于使用的认证流程。
- ?️ 高级安全功能 – 可配置的登录超时、基于 IP 的自动登录等。
? 安装方法
- 下载最新版本。
- 将
.jar 文件放入服务器的 mods 文件夹中。
- 启动服务器以生成配置文件。
- 编辑
config/lyumix-discord-auth/config.hocon 来设置数据库和 Discord 机器人。
⚙️ 配置说明
该模组会生成两个配置文件:
config.hocon – 模组主要设置(数据库、Discord 机器人、认证相关)。
messages.hocon – 自定义消息内容。
支持 SQLite(默认,无需额外设置)、MongoDB 和 PostgreSQL 用于存储认证数据。
? 命令列表
/lda reload – 重新加载配置。
/lda force unlink player <name> – 解除玩家的 Discord 账号绑定。
/register <username> – 玩家通过 Discord 关联其 Minecraft 账号。
? 兼容性
✅ 适用于 Minecraft 1.21 - 1.21.1
✅ 需要 Fabric API
⚠️ 与其他认证模组不兼容。
? 计划中的功能
✔️ 更多数据库支持(MySQL 等)
✔️ 多因素认证选项
✔️ 扩展开发者 API
? 许可证
采用 MIT 许可证。可免费使用和修改。
? GitHub 仓库 | ? 支持 Discord
? Lyumix Discord Auth – Secure Minecraft Authentication
Lyumix Discord Auth is a lightweight and secure authentication mod for Minecraft servers that uses Discord for two-factor verification. Keep your server protected while providing a seamless login experience for players.
✨ Features
- ? Discord-Based Two-Factor Authentication – Ensure only verified players can join.
- ? Auto-Login System – Configurable auto-login for trusted players.
- ? Multiple Database Support – SQLite (default), MongoDB, and PostgreSQL.
- ⚡ Lightweight & Performant – Minimal impact on server performance.
- ? Seamless Player Experience – Easy-to-use authentication flow.
- ?️ Advanced Security Features – Configurable login timeouts, IP-based auto-login, and more.
? Installation
- Download the latest release.
- Place the
.jar in your server’s mods folder.
- Start the server to generate configuration files.
- Edit
config/lyumix-discord-auth/config.hocon to set up your database and Discord bot.
⚙️ Configuration
The mod generates two configuration files:
config.hocon – Main mod settings (database, Discord bot, authentication).
messages.hocon – Customizable messages.
Supports SQLite (default, no setup), MongoDB, and PostgreSQL for authentication data storage.
? Commands
/lda reload – Reload the configuration.
/lda force unlink player <name> – Unlink a player’s Discord account.
/register <username> – Players link their Minecraft account via Discord.
? Compatibility
✅ Works with Minecraft 1.21 - 1.21.1
✅ Requires Fabric API
⚠️ Not compatible with other authentication mods.
? Planned Features
✔️ More database support (MySQL, etc.)
✔️ Multi-factor authentication options
✔️ Extended developer API
? License
Licensed under MIT. Free to use and modify.
? GitHub Repository | ? Support Discord
评论 0
登录后参与评分
还没有评论,来抢沙发吧