Interface Platform

  • All Known Subinterfaces:
    ProxyPlatform, ServerPlatform

    @NonExtendable
    public interface Platform
    Represents a proxy or server platform.
    • Method Detail

      • getId

        @NotNull
        @NotNull String getId()
        Get a unique identifier for this Platform.

        This will return the common name of the API that is in use, e.g. "BungeeCord" or "Velocity".

        Returns:
        Platform identifier.
      • getName

        @NotNull
        @NotNull String getName()
        Get the friendly name of this Platform.

        This will return the name provided by the Platform, which may not match the name of the API that is in use.

        Returns:
        Platform friendly name.
      • getVersion

        @NotNull
        @NotNull String getVersion()
        Get the version of this Platform.

        This will return the version provided by the Platform.

        Returns:
        Platform version.