MCAgents module

MCAgents common

The storage and the AI workflow behind MCAgentsProvider.

v6.10.0 Published

Coordinates

groupId
io.github.mcpaimon
artifactId
mcagents-common
version
6.10.0
registry
https://maven.pkg.github.com/MCPaimon/mcagents

Add the dependency

The module is published to the plugin's GitHub Packages registry. Reading it needs a token with the read:packages scope. MCAgents is installed on the server, so compile against it without shading it (Gradle, Groovy DSL):

build.gradle
repositories {
    maven {
        url = uri("https://maven.pkg.github.com/MCPaimon/mcagents")
        credentials {
            username = System.getenv("GITHUB_ACTOR")
            password = System.getenv("GITHUB_TOKEN")
        }
    }
}

dependencies {
    compileOnly "io.github.mcpaimon:mcagents-common:6.10.0"
}

Name MCAgents in your plugin.yml as depend (or softdepend when your plugin also runs without it), so the server loads it first.

Where to start

Other plugins reach MCAgents through MCAgentsProvider. The MCAgents overview describes what it offers; its method signatures are in the source on GitHub.

Other modules