Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
๐ SleepyAuth
Sleep peacefully. Your server is protected.
Advanced authentication & account protection for Paper servers
๐ About
SleepyAuth is an authentication and account-protection plugin for Paper servers. It asks players to register or log in, restricts unauthenticated players, and provides account security, session management, moderation tools, maintenance mode, logging, and optional Discord/Floodgate features.
Offline-mode (cracked) servers have no Mojang authentication โ anyone can join as any username. SleepyAuth fixes this by locking usernames to real owners, protecting player progress, and adding layered security.
Compatibility: Paper 1.20.x and newer (Java 17 bytecode; Paper 1.21+ needs Java 21)
Optional Integrations: Floodgate for Bedrock detection โข Discord webhooks for event notifications
โจ Features
๐ Registration & Login
Players register with /register <password> <password> [true|false] and log in with /login <password>. Passwords are hashed โ PBKDF2 by default, with salted SHA256 support. Plaintext passwords are never stored or logged.
๐ก๏ธ Login Protection
Unauthenticated players receive prompts and action-bar reminders. Join/quit announcements are suppressed until authentication. Configurable restrictions block movement, chat, commands, interactions, damage, hunger, item pickup/drop, and inventory access.
๐ Void World Protection
An optional generated void world isolates unauthenticated players on a small protected platform. Prevents base stealing, coordinate leaking, griefing, and player tracking.
โฑ๏ธ Protection Countdown
After login, a configurable countdown shows a TextDisplay above the player and blocks damage until it expires. Can apply only to first-time registrations.
๐ Remember Me & Sessions
Optional Remember Me tokens provide longer auto-login (configurable lifetime, optional same-IP enforcement). Short-lived sessions restore login after disconnects. Cleared on logout or password change.
๐ฎ Bedrock / Floodgate Support
Optional Floodgate detection recognizes Bedrock players. By default, verified Bedrock players skip authentication; force-auth can require them to register or log in instead.
๐ฅ Alt Detection
Tracks registered accounts that share the same IP. Auto-creates alternate-account records (without password hashes) and can alert admins in-game or via Discord.
๐ Account Security
Per-account brute-force lockouts, per-IP failed-login rate limiting, account-per-IP limits (with bypass permission), and same-name/different-IP connection checks. Lockouts persist in bans.yml across restarts.
๐ ๏ธ Admin Tools
Full admin command suite: /sa reload, /forcelogin, /forcelogout, /resetpassword, /unban, /sessions, /info, /stats, /void, and more. Java admins must authenticate by default.
๐ง Maintenance Mode
/maintenance on [reason] [| estimated time] announces a kick countdown, rejects new non-staff connections, and kicks current non-staff players. Operators are exempt unless configured otherwise.
๐ Discord Webhook Logging
Colored embeds for first-time registrations, alt detections, admin force-logins, private messages (/msg, /tell, /whisper), sign placement/edits, and maintenance start/end.
๐ Spawn System
Teleport players to spawn before login, then return them to their last saved or configured location after authentication.
๐ Commands
๐ค Player Commands
| Command | Description |
|---|---|
/register <password> <password> [true|false] |
Create an account (optional Remember Me toggle) |
/login <password> |
Log into your account |
/logout |
Log out and clear Remember Me token |
/changepassword <old> <new> |
Change your password |
/unregister <password> |
Delete your account |
/rememberme <true|false> |
Toggle Remember Me |
๐ ๏ธ Admin Commands
| Command | Description |
|---|---|
/sa help |
Show admin command list |
/sa reload |
Reload config & messages |
/sa forcelogin <player> |
Authenticate an online player |
/sa forcelogout <player> |
Return player to unauthenticated state |
/sa resetpassword <player> <new> |
Reset a player's password |
/sa unban <player|ip> |
Remove lockout or rate-limit state |
/sa sessions |
List active remembered sessions |
/sa info <player> |
Show player account details |
/sa stats |
Show plugin statistics |
/sa void |
Toggle between void world and spawn |
/maintenance on/off [reason] [| time] |
Toggle maintenance mode |
๐ Permissions
| Permission | Description | Default |
|---|---|---|
sleepyauth.admin |
All admin permissions | OP |
sleepyauth.reload |
/sa reload |
OP |
sleepyauth.forcelogin |
/sa forcelogin |
OP |
sleepyauth.forcelogout |
/sa forcelogout |
OP |
sleepyauth.resetpassword |
/sa resetpassword |
OP |
sleepyauth.unban |
/sa unban |
OP |
sleepyauth.sessions |
/sa sessions |
OP |
sleepyauth.info |
/sa info |
OP |
sleepyauth.stats |
/sa stats |
OP |
sleepyauth.void |
/sa void |
OP |
sleepyauth.maintenance |
/maintenance |
OP |
sleepyauth.bypass |
Java admin login bypass | โ |
sleepyauth.bypass.iplimit |
Bypass IP account limit | OP |
๐ Changelog
V4.0.0 โ Stable Authentication & Security Update
โจ New
- Void World Protection for unauthenticated players
- Protection Countdown with TextDisplay & damage blocking
- Account-per-IP limit with bypass permission
- Alternate-account tracking (no password hashes copied)
- Remember Me toggle (
/register ... [true|false],/rememberme) - Floodgate/Bedrock auto-login support
- Maintenance Mode with reason & estimated time
- Discord webhooks: registrations, alts, force-logins, PMs, signs, maintenance
- Spawn system โ return to last saved or configured location after login
- Admin tools:
/sa forcelogin,/sa forcelogout,/sa resetpassword,/sa unban,/sa sessions,/sa info,/sa stats,/sa void
๐ง Changed
- Paper 1.20.x+ support (Java 17 bytecode)
- PBKDF2 default hashing (SHA256 fallback); BCrypt/Argon2 fall back to PBKDF2
- Async password hashing & verification
- Brute-force lockouts + IP rate limiting with persistence in
bans.yml - Configurable restrictions: movement, chat, commands, interaction, damage, hunger, items, inventory
- Java admins must authenticate by default
โ ๏ธ Notes
- No tags or rank system
- Passwords never logged in plaintext
- Requires Java 21+ on Paper 1.21 servers
๐ Why SleepyAuth?
SleepyAuth is designed to provide more than just a basic /login command.
It combines authentication, security, session management, moderation tools, and server utilities into one organized plugin.
The goal is simple:
ยซKeep players protected while making server management easier.ยป
Install SleepyAuth, configure it for your server, and let your players enjoy a safer Minecraft experience.
๐ฅ Installation
- Use a Paper server (install Floodgate separately if Bedrock detection is needed)
- Place
SleepyAuth-4.0.0.jarin your server'spluginsfolder - Start the server once to create config and data folders
- Review
config.ymlโ especially authentication, account limits, void-world, maintenance, and Discord settings - You're done! ๐
Building from source:
mvn clean package
# Output: target/SleepyAuth-4.0.0.jar
๐ฌ Etherno Project โ Community & Support
SleepyAuth is developed for the Etherno Project Minecraft server.
Join our Discord to:
- ๐ฎ Join the Etherno Project Minecraft server
- ๐ฌ Get help & support with SleepyAuth
- ๐ Report bugs
- ๐ก Suggest features
- ๐ข See the latest updates & announcements
- ๐ค Hang out with our community
๐ SleepyAuth
Simple. Secure. Reliable.
ยซSleep peacefully. Your server is protected.ยป
Made with โค๏ธ by the Etherno Project team


