A secure and feature-rich login plugin for Minecraft servers with Discord integration, supporting both Java and Bedrock Edition players.
- Secure Authentication: Password protection with BCrypt hashing
- Auto-Login: Session management for returning players
- Discord Integration: Link Minecraft accounts with Discord
- Cross-Platform: Supports both Java and Bedrock Edition players
- Protection: Prevents unauthorized actions before login
- Easy Setup: Simple configuration with detailed documentation
- Spigot/Paper 1.20.1 or higher
- Java 17 or higher
- (Optional) Discord Bot for account verification
- Download the latest release from the releases page
- Place the
LightLogin.jarin your server'spluginsfolder - Start your server to generate the default config
- Edit the
plugins/LightLogin/config.ymlto your liking - Restart your server
Edit plugins/LightLogin/config.yml to configure:
- Database settings
- Discord bot integration
- Session management
- Protection settings
- Messages and localization
- Create a Discord bot at the Discord Developer Portal
- Copy the bot token
- Enable the following intents:
- Message Content
- Server Members Intent
- Add the bot to your server with the
botandapplications.commandsscopes - Set
discord.enabled: truein the config - Add your bot token:
discord.token: "your-bot-token" - Set your Discord server ID:
discord.guild-id: "your-server-id"
/register <password> <confirmPassword>- Register a new account/login <password>- Login to your account/changepassword <oldPassword> <newPassword>- Change your password/discord link- Link your Discord account/discord unlink- Unlink your Discord account
lightlogin.*- All permissionslightlogin.admin- Admin commands and bypasseslightlogin.bypass- Bypass login requirements (for staff)
- Clone the repository
- Run
mvn clean package - Find the compiled JAR in
target/LightLogin-1.0-SNAPSHOT.jar
For support, please open an issue or join our Discord server.
This project is licensed under the MIT License - see the LICENSE file for details.