Skip to main content

Developer API

Dependency

Put the plugin's jar file in a folder within your project:

note
<dependency>
<groupId>dev.pixelstudios</groupId>
<artifactId>EpicAchievements</artifactId>
<version>{version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/EpicAchievements.jar</systemPath>
</dependency>

Usage

Events

You can listen to the events located in the dev.pixelstudios.achievements.api.events package.

Methods

The AchievementsAPI class provides methods for registering custom tasks, rewards and conditions (use the built-in implementations as a reference) and other useful utility methods.