描述
Simple Login 是一款轻量且安全的身份验证插件/模组,专为 Minecraft 服务器设计,支持 1.17–26.x 版本。它提供登录和注册系统,玩家必须使用 /register <密码> <密码> 进行注册,并使用 /login <密码> 登录后方可与服务器交互。在未完成身份验证之前,玩家将无法移动、操作物品栏、破坏或放置方块以及执行其他游戏内行为,从而有效防止未授权访问。
该插件使用 SQLite 进行数据存储,密码采用 BCrypt 哈希算法以确保账户处理的安全性。内置自动更新检查器,用于通知服务器管理员有关新版本的发布。
安全与认证功能
- 可选的 基于 TOTP 的双因素身份验证(支持 Google Authenticator)
- 全局双因素身份验证开关
- 必须使用
/2faconfirm <6位数字代码>来确认并完成双因素身份验证设置 - 会话系统支持受信任 IP,以减少重复的身份验证器提示
- 最低密码长度要求为 8 个字符
- 登录前保护系统,具备完整的权限限制处理
账户管理
- 删除账户需要通过
/delacc confirm <密码|6位验证码>进行确认 - 删除请求具有时效性,可能会过期
- 待处理的删除请求可以使用
/delacc cancel取消 - 在玩家登录之前,
/delacc命令将受到限制 - 对无效验证码、密码和过期请求提供详细的错误处理
管理员与实用命令
/changepass <玩家> <新密码>(仅限 OP,控制台支持包含权限控制)/slreload重新加载配置文件/abortsession强制终止会话并需要重新登录- 带有可信 IP 处理功能的会话管理系统
配置与本地化
所有消息均可通过 config.yml 进行配置。
- 取消提示消息
- 超时处理
- 无效密码或两步验证(2FA)代码的响应
- 确认提示
- 使用说明
依赖要求
- ProtocolLib (软依赖;用于在日志中隐藏用户密码)
- 需要 Java 17 或更高版本
命令(未提及的部分)
- 为发送者启用两步验证(2FA)
/enable2fa
- 为发送者禁用两步验证(2FA)
/disable2fa
Description
Simple Login is a lightweight and secure authentication plugin/mod designed for Minecraft servers, supporting versions 1.17–26.x. It provides a login and registration system where players must register using /register <password> <password> and log in using /login <password> before interacting with the server. Until authentication is completed, players are restricted from moving, interacting with their inventory, breaking or placing blocks, and performing other gameplay actions, ensuring protection against unauthorized access.
The plugin uses SQLite for data storage, with passwords hashed using BCrypt for secure account handling. An automatic update checker is included to notify server owners about new releases.
Security & Authentication Features
- Optional TOTP-based two-factor authentication (Google Authenticator support)
- Global toggle for 2FA
/2faconfirm <6-digit code>required to confirm and complete 2FA setup- Session system with trusted IP support to reduce repeated authenticator prompts
- Minimum password length requirement of 8 characters
- Pre-login protection system with full restriction handling
Account Management
- Account deletion requires confirmation via
/delacc confirm <password|6-digit code> - Deletion requests are time-limited and can expire
- Pending deletion requests can be cancelled using
/delacc cancel /delaccis restricted until the player is logged in- Detailed error handling for invalid codes, passwords, and expired requests
Admin & Utility Commands
/changepass <player> <newpass>for OPs (console support included with permission control)/slreloadreloads configuration files/abortsessionforces session termination and requires re-login- Session management system with trusted IP handling
Configuration & Localization
All messages are configurable via config.yml.
- cancellation messages
- timeout handling
- invalid password or 2FA code responses
- confirmation prompts
- usage instructions
Requirements
- ProtocolLib (soft dependency; required to hide user passwords in logs)
- Java 17 or higher required
Commands (unmentioned)
- Enables 2FA for sender
/enable2fa
- Disables 2FA for sender
/disable2fa
下载 Simple Login
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Login
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Login
下载 Simple Login
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Login
下载 Simple Login
下载 Simple Login
下载 Simple Login
下载 Simple Login
下载 Simple Login
更新内容
- 新增 Forge 支持。
- 新增 NeoForge 支持。
- 新增适用于 Fabric、Forge 和 NeoForge 的通用 JAR 包。
- 扩展 Fabric 兼容性至 Minecraft 1.17.x–26.3.x。
更新内容
- 新增 Forge 支持。
- 新增 NeoForge 支持。
- 新增适用于 Fabric、Forge 和 NeoForge 的通用 JAR 包。
- 扩展 Fabric 兼容性至 Minecraft 1.17.x–26.3.x。
- 适用于 26.3 的插件构建
- 适用于 Fabric 1.19.2
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧