Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shoppingThe Phoenix Duels developer API, its Maven coordinates and how to build a custom add-on.
The API is only available for the premium version of the plugin.
Build your own extensions for Phoenix Duels with our public API.
<repositories>
<repository>
<id>phoenixplugins</id>
<url>https://repo.phoenixplugins.com/</url>
</repository>
</repositories>
<dependency>
<groupId>com.phoenixplugins.phoenixduels</groupId>
<artifactId>api</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
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.Internal classes can change between versions without API compatibility guarantees. When possible, prefer public API integrations first.
Custom Addons are extensions that allow you to extend, modify, or enhance Phoenix Duels behavior with your own Java code.
Create an addon.yml file in your project resources folder.
name: AddonName
main: your.path.AddonExample
author: [YourName]
version: 1.0.0
description: Small description (optional)
website: https://your-website.com (optional)
Required fields:
name: Display name of your addon.main: Fully qualified path to your addon main class.author: One or more addon authors.version: Addon version.The main value in addon.yml must point to your class that extends Addon.
package your.path;
import com.phoenixplugins.phoenixduels.api.sdk.plugin.addons.Addon;
public class AddonExample extends Addon {
@Override
public void init() {
// Register rules, menus, modules, or listeners.
}
@Override
public void load() {
// Runtime registrations and startup logic.
}
@Override
public void unload() {
// Cleanup logic.
}
@Override
public void reload() {
// Optional runtime reload logic.
}
@Override
public String getRequiredPluginVersion() {
return "1.0.0";
}
}
plugins/PhoenixDuels/addons.Continue with Examples for practical event and profile integrations.
Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping