LoginPlugin is a simple authentication plugin for PaperMC servers. It requires players to log in with a password before
LoginPlugin
LoginPlugin is a simple authentication plugin for Minecraft servers running PaperMC. It enforces a login system where players must authenticate with a password before they can move or interact. Admins can set passwords for users, ensuring better security for player accounts.
Features
Players must log in using a password upon joining.
Movement is restricted until authentication is successful.
If a player fails to log in within 3 minutes, they are kicked.
Admins can set passwords for players.
Uses modern PaperMC API without deprecated methods.
Supported Minecraft Versions
This plugin supports Minecraft 1.21 and later, running on PaperMC.
Commands
/setpassword [username] [password]
- Permission: OP
/login [password]
- Permission: All players
/resetpass [username] [newpassword]
- Permission: OP
/changeusername [oldname] [newname]
- Permission: OP
Notes
Players who have not logged in will be unable to move.
Passwords are stored in passwords.yml in plain text.
Ensure your server is running PaperMC for full compatibility.
License
This project is under the MIT License.
Contact
For support or issues, contact me on discord(dibope5834_95850).