Testing & Examples
Example Project
Check out our example integration plugin repository:
- Example Integration Plugin (Reference implementation)
This repository demonstrates:
- Setting up Pano MC Plugin API dependency
- Creating custom requests and handlers
- Hooking into third-party plugins
- Best practices and patterns
Testing Your Integration
Local Testing
- Build your plugin:
bash
./gradlew build- Copy the JAR to your test server's
plugins/folder - Ensure Pano MC Plugin is installed and connected
- Install your target plugin
- Start the server and test functionality
Debugging
Enable debug logging in your plugin:
kotlin
if (config.getBoolean("debug", false)) {
logger.info("[Debug] Request sent: ${request.getRequestType()}")
}