🏷️
Vouchers
  • 👋Welcome to Vouchers
  • ✅Discord
  • Overview
    • Features
    • Commands
    • Permissions
    • Placeholders
    • Logging
    • FAQ
  • Configuration
    • 📦Main Configuration
    • 📪Message Configuration
    • 📌Voucher Configuration
      • Custom Item
      • Reward
      • Bulk redeem
  • Developer
    • ⚙️API
Powered by GitBook
On this page
  1. Developer

API

PreviousBulk redeem

Last updated 4 months ago

The API file is published to Jitpack at: Maven example:

<repository>
   <id>jitpack.io</id>
   <url>https://jitpack.io</url>
</repository>

<dependency>
   <groupId>com.github.anhcraft</groupId>
   <artifactId>Vouchers</artifactId>
   <version>Tag</version>
</dependency>

The API instance can be obtained from ApiProvider

VouchersApi api = ApiProvider.getApi();

Javadoc is not yet published. You can view it directly from the source:

⚙️
https://jitpack.io/#anhcraft/Vouchers
https://github.com/anhcraft/Vouchers/tree/main/api/src/main/java/dev/anhcraft/vouchers/api