Skip to content

About

Provides a compatibility and abstraction layer for Economy, Permissions, GeoIP, Vanish, etc.

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

RetroBridge

RetroBridge is a compatibility bridge plugin for Project Poseidon servers.

It provides a stable abstraction layer for common server features and selects an active provider based on what plugins are installed and how the server is configured.

Compatibility

RetroBridge is built in two variants from the same source. Install the one that matches your server:

Server Jar Java Release tag
Project Poseidon V1 (1.x) RetroBridge-Poseidon-V1-<version>.jar 8+ v1-<version>
Project Poseidon V2 (2.x) RetroBridge-Poseidon-V2-<version>.jar 25+ v2-<version>

Both jars register as RetroBridge, so plugins that depend or softdepend on it work with either. Each jar checks the server at startup and disables itself with a console error if it is on the wrong Poseidon line.

Current modules:

  • economy
  • afk
  • permissions
  • auth
  • whois
  • vanish
  • fakequit
  • ignore

Supported Providers

Economy

  • Fundamentals
  • ZCore
  • Essentials
  • Dummy fallback

AFK

  • Fundamentals
  • Essentials
  • Dummy fallback

Permissions

  • PermissionsEx
  • JPerms
  • SuperPerms
  • Dummy fallback

Auth

  • AuthMe
  • xAuth
  • OSAS
  • Dummy fallback

Whois

  • GeoIPTools
  • Dummy fallback

Vanish

  • Fundamentals
  • ZCore
  • Dummy fallback

FakeQuit

  • Fundamentals
  • Dummy fallback

Ignore

  • ZCore
  • Essentials
  • Dummy fallback

How It Works

RetroBridge registers providers for each module and selects one active provider per module.

Selection rules:

  1. If preferred-provider.value is set to a specific provider name, RetroBridge tries that provider first.
  2. If preferred-provider.value is AUTO, RetroBridge uses the first available provider in registration order.
  3. If a specific preferred provider is unavailable and allow-fallback.value is true, RetroBridge falls back to the first other available provider.
  4. If a specific preferred provider is unavailable and allow-fallback.value is false, the module has no active provider.

Provider availability is determined by whether the backing plugin is enabled.

Command

  • /retrobridge - The command shows the active provider for each module, including the owner plugin and whether the active provider was registered as BUILTIN or RUNTIME.

Documentation

Notes

  • Dummy providers are intentional fallbacks for modules with no real active integration.
  • Some bridges depend on online players for certain operations.

Building

Building needs JDK 25. The V1 variant compiles with --release 8 on the same JDK.

mvn package

This produces poseidon-v1/target/RetroBridge-Poseidon-V1-<version>.jar and poseidon-v2/target/RetroBridge-Poseidon-V2-<version>.jar. Build only one variant with mvn -pl poseidon-v1 package or mvn -pl poseidon-v2 package.

Layout:

  • common/src/main - sources and plugin.yml shared by both variants. This is not a Maven module; each variant adds it to its build.
  • poseidon-v1 - Poseidon V1 variant: its own Poseidon and provider dependency versions, plus V1-only classes.
  • poseidon-v2 - Poseidon V2 variant: the same for V2.

A class that has to differ between Poseidon lines goes in both poseidon-v1/src/main/java and poseidon-v2/src/main/java under the same name, and not in common.

About

Provides a compatibility and abstraction layer for Economy, Permissions, GeoIP, Vanish, etc.

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages