Interface BridgeManagement

All Known Implementing Classes:
BukkitBridgeManagement, BungeeCordBridgeManagement, FabricBridgeManagement, LimboLoohpBridgeManagement, MinestomBridgeManagement, NodeBridgeManagement, NukkitBridgeManagement, PlatformBridgeManagement, SpongeBridgeManagement, VelocityBridgeManagement, WaterDogPEBridgeManagement

public interface BridgeManagement
The bridge management is a shared management for all platform dependent bridge implementations.
Since:
4.0
  • Field Details

  • Method Details

    • configuration

      Gets the bridge configuration that is currently loaded and applied.
      Returns:
      the currently loaded configuration.
    • configuration

      void configuration(@NonNull @NonNull BridgeConfiguration configuration)
      Sets the bridge configuration for every connected component in the cluster that is running the bridge.
      Parameters:
      configuration - the configuration to set.
      Throws:
      NullPointerException - if the given configuration is null.
    • registerServices

      void registerServices(@NonNull @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry registry)
      Registers all services provided by this bridge management to the given service registry.
      Parameters:
      registry - the registry to register the services in.
      Throws:
      NullPointerException - if the given registry is null.
    • postInit

      @Internal void postInit()
      Execute the post initialization of the bridge management. Populating the caches and applying startup time actions.

      Note: This method should not be used as part of the api and is for internal use only.