跳到正文

OperatorLogin

作者:Heypers

🔑 OperatorLogin is a server-side authentication mod/plugin.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.properties as 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 /login and /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 支持哪些 Minecraft 版本?

OperatorLogin 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本,可用的加载器:Bukkit / NeoForge / Paper / Purpur。下载时注意选择和你游戏版本一致的文件。

OperatorLogin 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Bukkit / NeoForge / Paper / Purpur,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Heypers 的其他作品

查看全部 →