Class PlayerLinksSendEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerLinksSendEvent

public class PlayerLinksSendEvent extends Event
This event is called when the list of links is sent to the player.
Since:
1.21
  • Constructor Details

  • Method Details

    • getConnection

      @NotNull public @NotNull PlayerCommonConnection getConnection()
      Gets the connection that received the links.
      Returns:
      connection
      Since:
      1.21.7
    • getLinks

      @NotNull public @NotNull ServerLinks getLinks()
      Gets the links to be sent, for modification.
      Returns:
      the links
      Since:
      1.21
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
      Since:
      1.21
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()
      Since:
      1.21