layer-plusDeveloper API

Phantom Dungeons internal APIs are coded using Singleton Pattern design, allowing developers to easily integrate into our core.

circle-exclamation

Overview

PhantomDungeons provides public APIs for external plugin integrations.


Available APIs

Economy API

Multi-currency system with async operations and automatic booster integration.

Quick Example:

EconomyAPI economy = EconomyAPI.get();

if (economy.hasBalance(player, "money", 1000)) {
    economy.removeBalance(player, "money", 1000)
        .thenAccept(newBalance -> {
            player.sendMessage("Purchase complete");
        });
}

Read Full Economy API Guide


Boosters API

Multiplier system supporting both temporary and permanent boosters.

Quick Example:

Read Full Boosters API Guide


Getting Started

Step 1: Add Dependency

Update your plugin.yml:

Step 2: Maven Dependency

PhantomDungeons does not have a central maven repository, so you will have to manually add the PhantomDungeons.x.x.x jar as a system dependency, as shown below.

When you have added it as a system dependency, you need to reload your pom to register it. You can do this by doing CTRL+SHIFT+O for windows machines only.

Step 2: Hook the APIs



PhantomDungeons Official API Documentation v1.0 | Last Updated: January 2026

Last updated