Server Software
SunLicense Integration Guide for Minecraft Server Software
Prerequisites
Java Development Environment
Maven/Gradle
Your Minecraft server project
SunLicense API credentials
Integration Steps
1. Add Dependencies
Add this to your pom.xml
:
2. Create License Validator
3. Implement in Server Startup
Best Practices
Startup Validation
Validate license before server initialization
Implement graceful shutdown on validation failure
Log validation status
Regular Validation
Implement periodic checks
Handle network issues gracefully
Cache validation results
Error Handling
Clear error messages
Proper logging
Graceful shutdown procedures
Troubleshooting
Startup Failures
Check license key validity
Verify network connectivity
Confirm product ID
Runtime Issues
Monitor validation logs
Check for network problems
Verify license hasn't expired
Last updated