# 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:

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

## Implementing using Maven

```xml
<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/developer-api-creating-your-own-quest-types.md)
* [Developer API - General API Methods](/developer-api/developer-api-general-api-methods.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://battlepass.advancedplugins.net/developer-api/developer-api-implementing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
