
Register and Login Plugin
This plugin enables server-side registration and login to prevent account theft.
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. -
Security Protection Exceeding three failed login attempts results in a 30-second IP ban to prevent brute-force attacks.
⚙️ Supported Servers
✅ Paper 1.21 ~ 26.2 ✅ Purpur 1.21.x ❌ Not compatible with Spigot, Fabric.
🎉 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.
