NewAuth is a modern authentication plugin for Paper 1.21.6+ servers. Players log in or register using a native dialog window that appears before they join the world.
## Features
• Paper Dialog API – Login/register dialogs appear on-screen before players enter the world
• Fallback commands – /login and /register work when Dialog API is unavailable (e.g. older clients)
• Fully configurable – Every message, label, and button text is editable in config.yml
• PBKDF2-HMAC-SHA256 – Secure password hashing with 100,000 iterations
• LuckPerms compatible – Handles Paper's reconfiguration phase (no stuck "Joining world..." screen)
• No external dependencies – Uses only Paper API and Java standard library
• Thread-safe – Safe for async connection events
## Requirements
• Paper 1.21.6+ (or compatible fork) – Required for Dialog API
• Java 21 – Required by Paper 1.21
## Installation
1. Download NewAuth and place the JAR in your server's plugins folder
2. Restart the server (or use a plugin manager)
3. Edit plugins/NewAuth/config.yml to customize messages and settings
## Configuration
All messages, dialog text, and settings are in config.yml:
• settings.min-password-length – Minimum password length (default: 6)
• settings.dialog-width, dialog-timeout-minutes – Dialog behavior
• messages.dialog.login / register – Dialog titles, labels, buttons
• messages.disconnect – Messages shown when players are disconnected
• Color codes supported: &a &c &e &7 &f &r