AdvancedAuth Ultimate
Create a complete, production-ready Minecraft Java server plugin called AdvancedAuth Ultimate.
The plugin should be an advanced all-in-one:
Authentication + Premium Authentication + Cracked Account Authentication + Minecraft PE/Bedrock Authentication + 24-Hour Auto Login + Account Security + Anti-Cheat + Anti-Xray + Daily Rewards + Admin Management
system.
The plugin must be modular, secure, highly configurable, optimized for low-end servers, and designed so that new authentication/security modules can easily be added later.
---
Platform
- Minecraft Java Edition
- Paper / Spigot / Purpur
- Support Minecraft 1.21.x
- Java 21
- Must be optimized for low-end servers
- Must support PlaceholderAPI
- Optional support for Vault
- Optional support for LuckPerms
- Optional support for Geyser
- Optional support for Floodgate
- Optional support for Velocity
- Optional support for BungeeCord
- Optional support for ProtocolLib or PacketEvents when required
- Database support: SQLite by default, MySQL/MariaDB optional
- Configuration must be fully customizable
The plugin must continue working when optional integrations are not installed.
---
- Authentication System
Create a secure authentication system similar to AdvancedAuth but with more features.
The authentication system must support:
- Premium Java accounts
- Cracked/Offline Java accounts
- Minecraft Bedrock/PE accounts through Geyser/Floodgate
The plugin must never incorrectly identify a cracked account as a premium account.
---
- Registration System
Commands:
/register <password> /reg <password>
Optional:
/register <password> <confirm-password>
Features:
- First-time player registration
- Secure password hashing
- Password confirmation option
- Password strength validation
- Duplicate account protection
- Registration timeout
- Registration attempt limit
- IP-based registration protection
- Maximum accounts per IP
- UUID/account binding
- Configurable registration location
- Registration logs
- Account creation date
- Account type detection
After registration, automatically teleport the player to the configured:
- Register Location
- Spawn Location
- Lobby Location
depending on configuration.
Never store plaintext passwords.
---
- Cracked / Offline Account System
Create full authentication support for cracked/offline-mode Java servers.
Cracked players must be able to use:
/register <password> /login <password> /logout /changepassword <old> <new>
Features:
- Secure password hashing
- UUID/account binding
- Login protection
- Brute-force protection
- Failed login limit
- Temporary account lock
- Login history
- IP history
- Session management
- Password recovery
- Optional PIN authentication
- 24-hour Auto Login
- Account security monitoring
IMPORTANT:
Never trust a cracked player only because the username matches.
Use a secure combination of:
- UUID
- Account data
- Password authentication
- Secure session ID
- Session expiration
- Configurable security validation
---
- Cracked Account Auto Login
Cracked accounts MUST support Auto Login.
First-time authentication:
Player joins ↓ Register ↓ Password authentication ↓ Create trusted session ↓ 24-hour Auto Login session
Next join:
Player joins ↓ Detect cracked account ↓ Check trusted session ↓ Session valid? ├── YES → Auto Login └── NO → Require /login
Never automatically trust a cracked account based only on username.
Cracked Auto Login must be independently configurable:
cracked-auto-login: enabled: true session-duration: 24h
---
- Premium Minecraft Auto Login
Create an optional Premium Auto Login system.
If enabled:
- Detect legitimate Microsoft/Minecraft authenticated players where technically possible
- Automatically authenticate trusted premium players
- Never bypass legitimate Microsoft authentication
- Never incorrectly identify cracked accounts as premium
- Provide configurable trusted-session rules
- Allow admins to disable premium auto-login globally
Settings:
premium-auto-login: enabled: true trusted-session: true session-duration: 24h
---
- Minecraft PE / Bedrock Auto Login
Create full Minecraft PE/Bedrock support through:
Geyser + Floodgate
The plugin must detect Bedrock players using the official available Geyser/Floodgate integration.
Bedrock players should be able to use:
- Authentication
- Auto Login
- Session management
- Account linking
- Daily rewards
- Anti-Cheat
- Anti-Xray
- Security alerts
- Admin management
Detect and distinguish:
Java Premium Java Cracked Bedrock/PE
Example:
bedrock: enabled: true
auto-login: enabled: true session-duration: 24h
require-floodgate: enabled: true
If Geyser/Floodgate is not installed, the Bedrock-specific features should gracefully disable themselves without crashing the plugin.
---
- Bedrock / PE Auto Login
Bedrock players must have a secure Auto Login system.
Flow:
Bedrock Player Joins ↓ Detect Floodgate Identity ↓ Check Account ↓ Check Trusted Session ↓ Session Valid? ├── YES → Auto Login └── NO → Authentication Required
Use available Floodgate identity information where appropriate.
Do not assume every Bedrock player is trusted simply because the username looks correct.
---
- Universal 24-Hour Auto Login System
Create a universal Auto Login/session system for:
- Premium Java
- Cracked Java
- Bedrock/PE
Default:
24 Hours
After successful authentication:
Authentication successful ↓ Create secure session ↓ Session expires after 24 hours
Example:
Session Created:
August 17, 2026 18:00
Session Expires:
August 18, 2026 18:00
The expiration must use a real timestamp.
Server restart must NOT reset the session timer.
When the 24-hour session expires:
Session expired ↓ Require authentication ↓ Successful authentication ↓ Create new 24-hour session
Admin must be able to configure the duration:
1 hour 6 hours 12 hours 24 hours 3 days 7 days Custom
Example:
auto-login: enabled: true session-duration: 24h
---
- Auto Login Security
Never trust username alone.
Use secure session validation.
Possible validation:
- UUID
- Account type
- Secure session ID
- Account binding
- Floodgate identity
- Premium authentication status
- Session creation time
- Session expiration
- Optional IP validation
IP validation must be optional because mobile/PE players can change IP addresses.
Example:
auto-login: enabled: true session-duration: 24h
validation: uuid: true session-id: true account-type: true floodgate-identity: true ip: false
Admins must be able to revoke any active session.
---
- Session System
Create a secure session system.
Features:
- Remember authenticated sessions
- Session expiration
- 24-hour default session
- IP/session validation
- Account/session binding
- Device/session tracking where technically available
- Logout all sessions
- Admin session termination
- Session history
- Configurable session duration
- Automatic expired-session cleanup
- Suspicious session detection
Commands:
/session /session list /session logout /session logoutall /security sessions <player>
---
- Account Linking
Support secure Java/Bedrock account linking.
Example:
Java Account ↕ Bedrock Account
Commands:
/account /account info /account link /account unlink
Admin:
/auth link <java-player> <bedrock-player> /auth unlink <player>
Require proper verification before linking accounts.
Prevent unauthorized account linking.
---
- Password Recovery
Add an optional recovery system.
Features:
- Email verification
- Password reset
- OTP verification
- Recovery code
- Recovery cooldown
- Account recovery logs
- Admin password reset
Do not store plaintext passwords.
---
- Location Management
Create a complete location system.
Admin commands:
/auth setloginlocation /auth setregisterlocation /auth setspawn /auth setlobby /auth setverification /auth locations
Locations:
- Login Location
- Register Location
- Spawn Location
- Lobby Location
- Kick Location
- Verification Location
Each location should save:
Admin can change all locations from INVENTORY GUI.
---
- Daily Reward System
Add a complete Daily Reward system.
Commands:
/daily /reward
Features:
- Daily login reward
- 7-day reward cycle
- Configurable rewards
- Streak system
- Claim cooldown
- INVENTORY GUI reward menu
- Reward animations
- Sound effects
- Particle effects
- Permission-based rewards
- VIP rewards
- Automatic streak reset if configured
- Admin reward reset
- Admin reward give
Example:
daily-rewards:
day-1: commands: - "give %player% diamond 1"
day-2: commands: - "give %player% iron_ingot 5"
day-7: commands: - "give %player% diamond 5"
Support:
- Items
- Commands
- Money through Vault
- XP
- Custom rewards
---
- Advanced Anti-Cheat / Anti-Hack
Create a lightweight modular Anti-Cheat system.
Checks should include:
- Fly
- Speed
- KillAura
- Reach
- AutoClicker
- FastBreak
- FastPlace
- NoFall
- Jesus
- Scaffold
- Velocity manipulation
- Impossible movement
- Inventory manipulation
- Illegal interaction
- Suspicious packet behavior
Each check must have:
- Enable/disable
- Violation level
- Configurable sensitivity
- False-positive protection
- Punishment settings
- Staff bypass
Example:
checks:
fly: enabled: true max-violations: 10
speed: enabled: true max-violations: 12
killaura: enabled: true max-violations: 8
Do not automatically ban based on one suspicious event.
Use multiple signals and violation levels to reduce false positives.
---
- Anti-Xray
Create an optimized Anti-Xray module.
Features:
- Ore obfuscation
- Hidden ore protection
- Diamond protection
- Ancient Debris protection
- Gold protection
- Emerald protection
- Configurable protected blocks
- Per-world configuration
- Permission bypass
- Staff bypass
- Performance-friendly implementation
Example:
anti-xray: enabled: true
protected-blocks: - DIAMOND_ORE - DEEPSLATE_DIAMOND_ORE - GOLD_ORE - DEEPSLATE_GOLD_ORE - ANCIENT_DEBRIS - EMERALD_ORE
Use Paper's native Anti-Xray capabilities where appropriate instead of implementing unnecessarily expensive custom packet processing.
---
- Admin INVENTORY GUI
Create a beautiful complete Admin Control Panel.
Commands:
/advancedauth /adminauth /security
Main INVENTORY GUI categories:
Authentication Auto Login Premium Cracked Accounts Bedrock/PE Sessions Anti-Cheat Anti-Xray Daily Rewards Security Players Locations Logs Settings
---
- Authentication INVENTORY GUI
Show:
Authentication ────────────────
Authentication: ON Registration: ON
Premium Auth: ON Cracked Auth: ON Bedrock Auth: ON
Password Login: ON PIN Login: OFF
Email/OTP: OFF
Admin can click to enable/disable each system.
---
- Auto Login INVENTORY GUI
Create a dedicated Auto Login menu.
Display:
Auto Login ────────────────
Global Auto Login: ON
Premium Auto Login: ON Cracked Auto Login: ON Bedrock/PE Auto Login: ON
Session Duration: 24 Hours
IP Validation:
OFF
Active Sessions: 127
Admin controls:
- Enable/Disable Global Auto Login
- Enable/Disable Premium Auto Login
- Enable/Disable Cracked Auto Login
- Enable/Disable Bedrock Auto Login
- Change session duration
- Enable/Disable IP validation
- View active sessions
- Clear all sessions
- Revoke player session
---
- Anti-Cheat INVENTORY GUI
Show every check:
Fly [ON] Speed [ON] KillAura [ON] Reach [ON] AutoClick [OFF] Scaffold [ON] NoFall [ON]
Click an item to toggle it.
Allow editing:
- Sensitivity
- Violation threshold
- Punishment
- Alerts
---
- Anti-Xray INVENTORY GUI
Admin controls:
- Enable/Disable Anti-Xray
- Configure protected ores
- World settings
- Staff bypass
- Permission bypass
---
- Daily Rewards INVENTORY GUI
Admin controls:
- Enable/Disable Daily Rewards
- Edit rewards
- Reset player streak
- Give reward
- Configure cooldown
- Configure streak
- Configure reward cycle
---
- Security INVENTORY GUI
Display:
- Login attempts
- Failed login list
- Suspicious players
- Security alerts
- Active sessions
- Expired sessions
- Account information
- Security logs
- Anti-Cheat violations
---
- Player Management INVENTORY GUI
Create:
/security player <player>
INVENTORY GUI should show:
- Username
- UUID
- Account type
- Registration date
- Last login
- Last IP
- Login attempts
- Session status
- Session expiration
- Daily reward streak
- Security score
- Anti-cheat violations
- Premium status
- Bedrock status
Admin actions:
- Force logout
- Reset password
- Reset daily streak
- Clear violations
- Kick
- Freeze
- Unfreeze
- View logs
- Terminate sessions
- Revoke Auto Login session
Never display plaintext passwords or PINs.
---
- Security Alert System
Create real-time staff alerts.
Example:
[AdvancedAuth] ⚠ Suspicious Activity
Player: Steve Check: Fly Violations: 7 World: Survival Location: 125, 72, -421 Account Type: Cracked
Staff can receive alerts through permissions.
Permission:
advancedauth.alerts
---
- Security Score
Create a player security score from 0–100.
Analyze:
- Login failures
- Suspicious movement
- Anti-Cheat violations
- Impossible packets
- Account behavior
- Session anomalies
- Suspicious authentication attempts
Example:
Steve
Security Score: 91/100 Status: Suspicious Account Type: Bedrock
Do not use this score alone for automatic punishment.
---
- Automatic Punishment
Configurable actions:
NONE ALERT WARN KICK TEMP_BAN BAN
Example:
punishment:
fly: 10: WARN 20: KICK 30: TEMP_BAN
Include staff bypass permissions.
---
- Login INVENTORY GUI
Create an optional beautiful login INVENTORY GUI.
Player can enter:
- Password
- PIN
- Verification code
INVENTORY GUI should have:
- Password input
- Login button
- Security status
- Error messages
- Attempt counter
For Bedrock players, provide a Bedrock-compatible authentication interface where supported.
Do not expose passwords in chat or logs.
---
- PIN Authentication
Optional PIN system.
Commands:
/pin set <pin> /pin change <pin> /pin remove
Features:
- Secure PIN hashing
- Attempt limit
- Temporary lock
- Optional INVENTORY GUI PIN keypad
- Optional PIN login
Never store plaintext PINs.
---
- Login Protection
Before authentication:
- Block movement
- Block commands except allowed authentication commands
- Block inventory interaction
- Block chat
- Block item pickup
- Block damage
- Block attacking
- Block block breaking
- Block block placing
- Block interactions
- Block item dropping
- Block entity interaction
Allowed commands must be configurable.
---
- Commands
Player commands:
/register /reg /login /l /logout /changepassword /forgotpassword /pin /daily /reward /session /account /auth status /auth autologin
Admin:
/advancedauth /adminauth /security /security player <player> /security alerts /security logs /security sessions /security freeze <player> /security unfreeze <player> /security reload /security status /auth setloginlocation /auth setregisterlocation /auth setspawn /auth setlobby /auth setverification /auth locations /auth link /auth unlink
---
- Permissions
Create detailed permissions:
advancedauth.admin advancedauth.login advancedauth.register advancedauth.daily advancedauth.alerts advancedauth.bypass.auth advancedauth.bypass.anticheat advancedauth.bypass.antixray advancedauth.staff advancedauth.freeze advancedauth.logs advancedauth.sessions advancedauth.locations advancedauth.reload advancedauth.player.manage advancedauth.autologin.manage advancedauth.cracked.manage advancedauth.bedrock.manage advancedauth.premium.manage
All dangerous/admin permissions must be disabled for normal players by default.
---
- Configuration
Create clean configuration files:
config.yml messages.yml rewards.yml anticheat.yml antixray.yml locations.yml database.yml permissions.yml INVENTORY GUI.yml autologin.yml
All messages must be customizable.
Support:
- Hex colors
- MiniMessage
- Prefix customization
- Sounds
- Particles
- INVENTORY GUI titles
- INVENTORY GUI item names/lore
---
- Database
SQLite:
plugins/AdvancedAuth/data.db
Optional:
Store:
- UUID
- Username
- Account type
- Password hash
- Registration date
- Last login
- Login history
- IP history
- Sessions
- Session expiration
- Daily reward data
- Security violations
- Player settings
- Account linking data
- Bedrock identity where appropriate
Never store plaintext passwords or PINs.
---
- Session Database
Store secure session information such as:
player_uuid account_type session_id created_at expires_at last_login last_ip bedrock_identity premium_status
Session IDs must be generated securely.
Expired sessions must be automatically removed or invalidated.
---
- Performance
The plugin must be optimized.
Requirements:
- Avoid blocking the main server thread
- Use asynchronous database operations
- Cache frequently used data
- Avoid unnecessary packet processing
- Efficient Anti-Cheat checks
- Efficient Anti-Xray implementation
- Automatic cleanup of expired sessions/logs
- Configurable log retention
- Low memory usage
- Minimal TPS impact
Target:
Minimal TPS impact even with many players online.
---
- Plugin Architecture
Use a clean modular architecture:
AdvancedAuth ├── Auth ├── PremiumAuth ├── CrackedAuth ├── BedrockAuth ├── AutoLogin ├── Session ├── Password ├── PIN ├── Recovery ├── AccountLink ├── DailyRewards ├── AntiCheat │ ├── Fly │ ├── Speed │ ├── KillAura │ ├── Reach │ ├── AutoClicker │ ├── FastBreak │ ├── FastPlace │ ├── Scaffold │ └── NoFall ├── AntiXray ├── Security ├── PlayerManagement ├── Locations ├── INVENTORY GUI ├── Database ├── Commands ├── Permissions └── API
Use interfaces and managers so future modules can easily be added.
---
- Developer API
Provide an API for other plugins.
Example:
AdvancedAuthAPI.isAuthenticated(player); AdvancedAuthAPI.isRegistered(player); AdvancedAuthAPI.getAccountType(player); AdvancedAuthAPI.getSecurityScore(player); AdvancedAuthAPI.forceLogout(player); AdvancedAuthAPI.getSession(player); AdvancedAuthAPI.getDailyStreak(player); AdvancedAuthAPI.isAutoLoginEnabled(player); AdvancedAuthAPI.revokeSession(player);
Create custom events:
PlayerRegisterEvent PlayerLoginEvent PlayerLogoutEvent AuthenticationFailEvent SecurityAlertEvent AntiCheatViolationEvent DailyRewardClaimEvent SessionCreateEvent SessionExpireEvent AutoLoginEvent AccountLinkEvent
---
- PlaceholderAPI
Create placeholders:
%advancedauth_authenticated% %advancedauth_registered% %advancedauth_account_type% %advancedauth_security_score% %advancedauth_daily_streak% %advancedauth_session_status% %advancedauth_session_remaining% %advancedauth_last_login% %advancedauth_autologin% %advancedauth_premium% %advancedauth_bedrock% %advancedauth_cracked%
---
- Complete Authentication Flow
The final authentication flow must be:
PLAYER JOINS │ ▼ Detect Account Type │ ┌──────────────┼──────────────┐ ▼ ▼ ▼ Premium Java Cracked Java Bedrock/PE │ │ │ └──────────────┼──────────────┘ ▼ Check Trusted Session │ ▼ Session Valid? │ │ YES NO │ │ ▼ ▼ AUTO LOGIN AUTHENTICATION │ ┌──────────────┼──────────────┐ ▼ ▼ ▼ Premium Auth Password/PIN Bedrock Auth │ │ │ └──────────────┼──────────────┘ ▼ Authentication Success │ ▼ Create 24h Session │ ▼ Login/Spawn Location │ ▼ FULL ACCESS
---
- 24-Hour Auto Login Example
Example:
Player: Steve Account Type: Cracked
18:00 ↓ Successful /login ↓ Auto Login Session Created
Expires:
Next day 18:00
Player rejoins before expiration: ↓ Session Valid ↓ Automatic Login
Player joins after expiration: ↓ Session Expired ↓ /login required ↓ New 24-hour session created
The same system must work for:
- Premium Java
- Cracked Java
- Bedrock/PE
---
- Final Security Requirements
The plugin must:
- Never store plaintext passwords
- Never store plaintext PINs
- Never trust cracked usernames alone
- Never falsely identify cracked accounts as premium
- Never bypass legitimate Microsoft authentication
- Never expose session tokens
- Never expose sensitive authentication information
- Expire sessions automatically
- Allow administrators to revoke sessions
- Protect against brute-force attacks
- Protect against login spam
- Protect against account takeover
- Protect against suspicious session changes
- Minimize Anti-Cheat false positives
- Never punish players based on a single weak detection
- Keep all security modules independently enable/disable-able
- Properly handle Geyser/Floodgate being unavailable
- Properly distinguish Java, Cracked and Bedrock accounts
---
- Final Requirements
The final plugin must:
- Compile successfully
- Have no placeholder/TODO implementations
- Include plugin.yml
- Include complete source code
- Include default configuration files
- Include database initialization
- Include INVENTORY GUI system
- Include commands and permissions
- Include error handling
- Include reload support
- Include installation instructions
- Include README.md
- Be compatible with Paper/Spigot/Purpur 1.21.x
- Be secure against common authentication attacks
- Never log plaintext passwords or PINs
- Never punish players based on a single weak Anti-Cheat signal
- Keep all security modules independently enable/disable-able
- Provide "/advancedauth" admin INVENTORY GUI for controlling Authentication, Premium Auth, Cracked Auth, Bedrock Auth, Auto Login, Anti-Cheat, Anti-Xray, Daily Rewards, Sessions, Locations and Security settings.
The final result should feel like a professional combination of:
AdvancedAuth + Premium Auth + Cracked Auth + Minecraft PE/Bedrock Auth + 24-Hour Auto Login + Account Security + Anti-Cheat + Anti-Xray + Daily Rewards + Security Management
with a complete INVENTORY GUI-driven administration system.
The plugin must be production-ready, modular, secure, optimized and extensible.