Package org.bukkit

Interface ServerLinks.ServerLink

Enclosing interface:
ServerLinks

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

    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

    • getType

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

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

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