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.
Paper/Purpur Installation
This guide walks you through installing NexAuth directly on your Paper or Purpur server for single-server authentication.Prerequisites
- Java 21 or newer
- Paper 1.20+ or Purpur
- Administrative access to server files
- Server must run in offline mode
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 Paper/Purpur servers and Velocity proxies - no separate files needed.Plugin/build/libs/NexAuth.jarConfigure Server Properties
Before installing, ensure your server runs in offline mode:Editserver.properties:Setting
online-mode=false is required for NexAuth to function properly.Install on Paper/Purpur
- Stop your Paper/Purpur server
- Navigate to the
plugins/directory - Copy
NexAuth.jarinto theplugins/directory - Start your Paper/Purpur server
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.
Configuration Reference
Key Settings for Paper Mode
Paper-Specific Features
Inventory Hiding
NexAuth can hide player inventories during authentication:Protocol Support
For Bedrock players via Geyser/Floodgate:Troubleshooting
Common Issues
Plugin generates config then shuts down
This is normal behavior. Edit the config file and restart the server.Players getting kicked immediately on join
- Ensure
online-mode=falseinserver.properties - Check that no other authentication plugins are installed
- Verify the configuration is correct
Inventory hiding not working
- Ensure
hide-player-inventory=truein config - Check for conflicts with other inventory plugins
- Verify you’re using Paper/Purpur (not Spigot)
Performance issues
- Consider using MySQL instead of SQLite for larger servers
- Adjust
register-delayif experiencing lag - Check server resources
Log Locations
- Paper/Purpur:
/path/to/server/logs/ - NexAuth Logs: Included in server logs
Performance Tips
For Large Servers
For Bedrock Players
Comparison: Paper vs Velocity Mode
| Feature | Paper Mode | Velocity Mode |
|---|---|---|
| Installation | Direct on server | On proxy only |
| Backend Security | Server exposed to internet | Backend servers protected |
| Multi-Server | Single server only | Multiple servers supported |
| Setup Complexity | Simple | Requires proxy configuration |
| Performance | Direct | Slight overhead from proxy |
Next Steps
- 📖 Configure your database for better performance
- 📖 Enable TOTP two-factor authentication (coming soon)
- 📖 Learn about advanced configuration (coming soon)

