Skip to content

Testing & Examples

Example Project

Check out our example integration plugin repository:

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

  1. Build your plugin:
bash
./gradlew build
  1. Copy the JAR to your test server's plugins/ folder
  2. Ensure Pano MC Plugin is installed and connected
  3. Install your target plugin
  4. 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()}")
}