Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixduels.api match players
com.phoenixplugins.phoenixduels.api.match.players

Interface MatchPlayer



  • public interface MatchPlayer
    The MatchPlayer interface represents a player participating in a match or game. It provides methods to access various information about the player's status and performance.
    • Method Summary

      Modifier and Type Method and Description
      default org.bukkit.entity.Player bukkit() 
      int getDeaths()
      Retrieves the number of deaths experienced by the player.
      int getKills()
      Retrieves the number of kills attributed to the player.
      String getName()
      Retrieves the name of the player.
      org.bukkit.Location getSpawnLocation()
      Retrieves the spawn location of the player.
      UUID getUniqueId()
      Retrieves the unique identifier of the player.
      boolean isAlive()
      Checks whether the player is currently alive.
      boolean isDisconnected()
      Checks whether the player is disconnected from the match.
    • Method Detail

      • getUniqueId

        UUID getUniqueId()
        Retrieves the unique identifier of the player.
        Returns:
        The UUID (Universally Unique Identifier) of the player.
      • getName

        String getName()
        Retrieves the name of the player.
        Returns:
        The name of the player.
      • getSpawnLocation

        org.bukkit.Location getSpawnLocation()
        Retrieves the spawn location of the player.
        Returns:
        The spawn location where the player appears in the match.
      • isAlive

        boolean isAlive()
        Checks whether the player is currently alive.
        Returns:
        `true` if the player is alive, `false` if not.
      • isDisconnected

        boolean isDisconnected()
        Checks whether the player is disconnected from the match.
        Returns:
        `true` if the player is disconnected, `false` if connected.
      • getKills

        int getKills()
        Retrieves the number of kills attributed to the player.
        Returns:
        The count of kills the player has achieved.
      • getDeaths

        int getDeaths()
        Retrieves the number of deaths experienced by the player.
        Returns:
        The count of deaths the player has suffered.
      • bukkit

        default org.bukkit.entity.Player bukkit()
Last updated about 5 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more