๐ก๏ธ Player Safe Login
Version: 1.0.0
Minecraft: 1.21.1
ModLoader: NeoForge
๐ Secure Your Account on Offline Mode Servers
Player Safe Login is a lightweight and reliable client-server authentication system designed specifically for Minecraft servers running in offline mode. It adds a secure layer of password protection to your Minecraft account, preventing unauthorized access — especially in cracked or non-authenticated environments.
โจ Features
- ๐ง๐ป Client-side password setup screen
- Automatically shown on first launch
- Allows user to set a custom or random master password
- Password is hashed locally using SHA-256
- Password hash is securely stored in the client and never sent in plaintext
- ๐ก Server-side verification
- When a player joins, the hashed password is sent to the server
- The server compares it with the stored hash and kicks the player if it doesn't match
- Initial password is only set if there's no existing hash for that UUID
- ๐ Password reset support
- Admins can delete a player’s registration to allow re-setup
- Players can reset their password manually using commands
- ๐งพ Failed login logging
- All invalid login attempts are logged with timestamp, username, UUID, and IP
- Logs are stored in a separate file: logs/player_safe_login_failures.log
- ๐ Brute-force protection
- Repeated failed attempts within short intervals are blocked with a cooldown message
๐ฆ Available Commands
/playersafelogin deleteaccount <player name>
> Deletes a player's password record from the server, allowing them to register again.
> Requires permission level 2 or higher.
/playersafelogin resetpassword <new password>
> Allows the player to reset their current password (client-side only).
โ ๏ธ Requirements
- Requires NeoForge 1.21.1+
- Must be installed on both client and server
- Intended for use in offline mode servers
๐ก Ideal Use Cases
- Cracked Minecraft communities
- Private offline LAN servers
- Custom launchers in offline environments
- Educational servers where security matters
๐ข Important Notes
- This mod does not replace Mojang's authentication. It is meant to protect accounts in environments where online authentication is disabled.
- Passwords are never stored or sent in plain text.
โ
Safe. Simple. Secure.
Protect your players. Give your server the security it deserves — even offline.