BattlePass
Homepage
Purchase BattlePass
Join Discord
Search…
Home
⚠
Can't Buy On SpigotMC
Purchase BattlePass
Features
Quests
PlaceholderAPI Endless Quests
Actions
Setting Up and Using Variables
General
Commands
Permissions
PlaceholderAPI Placeholders
Custom Heads In Menus
Developer API
Implementing API
Creating Your Own Quest Types
General API Methods
Useful
Enchants
Custom Enchants
Harvesting Crops
Custom Model Data
Timezones
Premade Configurations
Quest Specific Regions
Powered By
GitBook
Implementing API
The API must be implemented through a local JAR file at the moment. There is no external repository. Here are two ways of doing so:
Implementing using Gradle:
1
dependencies {
2
compileOnly files('path/to/file.jar')
3
}
Copied!
Implementing using Maven:
1
<dependencies>
2
<dependency>
3
<groupId>io.github.battlepass</groupId>
4
<artifactId>battlepass</artifactId>
5
<version>LATEST</version>
6
<systemPath>${project.basedir}/path/to/file.jar</systemPath>
7
<scope>system</scope>
8
</dependency>
9
</dependencies>
Copied!
You may also want to read:
Developer API - Creating Your Own Quest Types
Developer API - General API Methods
General - Previous
Custom Heads In Menus
Next - Developer API
Creating Your Own Quest Types
Last modified
1yr ago
Copy link