Package org.bukkit

Interface ServerLinks.ServerLink

Enclosing interface:
ServerLinks

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

    • getType

      Gets the type of this link if it is a known special type.
      Returns:
      type or null
    • displayName

      @NotNull net.kyori.adventure.text.Component displayName()
      Gets the display name/text Component of this link.
      Returns:
      display name Component
    • getDisplayName

      Deprecated.
      in favour of displayName()
      Gets the display name/text of this link.
      Returns:
      display name
    • getUrl

      Gets the url of this link.
      Returns:
      link url