Class Profile

java.lang.Object
net.fateuhc.plugin.player.Profile

public class Profile extends Object
The profile of a FateUHC player.
  • Constructor Details

    • Profile

      public Profile()
  • Method Details

    • getData

      public ProfileData getData()
      Get the profile data.
      Returns:
      ProfileData
    • getUUID

      public UUID getUUID()
      Get the UUID of the profile owner.
      Returns:
      UUID
    • getPlayerState

      public PlayerState getPlayerState()
      Get the player state of the player.
      Returns:
      PlayerState
    • getQueueToggleCooldown

      public Cooldown getQueueToggleCooldown()
      Get the Cooldown of the queue toggle.
      Returns:
      Cooldown
    • getHelpCooldown

      public Cooldown getHelpCooldown()
      Get the Cooldown for HelpOP.
      Returns:
      Cooldown
    • getReportCooldown

      public Cooldown getReportCooldown()
      Get the Cooldown for Reporting.
      Returns:
      Cooldown
    • getThankCooldown

      public Cooldown getThankCooldown()
      Get the Thank cooldown.
      Returns:
      Cooldown
    • getGameBackCooldown

      public Cooldown getGameBackCooldown()
      Get the Game Back Cooldown.
      Returns:
      Cooldown
    • getNoCleanInvincibility

      public Cooldown getNoCleanInvincibility()
      Get the cooldown for No Clean Invincibility.
      Returns:
      Cooldown
    • getDNDInvincibility

      public Cooldown getDNDInvincibility()
      Get the Cooldown for Do Not Disturb Invincibility.
      Returns:
      Cooldown
    • getRodTrail

      public org.bukkit.Effect getRodTrail()
      Get the rod trail effect.
      Returns:
      Effect
    • setRodTrail

      public void setRodTrail(org.bukkit.Effect effect)
      Set the rod trail effect.
      Parameters:
      effect - The new effect.
    • getArrowTrail

      public org.bukkit.Effect getArrowTrail()
      Get the arrow trail effect.
      Returns:
      Effect
    • setArrowTrail

      public void setArrowTrail(org.bukkit.Effect effect)
      Set the arrow trail effect.
      Parameters:
      effect - Effect
    • isPlaying

      public boolean isPlaying()
      Is the player playing the game?
      Returns:
      Boolean
    • isTeamChat

      public boolean isTeamChat()
      Is the player in team chat?
      Returns:
      Boolean
    • isDisqualified

      public boolean isDisqualified()
      Is the player disqualified?
      Returns:
      Boolean
    • setDisqualified

      public void setDisqualified(boolean disqualified)
      Set if the player is disqualified.
      Parameters:
      disqualified - Boolean of if they want to be disqualified.
    • isLoggerDied

      public boolean isLoggerDied()
      Has the player logger died?
      Returns:
      Boolean
    • isFrozen

      public boolean isFrozen()
      Is the player frozen?
      Returns:
      Boolean
    • isDeathKicked

      public boolean isDeathKicked()
      Has the player been death kicked?
      Returns:
      Boolean
    • isSpectatorChat

      public boolean isSpectatorChat()
      Is the player in spectator chat?
      Returns:
      Boolean
    • isVanished

      public boolean isVanished()
      Is the player vanished?
      Returns:
      Boolean
    • isMolesChat

      public boolean isMolesChat()
      Is the player in moles chat?
      Returns:
      Boolean
    • isAwaitingSeedInput

      public boolean isAwaitingSeedInput()
      Is the player awaiting seed input?
      Returns:
      Boolean
    • getCurrentKills

      public int getCurrentKills()
      Get the player's current kills.
      Returns:
      Integer
    • getDiamondsMined

      public int getDiamondsMined()
      Get the amount diamonds the player has mined.
      Returns:
      Integer
    • getGoldMined

      public int getGoldMined()
      Get the amount of gold the player has mined.
      Returns:
      Integer
    • getIronMined

      public int getIronMined()
      Get the amount of iron the player has mined.
      Returns:
      Integer
    • getPlayerName

      public String getPlayerName()
      Get the player's name.
      Returns:
      Integer
    • getReloggTimeLeft

      public String getReloggTimeLeft()
      Get the relog time thats left.
      Returns:
      Integer
    • getHistoryKills

      public List<String> getHistoryKills()
      Get the player's kill history.
      Returns:
      Integer