OperatorLogin
OperatorLogin 是一个服务端身份验证模组与插件。在玩家能够聊天、执行其他指令、与方块交互或攻击实体之前,它通过 /register <password> <password> 和 /login <password> 保护已配置的玩家。
当前目标
- 加载器:NeoForge
- Minecraft:1.21.1
安全说明
- 密码以加盐的 PBKDF2-HMAC-SHA256 哈希值存储在
config/operatorlogin-passwords.properties中。 - 旧的明文和旧版 SHA-256 哈希会在登录成功后迁移为 PBKDF2。
- 未认证的玩家只能使用
/login和/register。 - 登录尝试受到速率限制,并带有临时锁定机制。
- 新密码必须满足配置的最小长度要求,且不能为空或与玩家名称相同。
配置
模组首次运行时会在 config/operatorlogin.properties 创建配置文件。
| 选项 | 默认值 | 描述 |
|---|---|---|
authOnlyOperators |
true |
如果为 true,则仅操作员需要认证。设置为 false 以保护所有玩家。 |
kickTimeoutSeconds |
60 |
未认证玩家可以保持连接的时间长度。 |
minPasswordLength |
8 |
接受的最小密码长度。 |
maxLoginAttempts |
5 |
触发锁定之前的失败尝试次数。 |
lockoutSeconds |
60 |
多次尝试失败后的锁定持续时间。 |
OperatorLogin
OperatorLogin is a server-side authentication mod & plugin. It protects configured players with /register <password> <password> and /login <password> before they can chat, run other commands, interact with blocks, or attack entities.
Current target
- Loader: NeoForge
- Minecraft: 1.21.1
Security notes
- Passwords are stored in
config/operatorlogin-passwords.propertiesas salted PBKDF2-HMAC-SHA256 hashes. - Legacy plain-text and old SHA-256 hashes are migrated to PBKDF2 after a successful login.
- Unauthenticated players can only use
/loginand/register. - Login attempts are rate-limited with a temporary lockout.
- New passwords must satisfy the configured minimum length and cannot be blank or equal to the player name.
Configuration
The mod creates config/operatorlogin.properties on first run.
| Option | Default | Description |
|---|---|---|
authOnlyOperators |
true |
If true, only operators must authenticate. Set to false to protect every player. |
kickTimeoutSeconds |
60 |
How long an unauthenticated player may stay connected. |
minPasswordLength |
8 |
Minimum accepted password length. |
maxLoginAttempts |
5 |
Failed attempts before lockout. |
lockoutSeconds |
60 |
Lockout duration after too many failed attempts. |
下载 OperatorLogin
下载 OperatorLogin
下载 OperatorLogin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 OperatorLogin
下载 OperatorLogin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧