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.
First Run Configuration
This guide walks you through the initial configuration of NexAuth after your first startup.What Happens on First Run
When you start NexAuth for the first time:- The plugin generates a default
config.conffile - It automatically shuts down the server
- This is normal - we need to configure it before full operation
The automatic shutdown after first startup is intentional. NexAuth generates a default configuration file that you should review before running the plugin.
Understanding the Generated Config
After first shutdown, you’ll findplugins/NexAuth/config.conf with these main sections:
Essential Configuration Steps
1. Set Your Deployment Mode
Choose the correct mode for your setup:2. Configure Online/Premium Mode
Important:
online-mode=false is required wherever NexAuth is installed.3. Registration and Login Commands
Customize the commands players use:4. Database Configuration
- Tab Title
- Tab Title
- Tab Title
Perfect for small servers and development setups. No additional services required.Advantages:
- ✅ No setup required
- ✅ No additional services
- ✅ Easy to backup (just copy the .db file)
- ✅ Good for small servers (< 100 players)
5. Adjust Registration Settings
Advanced Configuration
TOTP Two-Factor Authentication
Debug Mode
Set debug level for troubleshooting:Only enable debug level 2 or 3 when troubleshooting. Higher debug levels can impact performance and generate large log files.
Rate Limiting
After Configuration
Save and Test
- Save your
config.confchanges - Start your server (Velocity or Paper/Purpur)
- Test with both premium and offline accounts
Verify Database Connection
Check your server logs for:- Database connection successful
- No SQL errors
- User table creation
Test Player Experience
Have players test:- Premium account auto-login
- Offline account registration
- Login commands
- Any TOTP setup (if enabled)
Common Configuration Issues
Database Connection Failed
- Check database server is running
- Verify connection details
- Ensure database user has proper permissions
Commands Not Working
- Check for plugin conflicts
- Verify command syntax in config
- Check server logs for errors
Players Getting Kicked
- Ensure
online-mode=falseis set correctly - Check
register-delayis adequate - Verify no conflicting plugins
Recommended First Setup
- Tab Title
- Tab Title
Basic setup for new servers
Getting Help
If you run into issues:- Check the troubleshooting guides
- Review database setup for database-specific issues
- Check server logs for error messages
- Visit GitHub Issues for support
Next Steps
Once you have the basic configuration working:- 📖 Database setup for performance optimization
- 📖 Installation guides for deployment options
- 📖 Advanced configuration topics (coming soon)

