MCIdentity common
The storage backends, the central server client, MCIdentityManager and MCIdentityProvider.
Coordinates
groupId
io.github.mcoriax
artifactId
mcidentity-common
version
5.0.1
registry
https://maven.pkg.github.com/MCOriax/mcidentity
Add the dependency
The module is published to the plugin's GitHub Packages registry. Reading it needs a
token with the read:packages scope. MCIdentity is installed on the server, so
compile against it without shading it (Gradle, Groovy DSL):
repositories {
maven {
url = uri("https://maven.pkg.github.com/MCOriax/mcidentity")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
compileOnly "io.github.mcoriax:mcidentity-common:5.0.1"
}
Name MCIdentity 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 MCIdentity through MCIdentityProvider. The MCIdentity overview describes what it
offers; its method signatures are in the source on GitHub.