Skip to main content

Adding the Dependency

In order to use the QualityArmory API you need to add the plugin as a dependency. Replace VERSION with the latest version: GitHub release

Java Dependency

To add QA to your project using maven, copy the following into the POM.xml.
<repository>
    <id>codemc-repo</id>
    <url>https://repo.codemc.io/repository/maven-public/</url>
</repository>

<dependency>
    <groupId>me.zombie_striker</groupId>
    <artifactId>QualityArmory</artifactId>
    <version>VERSION</version>
    <scope>provided</scope>
</dependency>

Plugin Dependency

Add the plugin as a dependency to your plugin by editing the plugin.yml file by including the following line under the depend section:
# Use this if QualityArmory is required
depend: [QualityArmory]
# Use this if QualityArmory is optional
softdepend: [QualityArmory]
This ensures that your plugin will load after QualityArmory. If your plugin requires specific features from QualityArmory at runtime, remember to also use appropriate checks in your code to confirm that QualityArmory is enabled.