VGRAVES API
Dependency Management
VGraves exposes a public API service for other plugins. You can consume it through Bukkit ServicesManager or through the plugin singleton.
Maven and Gradle
<repositories>
<repository>
<id>vzone-repo</id>
<url>https://repo.vzone.hu/releases</url>
</repository>
</repositories>
<dependency>
<groupId>hu.vzone</groupId>
<artifactId>VGraves</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>repositories {
maven("https://repo.vzone.hu/releases")
}
dependencies {
compileOnly("hu.vzone:VGraves:1.0.0")
}Runtime Access
- Bukkit
ServicesManagerlets other plugins discover the API without hard-coding the plugin class. VGraves.getInstance().getApi()gives direct access if the plugin is already available in code.