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.
NexAuth Developer Documentation
Technical documentation for developers building with NexAuth, creating integrations, or contributing to the project.Getting Started
Prerequisites
Before developing with NexAuth, ensure you have:
- Java 17 or higher
- Maven 3.6+ or Gradle 7.0+
- Git for version control
- IDE (IntelliJ IDEA recommended)
- Basic understanding of Minecraft server development
Explore Codebase
Familiarize yourself with the project structure and key components.Explore architecture →
Documentation
Architecture
Understand NexAuth’s internal architecture, design patterns, and component organization.
Building
Complete build guide for compiling, testing, and packaging NexAuth.
Contributing
Guidelines for contributing code, reporting issues, and submitting pull requests.
Platform Support
Technical details about multiplatform support and platform-specific implementations.
Integration Guides
API Reference
Complete API documentation for integrating NexAuth with your plugins and applications.
Event System
Event System
NexAuth provides a comprehensive event system for reacting to authentication events:View event documentation →
Provider API
Provider API
Database Integration
Database Integration
NexAuth supports multiple database backends through its abstraction layer:
- MySQL/MariaDB - Recommended for production
- PostgreSQL - Advanced features and performance
- H2 - Testing and development
- SQLite - Lightweight embedded database
Development Tools
Testing Framework
Comprehensive test suite with unit tests, integration tests, and mock server support.
Debugging Tools
Built-in debugging tools, verbose logging, and development mode for easier troubleshooting.
Specialized Topics
Limbo Integration
Advanced integration with Limbo servers for pre-authentication player handling and state management.
Best Practices
Security Considerations
Security Considerations
When developing with NexAuth:
- Never store plaintext passwords - Always use the crypto utilities
- Validate all input - Prevent injection attacks through proper validation
- Use parameterized queries - Avoid SQL injection in database operations
- Follow principle of least privilege - Minimize permissions for database users
- Keep dependencies updated - Regularly update for security patches
Performance Guidelines
Performance Guidelines
Optimize your integrations for performance:
- Use async operations - Don’t block the main server thread
- Implement caching - Cache frequently accessed data
- Batch database operations - Reduce database round trips
- Profile and test - Use profiling tools to identify bottlenecks
- Monitor resource usage - Track memory and CPU usage
Code Style
Code Style
Follow our coding standards:
- Java code conventions - Follow standard Java naming and formatting
- Javadoc comments - Document public APIs with Javadoc
- Meaningful names - Use descriptive variable and method names
- Small methods - Keep methods focused and concise
- Error handling - Proper exception handling and logging
Contributing
We welcome contributions from the community! Here’s how to get involved:Check Existing Issues
Browse GitHub Issues to find open issues or feature requests.
Make Changes
Implement your changes following our contributing guidelines.
Resources
Source Code
Browse the source code on GitHub.
Issue Tracker
Report bugs and request features.
Discussions
Join community discussions and ask questions.
CI/CD Pipeline
View build and test status on GitHub Actions.
Support
Getting Help
Getting Help
If you need help with development:
- Check documentation - Review existing docs first
- Search issues - See if your question has been answered
- Ask in discussions - Post your question in GitHub Discussions
- Join Discord - Connect with other developers (coming soon)
- Create issue - Report bugs or feature requests
Reporting Bugs
Reporting Bugs
When reporting bugs, include:
- NexAuth version - The specific version you’re using
- Platform and version - Velocity/Paper version
- Java version - Output of
java -version - Steps to reproduce - Clear reproduction steps
- Expected vs actual - What you expected vs what happened
- Error logs - Relevant server logs and stack traces
- Configuration - Sanitized configuration files
License
NexAuth is released under the MIT License. Contributions are accepted under the same license.Ready to contribute?
Read our full contribution guidelines and start contributing today.

