Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW โ†’
DEVELOPER

๐ŸŒ API

On this page, you will find everything you need to know about our API.

triangle-exclamation

The API is only available for the premium version of the plugin.

#API

Build your own extensions for Phoenix Duels with our public API.

#Maven Repository

<repositories>
    <repository>
        <id>phoenixplugins</id>
        <url>https://repo.phoenixplugins.com/</url>
    </repository>
</repositories>

#Dependency

<dependency>
    <groupId>com.phoenixplugins.phoenixduels</groupId>
    <artifactId>api</artifactId>
    <version>1.0.0-SNAPSHOT</version>
</dependency>

#Advanced Access (Internal Classes)

Our public API covers the recommended integration points for addons. If you need deeper access to internal classes and systems, we recommend using a direct systemPath dependency to your local Phoenix Duels plugin JAR.

<dependency>
    <groupId>com.phoenixplugins.phoenixduels</groupId>
    <artifactId>internal</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <scope>system</scope>
    <systemPath>${project.basedir}/libs/PhoenixDuels-1.0.0-SNAPSHOT.jar</systemPath>
</dependency>

Place the plugin JAR in your project's libs folder before building.

By using internal access through systemPath, you can work with plugin registries that are not part of the public API, such as:

  • MenuRegistry: register custom menus and menu configurations.
  • CommandsRegistry: register custom commands.
  • RuleRegistry: register custom gamemode rules.
  • LoadoutRegistry: register custom loadout types.
  • EditorRegistry: register custom editor sections.

circle-exclamation

Internal classes can change between versions without API compatibility guarantees. When possible, prefer public API integrations first.

#Guides

Last updated about 4 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more