COWMODSКаталог модов

Spark Login

A simple Login/register Plugin with Dialog UI & many more thing for Servers.

Автор: MrDefault10,9 тыс.11обновлён 6 авг. 2026 г.
УправлениеУтилиты

Описание

🔐 SparkLogin

License Platform Author

Modern graphical authentication for Paper servers.
No chat commands. No bloat. Just a clean dialog UI that gets players in fast and safe.


✨ Features

  • Dialog UI — graphical login & register screens, no typing commands in chat
  • Smart version routing — pre-join dialog on 1.21.11+, post-join dialog on 1.21.4–1.21.10
  • Full lockdown — movement, chat, commands, inventory all blocked until authenticated
  • Session auto-login — returning players skip the dialog if their session is still valid
  • BCrypt security — configurable cost factor, brute-force delay, max attempt kicks
  • AuthMe migration — one command imports all accounts, supports SHA256 & BCrypt hashes
  • Custom branding — change the dialog title prefix to match your server
  • Async everything — HikariCP + SQLite with WAL mode, zero server lag

🛠 Commands

Players

/login <password>
/register <password> <confirm>
/changepassword <old> <new> <confirm>
/logout

Admins (sparklogin.admin)

/sparklogin reload
/sparklogin info <player>
/sparklogin resetpassword <player>
/sparklogin unregister <player>
/sparklogin migrate authme

⚙️ Configuration Highlights

branding:
  prefix: "SparkLogin"        # shown in all dialog titles

security:
  bcrypt-cost-factor: 12
  max-login-attempts: 3
  brute-force-delay-ms: 1500

session:
  enabled: true
  duration-hours: 12

registration:
  min-password-length: 6
  max-accounts-per-ip: 3

All dialog text is fully customizable in lang/en_US.yml using MiniMessage formatting.


📦 Installation

  1. Drop SparkLogin-3.0.0.jar into your plugins/ folder
  2. Restart the server
  3. Edit plugins/SparkLogin/config.yml and lang/en_US.yml
  4. Done

📋 Requirements

ServerPaper 1.21.4+
Java21+
DependenciesNone (all shaded)

📄 License

Developed by MrDefault — version 3.0.0

Галерея

Dialog UI Register

Последние версии

Все версии →
release

Spark Login 3.0.0

3.0.0
6 авг. 2026 г.7,2 тыс.Minecraft: 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2paper, purpur, spigot
Скачать
Что нового
Updated to 3.0.0. Added 26.X Support.
release

Spark Login 2.0.0

2.0.0
21 июн. 2026 г.1,6 тыс.Minecraft: 1.21.11paper, purpur, spigot
Скачать
Что нового
## [2.0.0] - 2026-06-21 ### 🎨 Major Features #### Dialog UI Authentication - **Implemented graphical pre-join authentication** using Paper's Dialog API - Players now see beautiful dialog boxes for registration and login instead of chat commands - Click-based authentication with button inputs - Seamless integration with server join flow - Full player lockdown until authentication completed - Modern, user-friendly interface #### AuthMe Migration System - **Added `/sparklogin migrate authme` command** for one-click migration from AuthMeReloaded - Supports SHA256 and BCRYPT hash types from AuthMe - Automatic detection of AuthMe database backend (SQLite, MySQL, MariaDB) - Reads AuthMe configuration from `plugins/AuthMe/config.yml` - Preserves all player passwords - no resets required - **Auto-upgrade to BCrypt** on first successful login after migration - Creates backup before migration at `plugins/SparkLogin/backups/pre-authme-migration-<timestamp>.db` - Progress tracking with action bar display - Detailed migration logging at `plugins/SparkLogin/logs/authme-migration.log` - Batch import for efficient processing - Statistics summary after migration (imported, skipped, unsupported, failed) ### ⚡ Performance Optimizations #### Account Caching - **Implemented high-performance account caching** using Caffeine library - Reduces database queries by caching frequently accessed accounts - Configurable TTL (default: 5 minutes) and max size (default: 1000) - Sliding expiration on cache reads - Cache invalidation on account updates (save, update, delete) - Configurable via `cache.account-ttl-minutes` and `cache.max-size` in config.yml ### 🎮 User Experience #### Chat Messages - **Added chat messages** after successful login: "Logged In. Enjoy!" - **Added chat messages** after successful registration: "Successfully registered. Enjoy!" - Enhanced user feedback for authentication events #### Command Registration - **Registered `/sparklogin migrate authme` command** in plugin.yml - Updated tab completion for migrate command - Added permission: `sparklogin.admin` ### 🐛 Bug Fixes - Fixed SHA256 password verification to match AuthMe's exact implementation - Resolved issues with AuthMe hash type detection - Fixed cache invalidation on account updates ### 🔄 Breaking Changes - **Plugin version updated to 2.0.0** - Database schema migration required (automatic on first run) - Existing accounts will have `hash_type` set to BCRYPT by default ---
release

Spark Login 1.2.0

1.2.0
26 апр. 2026 г.1,2 тыс.Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, spigot
Скачать
release

Spark Login 1.1.0

1.1.0
10 янв. 2026 г.600Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, spigot
Скачать
release

Spark Login 1.0.0

1.0.0
25 нояб. 2025 г.271Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, spigot
Скачать