Interface Bridge

All Known Subinterfaces:
EconomyBridge, MobBridge, PlaceholderBridge
All Known Implementing Classes:
MythicMobsBridge, PlaceholderApiBridge, VaultEconomyBridge

public interface Bridge
Bridges provide a unified api for accessing multiple plugins.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type or category name of this bridge.
    boolean
    Checks if this bridge can be registered.
    Returns the unique name of this bridge instance.
    default boolean
    pluginEnabled(String pluginName)
     
  • Method Details

    • getName

      String getName()
      Returns the unique name of this bridge instance.
      Returns:
      the name of the bridge
    • bridgeName

      String bridgeName()
      Returns the type or category name of this bridge.
      Returns:
      the bridge type name
    • canRegister

      boolean canRegister()
      Checks if this bridge can be registered.
      Returns:
      true if the bridge can be registered, false otherwise
    • pluginEnabled

      default boolean pluginEnabled(String pluginName)