Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
Register And Login Plugin
轻量级离线模式服务器登录注册插件,有效防止离线服务器账号被盗。
✨功能
-
注册系统 指令:
/register <密码> <确认密码>未注册玩家无法移动、聊天,仅能执行注册指令。两次输入密码必须保持一致,注册成功自动登录。 -
登录系统 指令:
/login <密码>已注册玩家进入服务器处于锁定状态,无法移动、聊天,输入正确密码登录后解除全部限制。 -
数据持久化 玩家账号密码保存在
plugins/RegisterAndLoginPlugin/accounts/玩家UUID.txt使用玩家UUID作为文件名存储账号信息,不怕玩家改名导致账号丢失,服务器重启数据不会丢失。
⚙️支持服务端
✅ Paper 1.21 ~ 1.21.11
✅ Purpur 1.21.x
❌ 不支持 Spigot、Fabric、26.1 系列新版本
🎉更新
1.0.1:哈希值加密,语言自动修改 后续会增加修改密码、超时踢出等功能,同时推出适配26.1的独立版本。
📂开源信息
本项目采用 MIT License 开源 源码仓库:https://github.com/chfengciyueaiwan/RegisterAndLoginPlugin 欢迎提交反馈与PR,共同完善插件。
Register And Login Plugin
Lightweight offline-mode server registration & login plugin to prevent account theft on offline servers.
✨ Features
-
Registration System Command:
/register <password> <confirmPassword>Unregistered players cannot move or chat, and may only run the register command. The two entered passwords must match. Players will be logged in automatically upon successful registration. -
Login System Command:
/login <password>Registered players spawn in a locked state after joining the server, unable to move or chat. All restrictions are lifted after entering the correct password. -
Persistent Data Storage Player accounts and passwords are saved at
plugins/RegisterAndLoginPlugin/accounts/PlayerUUID.txt. Player UUIDs are used as filenames for account data, so accounts will not be lost even if players change their usernames. Data persists across server restarts.
⚙️ Supported Servers
✅ Paper 1.21 ~ 1.21.11 ✅ Purpur 1.21.x ❌ Not compatible with Spigot, Fabric or new 26.1 series builds
🎉 Updates
1.0.1: Added password hash encryption, automatic language switching Planned features: password change, login timeout kick, and a separate build compatible with version 26.1.
📂 Open Source Information
This project is open-sourced under the MIT License Source Repository: https://github.com/chfengciyueaiwan/RegisterAndLoginPlugin Feedback and pull requests are welcome to improve this plugin.


