Class ServerLink

java.lang.Object
net.md_5.bungee.api.ServerLink

public final class ServerLink extends Object
Represents a server link which may be sent to the client.
  • Constructor Details

    • ServerLink

      public ServerLink(@NonNull @NonNull ServerLink.LinkType type, @NonNull @NonNull String url)
      Creates a link with a specified type and URL.
      Parameters:
      type - the type of the link
      url - the URL to be displayed
    • ServerLink

      public ServerLink(@NonNull @NonNull BaseComponent label, @NonNull @NonNull String url)
      Creates a link with a label and URL.
      Parameters:
      label - the label to be displayed
      url - the URL to be displayed