Class PlayerJoinExternalServerEvent

java.lang.Object
org.bukkit.event.Event
puregero.multipaper.event.player.PlayerJoinExternalServerEvent

public class PlayerJoinExternalServerEvent extends Event
Called when a player joins an external MultiPaper instance.
  • Constructor Details

    • PlayerJoinExternalServerEvent

      public PlayerJoinExternalServerEvent(UUID playerUniqueId, String playerName, String localeServerName)
  • Method Details

    • getPlayerName

      public String getPlayerName()
      Returns the name of this player
    • getPlayerUniqueId

      public UUID getPlayerUniqueId()
      Returns a unique and persistent id for this entity
    • getLocalServerName

      public String getLocalServerName()
      Get the bungeecord name of this server.
      Returns:
      the bungeecord name of this server
    • getHandlers

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

      @NotNull public static @NotNull HandlerList getHandlerList()