BattlePass
Get BattlePassJoin DiscordMinecraft Hosting
  • Home
  • Purchase BattlePass
  • ➡️Immersive BattlePass UI [NEW]
  • Quests
    • Creating Quests
    • Quest Types
    • Setting up and using Variables
    • PlaceholderAPI Endless Quests
    • Multi-Step quests
    • Special Cases Progress
    • Daily Quests Difficulty
    • Events
  • Features
    • Boosters
    • Menu Actions
  • General
    • Commands
    • Permissions
    • PlaceholderAPI Placeholders
    • Custom Items/Heads In Menus and Rewards
  • Developer API
    • Implementing API
    • Creating Your Own Quest Types
    • General API Methods
  • Useful
    • Enchants
    • Custom Enchants
    • Harvesting Crops
    • Custom Model Data
    • Timezones
    • Premade Configurations
    • Using with Citizens NPCs
    • Quest Specific Regions
  • TUTORIALS
    • Setting Up Rewards
    • Linking Rewards To Tiers
Powered by GitBook
On this page
  • Implementing using Gradle:
  • Implementing using Maven

Was this helpful?

Edit on GitHub
  1. Developer API

Implementing API

PreviousCustom Items/Heads In Menus and RewardsNextCreating Your Own Quest Types

Last updated 7 months ago

Was this helpful?

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:

dependencies {
    compileOnly files('path/to/file.jar')
}

Implementing using Maven

<dependencies>
    <dependency>
        <groupId>io.github.battlepass</groupId>
        <artifactId>BattlePass</artifactId>
        <version>LATEST</version>
        <scope>system</scope>
        <systemPath>${project.basedir}/path/to/file.jar</systemPath>
    </dependency>
</dependencies>

You may also want to read:

Developer API - Creating Your Own Quest Types
Developer API - General API Methods