All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Spark Login

Spark Login

by MrDefault • Downloads: 7 • Followers: 0
Description
Gallery
Changelog
Versions

🔐 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

Server Paper 1.21.4+
Java 21+
Dependencies None (all shaded)

📄 License

Developed by PavitraXD — version 3.0.0

How to Install Spark Login (Plugin)

Spark Login by MrDefault is verified for Bukkit, Paper, Purpur, Spigot across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5 (latest release: 3.0.0, file size: 22.3 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5) and platform (Bukkit, Paper, Purpur, Spigot).
  2. Make sure you have the compatible loader or environment installed for Bukkit, Paper, Purpur, Spigot.
  3. Move the downloaded Spark Login file into your Minecraft .minecraft/plugins folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2 26.1.x 1.21.x
Paper Purpur Spigot
2mo ago 4
1.21.11
Paper Purpur Spigot
2mo ago 2
1.21.x
Bukkit Paper Spigot
2mo ago 1
1.21.x
Bukkit Paper Spigot
2mo ago 1
1.21.x
Bukkit Paper Spigot
2mo ago 1
[3.0.0] Spark Login 3.0.0 by MrDefault on Oct 15, 2026
Download
Updated to 3.0.0.
Added 26.X Support.
[2.0.0] Spark Login 2.0.0 by MrDefault on Oct 15, 2026
Download
## [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

Spark Login Icon
Download Spark Login
Select game version
Select platform