Skip to content

RankForge API Dependency Setup – Maven, Gradle & plugin.yml

To integrate with the API, your plugin compiles against the RankForge JAR without bundling it (provided / compileOnly scope), and declares the dependency in plugin.yml.

  1. Download RankForge-1.0.0.jar from the Modrinth Release Page.
  2. Save the JAR into your plugin project’s libs/ directory.
<dependency>
<groupId>xyz.noxlydev</groupId>
<artifactId>RankForge</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/RankForge-1.0.0.jar</systemPath>
</dependency>
# Hard dependency (plugin requires RankForge to boot)
depend:
- RankForge
# OR Soft dependency (optional feature integration)
softdepend:
- RankForge
import xyz.noxlydev.rankforge.api.RankForgeAPI;
if (RankForgeAPI.isAvailable()) {
int points = RankForgeAPI.get().getPoints(player);
}