Testing & Examples
Example Project
There is no separate example repository. The Pano MC Plugin's own messages are the reference; they use the same classes as your plugin:
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::class.simpleName} (${request.eventId})")
}