?️ DAuth
DAuth 是一款现代且简单的身份验证插件,完全免去了玩家在聊天栏中输入 /login 或 /register 命令的麻烦。所有交互均通过便捷的游戏内置菜单完成。
⚡ 主要功能
- 无命令: 完全拒绝通过聊天命令进行登录。所有操作均通过精美的原生 Minecraft 窗口完成。
- 安全登录: 在玩家通过验证之前,由于尚未加载到地图中,他们无法与游戏世界、聊天或物品栏进行任何交互。
- 账户保护:
- 密码输入错误3次后自动踢出。
- 登录计时器(默认60秒)——如果玩家闲置,将被断开连接。
- 如果已存在同名账号在线,则禁止登录。
- 便捷的密码修改: 玩家可以在游戏内的菜单中直接修改密码,该菜单需要输入旧密码和新密码。
- 支持双因素认证 (2FA): 玩家可以通过 Google Authenticator 启用双因素认证。启用后,在输入密码后会弹出代码输入窗口。
- 会话计时器: 玩家登出后,在一定可配置时间段内(默认5分钟)重新登录时无需再次输入密码。
- 配置: 您可以将所有标签、按钮和窗口标题翻译成任何语言,并限制密码的最小和最大长度。
- 提供 Discord 服务器链接选项: 如果玩家忘记密码或需要帮助,可以直接从菜单访问您的 Discord 服务器。
? 命令
| 命令 | 使用者 | 描述 |
|---|---|---|
/changepassword |
玩家 | 打开菜单以更改当前密码。 |
/dreload |
管理员 | 重新加载插件配置和消息。 |
/logout |
玩家 | 登出并将玩家踢出服务器。 |
/unregister |
玩家/管理员 | 删除玩家账号。 |
/2fa |
玩家/管理员 | 管理双因素认证(设置、移除)。 |
? 权限
| 权限 | 需要者 | 描述 |
|---|---|---|
dauth.admin |
管理员 | 用于特定控制台命令的通用管理员访问权限。 |
dauth.admin.unregister |
管理员 | 允许通过 /unregister <player> 删除其他玩家的账号。 |
dauth.admin.2fa |
管理员 | 允许通过 /2fa reset <player> 重置其他玩家的双因素认证。 |
⚙️ 安装与设置
- 将文件放入
plugins文件夹中。 - 重启服务器。
- 在
config.yml文件中,你可以修改:- 输入密码的时间限制。
- 密码长度(最小值/最大值)。
- 所有文本消息和按钮名称。
- 会话持续时间以及 Discord 链接。
?️ DAuth
DAuth is a modern and simple authentication plugin that completely relieves players from the need to type /login or /register commands in chat. All interaction takes place through convenient built-in game menus.
⚡ Key Features
- No commands: Complete refusal of chat commands for login. Everything is done through beautiful native Minecraft windows.
- Safe login: The player physically cannot interact with the world, chat, or inventory until they pass verification, as they have not yet loaded onto the map.
- Account protection:
- Automatic kick after 3 failed attempts to enter the password.
- Login timer (default 60 seconds) — if the player is idle, they will be disconnected.
- Login ban if an account with such a nickname is already online.
- Convenient password change: A player can change their password right in the game through a menu where they need to specify the old and new password.
- Support for 2FA: Players can enable two-factor authentication via Google Authenticator. When 2FA is enabled, a code input window opens after entering the password.
- Session timers: After a player logs out, they can re-enter without retyping the password for a configurable period (default 5 minutes).
- Configuration: You can translate all labels, buttons, and window titles into any language, as well as limit the minimum and maximum password length.
- Option to provide a link to your Discord server: If a player forgets their password or needs help, they can access your Discord server directly from the menu.
? Commands
| Command | Who uses it | Description |
|---|---|---|
/changepassword |
Players | Opens the menu to change the current password. |
/dreload |
Admins | Reloads the plugin config and messages. |
/logout |
Players | Logs out and kicks the player from the server. |
/unregister |
Players/Admins | Deletes a player's account. |
/2fa |
Players/Admins | Manage two-factor authentication (setup, remove). |
? Permissions
| Permission | Who needs it | Description |
|---|---|---|
dauth.admin |
Admins | General admin access for certain console commands. |
dauth.admin.unregister |
Admins | Allows deleting accounts of other players via /unregister <player>. |
dauth.admin.2fa |
Admins | Allows resetting 2FA for other players via /2fa reset <player>. |
⚙️ Installation and Setup
- Drop the file into the
pluginsfolder. - Restart the server.
- In the
config.ymlfile, you can change:- Time allowed for password entry.
- Password length (minimum/maximum).
- All text messages and button names.
- Session duration and Discord link.
下载 DAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
实现跨服务器重启的会话持久化
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧