Skip to content

Installation

Witness requires a Fabric server with Cobblemon installed.

  • Minecraft: 1.21.1
  • Fabric Loader: Latest version
  • Fabric API: Latest for 1.21.1
  • Cobblemon: 1.6.1+ (Fabric)
  • Kotlin for Fabric: Latest version
  1. Download Witness

    • Get the latest .jar file from your distribution source
  2. Install Dependencies

    mods/
    ├── fabric-api-x.x.x.jar
    ├── fabric-language-kotlin-x.x.x.jar
    ├── cobblemon-fabric-x.x.x.jar
    └── witness-x.x.x.jar
  3. First Launch

    • Start your server
    • Witness will generate configuration files in config/witness/
    • Stop the server to configure
  4. Configure

    • Edit config/witness/config.json to your preferences
    • Configure camera sequences and ML settings
    • Restart the server

To verify Witness is installed correctly:

/witness debug

You should see debug information about the camera system status.

If you want to enable the machine learning camera system:

  1. Edit config/witness/config.json:

    {
    "mlCamera": {
    "enabled": true,
    "learningRate": 0.01,
    "saveInterval": 300
    }
    }
  2. Restart the server

  3. ML models will be created as players use the system

  • Check that Cobblemon battles are working
  • Verify Witness is loaded: /witness debug
  • Check server logs for errors
  • Ensure mlCamera.enabled is true
  • Check that ML model files are being created in config/witness/ml/
  • Verify sufficient player interaction data