Minecraft Mods
SunLicense Integration Guide for Minecraft Mods
Prerequisites
Forge/Fabric mod development environment
Gradle
SunLicense API credentials
Integration Steps
1. Add Repository and Dependency
In your build.gradle
:
2. Create License Manager
3. Implement in Mod Main Class
Best Practices
Mod Loading
Validate before initializing features
Provide clear feedback to users
Handle offline mode gracefully
Feature Management
Graceful feature disabling
Clear user communication
Cache validation results
Common Issues
Mod Loading Failures
Verify license key
Check network connectivity
Confirm dependency inclusion
Runtime Problems
Monitor mod logs
Check for network issues
Verify license status
Last updated