▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/SleepyAuth
SleepyAuth

SleepyAuth

SleepyAuth helps protect your server by requiring players to authenticate before accessing the world. Designed with simplicity and reliability in mind, it provides a smooth authentication experience while keeping unauthorized players away.

Оцените первым
50
0

🌙 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

CommandDescription
/register <password> <password> [true|false]Create an account (optional Remember Me toggle)
/login <password>Log into your account
/logoutLog 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

CommandDescription
/sa helpShow admin command list
/sa reloadReload 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 sessionsList active remembered sessions
/sa info <player>Show player account details
/sa statsShow plugin statistics
/sa voidToggle between void world and spawn
/maintenance on/off [reason] [| time]Toggle maintenance mode

🔑 Permissions

PermissionDescriptionDefault
sleepyauth.adminAll admin permissionsOP
sleepyauth.reload/sa reloadOP
sleepyauth.forcelogin/sa forceloginOP
sleepyauth.forcelogout/sa forcelogoutOP
sleepyauth.resetpassword/sa resetpasswordOP
sleepyauth.unban/sa unbanOP
sleepyauth.sessions/sa sessionsOP
sleepyauth.info/sa infoOP
sleepyauth.stats/sa statsOP
sleepyauth.void/sa voidOP
sleepyauth.maintenance/maintenanceOP
sleepyauth.bypassJava admin login bypass—
sleepyauth.bypass.iplimitBypass IP account limitOP

📝 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

  1. Use a Paper server (install Floodgate separately if Bedrock detection is needed)
  2. Place SleepyAuth-4.0.0.jar in your server's plugins folder
  3. Start the server once to create config and data folders
  4. Review config.yml — especially authentication, account limits, void-world, maintenance, and Discord settings
  5. 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

Join Etherno Project • Report Bug • Request Feature

Партнёрский материал

Сервер для плагина SleepyAuth - как у профи

Плагин SleepyAuth создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином SleepyAuth для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:
Опубликован:2 месяца назад
Обновлён:1 месяц назад
Главная