Skip to content
granny edited this page Jun 17, 2024 · 8 revisions

In order to use the Pl3xMap API in your plugin or addon you must first import it to your project using gradle or maven.

Gradle (Groovy)
repositories {
    maven {
        url = "https://api.modrinth.com/maven"
    }
}
dependencies {
    compileOnly "maven.modrinth:pl3xmap:1.21-500"
}
Gradle (Kotlin)
repositories {
    maven {
        url = uri("https://api.modrinth.com/maven")
    }
}
dependencies {
    compileOnly("maven.modrinth:pl3xmap:1.21-500")
}
Maven
<repositories>
    <repository>
        <id>Modrinth</id>
        <url>https://api.modrinth.com/maven</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>maven.modrinth</groupId>
        <artifactId>pl3xmap</artifactId>
        <version>1.21-500</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Javadocs

https://granny.github.io/Pl3xMap/