Package org.bukkit

Interface ServerLinks.ServerLink

Enclosing interface:
ServerLinks

public static interface ServerLinks.ServerLink
Represents a server link.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Gets the display name/text of this link.
    Gets the type of this link if it is a known special type.
    Gets the url of this link.
  • Method Details Link icon

    • getType Link icon

      @Nullable ServerLinks.Type getType()
      Gets the type of this link if it is a known special type.
      Returns:
      type or null
    • getDisplayName Link icon

      @NotNull String getDisplayName()
      Gets the display name/text of this link.
      Returns:
      display name
    • getUrl Link icon

      @NotNull URI getUrl()
      Gets the url of this link.
      Returns:
      link url