Preva1l is a dev
Preva1l is a dev
  • Finally a Decent Developer? (jokes, im alright though!)
  • Fadah
    • Fadah
    • Setup
      • Database
      • Multi Server
      • Category Filtering & Blacklists
    • Commands & Permissions
    • Developer API
      • Accessing & Using Data
      • Events
      • Adding a Economy Hook
  • Dungeons Terminals
    • Dungeons Terminals
  • Fadsb
    • Fadsb
Powered by GitBook
On this page
  • Useful Resources
  • Getting Started
  • Depending on Fadah
  • Next Steps
Edit on GitHub
  1. Fadah

Developer API

The Developer API for Fadah is very extensive, these docs aim to cover it fully!

Last updated 3 months ago

Useful Resources

JavaDocs: https://repo.preva1l.info/javadoc/releases/info/preva1l/fadah/API/latest Support Server: https://discord.gg/4KcF7S94HF/

Getting Started

To get started with the API you must add it to your Maven / Gradle Project.

Replace LATEST-VERSION with the version found below.

<repositories>
    <repository>
        <id>FinallyADecent</id>
        <url>https://repo.preva1l.info/releases/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>info.preva1l.fadah</groupId>
        <artifactId>API</artifactId>
        <version>LATEST-VERSION</version>
        <scope>provided</scope>
    </dependency>
</dependencies>
repositories {
    maven { url 'https://repo.preva1l.info/releases' }
}

dependencies {
    compileOnly 'info.preva1l.fadah:API:LATEST-VERSION'
}
repositories {
    maven("https://repo.preva1l.info/releases/")
}

dependencies {
    compileOnly("info.preva1l.fadah:API:LATEST-VERSION")
}

Depending on Fadah

plugin.yml
name: "FadahAPIExample"
version: "1.0"
api-version: "1.20"
main: me.developer.FadahAPIExample

depend:
  - "Fadah"

Next Steps

Accessing & Using Data
Events
Adding a Economy Hook