Documentation Index
Fetch the complete documentation index at: https://docs.xreatlabs.space/llms.txt
Use this file to discover all available pages before exploring further.
Velocity Proxy Installation
This guide walks you through installing NexAuth on your Velocity proxy server for secure, multi-server authentication.Prerequisites
- Java 21 or newer
- Velocity 3.3.0-SNAPSHOT or newer
- Backend Paper/Purpur servers
- Administrative access to server files
Installation Steps
Download or Build NexAuth
Choose one of these methods:Option A: Download from ReleasesDownload the latestNexAuth.jar from the GitHub ReleasesA single
NexAuth.jar works on both Velocity proxies and Paper/Purpur servers - no separate files needed.Plugin/build/libs/NexAuth.jarInstall on Velocity Proxy
- Stop your Velocity proxy server
- Navigate to the
plugins/directory in your Velocity installation - Copy
NexAuth.jarinto theplugins/directory - Start your Velocity proxy
Initial Configuration Generation
After first startup:- The plugin will generate a configuration file at
plugins/nexauth/config.conf - The server will automatically shut down after generating the config
- This is normal behavior - we’ll configure it in the next step
This automatic shutdown is expected behavior. The plugin needs to generate the default configuration before running.
Configure Backend Servers
Important: All backend servers must:- Run Paper/Purpur with
online-mode=false - NOT be exposed directly to the internet
- Have
online-mode=falsein theirserver.properties
server.properties for backend servers:Never expose backend servers directly to the internet. All player connections must go through the Velocity proxy.
Configuration Reference
Key Settings for Velocity Mode
Troubleshooting
Common Issues
Plugin generates config then shuts down
This is normal behavior. Edit the config file and restart the server.Players can’t connect to backend servers
- Ensure
online-mode=falseon backend servers - Check Velocity’s
velocity.tomlconfiguration - Verify server addresses are correct
Authentication not working
- Check logs for errors
- Verify premium mode settings
- Ensure database connection is working
Players getting kicked during login
- Increase
register-delayif experiencing lag - Check for conflicting plugins
- Verify TOTP settings if enabled
Log Locations
- Velocity Proxy:
/path/to/velocity/logs/ - NexAuth Logs: Included in Velocity logs
Getting Help
- Check the first run configuration for detailed setup
- Review database setup if using external databases
- Visit GitHub Issues for support
Next Steps
- 📖 Configure your database for better performance
- 📖 Set up TOTP two-factor authentication (coming soon)
- 📖 Learn about advanced configuration (coming soon)

