HomeJavaModsBridgeAPI Core
BridgeAPI Core
ModsJava

BridgeAPI Core

by miruku_sora2026 · on Modrinth

A secure, modular Paper server bridge for REST APIs, databases, OAuth account linking, custom workflows, and external service integrations.

⬇ Download on Modrinth

BridgeAPI Core

BridgeAPI Core is a modular, server-side Paper plugin that safely connects a Minecraft server to databases, web dashboards, OAuth providers, automation tools, and external platform integrations.

It provides the shared infrastructure used by optional BridgeAPI platform modules while remaining useful as a standalone REST API and workflow server.

BridgeAPI 0.0.2 is an early public beta. Test it on a staging server before using it in production.

Features

BridgeFlow and BGA

BridgeAPI includes BridgeFlow, a restricted workflow engine controlled through .bga files.

BGA stands for BridGe API and uses strict JSONC syntax. It supports comments, validated input fields, conditional steps, fallback Actions, variables, response templates, and module-provided Actions.

BGA workflows cannot execute arbitrary Java code. Privileged Bukkit and command Actions must be connected only to authenticated routes with appropriate API-key roles.

A separate VS Code extension is available from the GitHub repository for BGA syntax highlighting, schema validation, hover documentation, diagnostics, and context-aware completion.

Security

BridgeAPI is designed around explicit security boundaries:

The embedded web server uses port 8080 by default. Do not expose this port directly to the public internet. Bind it to 127.0.0.1 when possible, or place it behind an HTTPS reverse proxy with firewall and trusted-proxy configuration.

Requirements

Optional infrastructure:

Strong offline-player state mutation is supported only with SQLite, MySQL, or PostgreSQL. Multi-server deployments should use a shared MySQL or PostgreSQL database.

Installation

  1. Download BridgeAPI-0.0.2.jar.
  2. Place it in the server's plugins directory.
  3. Start the Paper server once.
  4. Review the generated files in plugins/BridgeAPI/.
  5. Replace the automatically generated API key with a managed secret.
  6. Configure the database, OAuth providers, network binding, and optional Redis connection.
  7. Restart the server.
  8. Run /bridgeapi health to inspect the installation.

Commands

Administrative commands require the bridgeapi.admin permission.

Platform modules

BridgeAPI Core does not bundle every external platform integration.

CHZZK, YouTube, Discord Bot, and other platform-specific integrations are distributed as separate BridgeAPI plugins. Those modules depend on BridgeAPI Core and reuse its database, authentication, web server, error handling, and main-thread safety infrastructure.

Documentation

Support and source

BridgeAPI is open source under the MIT License.

You may include the Modrinth-hosted BridgeAPI file in Modrinth modpacks, subject to the MIT License.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more