GroupeZ Docs
Development

API Introduction

Getting started with zAuctionHouse Developer API

zAuctionHouse provides a comprehensive API for developers to integrate with the auction system.

Architecture

zAuctionHouse is built with a modular architecture:

zAuctionHouse/
├── API         # Interfaces and abstract classes
├── Core        # Implementation
└── Hooks       # Third-party integrations

This separation allows you to depend only on the API module, keeping your plugin lightweight.

Maven Setup

Add the GroupeZ repository:

<repositories>
    <repository>
        <id>groupez-releases</id>
        <name>GroupeZ Repository</name>
        <url>https://repo.groupez.dev/releases</url>
    </repository>
</repositories>

Add the dependency:

<dependencies>
    <dependency>
        <groupId>fr.maxlego08.zauctionhouse</groupId>
        <artifactId>zauctionhousev4-api</artifactId>
        <version>4.0.0.0</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Gradle Setup

Add the GroupeZ repository:

repositories {
    maven {
        name = "groupezReleases"
        url = uri("https://repo.groupez.dev/releases")
    }
}

Add the dependency:

dependencies {
    compileOnly("fr.maxlego08.zauctionhouse:zauctionhousev4-api:4.0.0.0")
}

Getting the API

Access the API via Bukkit's service manager:

import fr.maxlego08.zauctionhouse.api.AuctionPlugin;
import fr.maxlego08.zauctionhouse.api.AuctionManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

public class MyPlugin extends JavaPlugin {

    private AuctionPlugin auctionPlugin;

    @Override
    public void onEnable() {
        // Get the zAuctionHouse API
        RegisteredServiceProvider<AuctionPlugin> provider =
            Bukkit.getServicesManager().getRegistration(AuctionPlugin.class);

        if (provider == null) {
            getLogger().severe("zAuctionHouse not found!");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        this.auctionPlugin = provider.getProvider();
        getLogger().info("Successfully hooked into zAuctionHouse!");
    }

    public AuctionPlugin getAuctionPlugin() {
        return auctionPlugin;
    }
}

JavaDoc

Full API documentation is available at: here

Next Steps

  • Services - Learn about the service-based architecture
  • Events - Listen to auction events
  • Items - Work with Item and AuctionItem interfaces
  • Custom Economy - Create custom economy implementations

On this page

GroupeZ MCP

Documentation in your AI

MCP lets your AI search GroupeZ documentation and read current examples to help you configure your plugins.

Read-only · No documentation API key needed

1. Copy the server URL

Transport: HTTP (Streamable HTTP). Authentication: none. Your tool uses its own model and subscription limits.

  1. Open Plugins in ChatGPT on the web, then + → Add custom MCP server.
  2. Name it ‘GroupeZ Documentation’, paste the URL above and choose ‘No authentication’. Create and install the plugin.
  3. In a conversation, type @ and select the plugin before asking. If needed, enable search, get_page and list_pages in its settings.
Official setup guide

3. Ask a question

Use GroupeZ MCP to help me create a zMenu inventory. Search relevant pages, read the examples and cite your sources.
Other clients and troubleshooting

For clients using mcpServers, adapt this example to their format:

{
  "mcpServers": {
    "groupez-docs": {
      "url": ""
    }
  }
}

Available tools are search, get_page and list_pages. Refresh the connector’s tools after updates. If your AI cannot access them, check that the connector is enabled in the conversation and your account allows custom MCP servers. Opening the URL in a browser is not an MCP test.