Skip to main content
This guide covers how to integrate ArcPass API into your plugin.

Add Dependency

Maven

Gradle (Kotlin DSL)

Gradle (Groovy)

Configure plugin.yml

Add ArcPass as soft dependency:

Get API Instance

Check Availability

Basic Operations

Get Player Data

Use Cached Data

Cached data may be null. Always check before use.

Give Experience

Trigger Custom Quest Event

Corresponding quest config:

Query Pass Info

Query Season Info

Error Handling

Handle CompletableFuture Exceptions

Timeout Handling

Next Steps

Event System

Listen to ArcPass events

Code Examples

More practical examples