Skip to content

Start using the ChamoItemSkins API

We host the API on our own maven repository, which you can add with these blocks of code:

build.gradle.kts
repositories {
maven {
name = "chamosmpRepoReleases"
url = uri("https://maven.chamosmp.net/releases")
}
}
dependencies {
compileOnly("net.chamosmp.chamoitemskins:api:{verion}")
}

Get the api class through the Bukkit services manager like this:

ChamoItemSkinsApi api = Bukkit.getServicesManager().load(ChamoItemSkinsApi.class);
if (api != null) {
// Use the api here
}