Package net.fateuhc.plugin.player
Class Profile
java.lang.Object
net.fateuhc.plugin.player.Profile
The profile of a FateUHC player.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.EffectGet the arrow trail effect.intGet the player's current kills.getData()Get the profile data.intGet the amount diamonds the player has mined.Get the Cooldown for Do Not Disturb Invincibility.Get the Game Back Cooldown.intGet the amount of gold the player has mined.Get the Cooldown for HelpOP.Get the player's kill history.intGet the amount of iron the player has mined.Get the cooldown for No Clean Invincibility.Get the player's name.Get the player state of the player.Get the Cooldown of the queue toggle.Get the relog time thats left.Get the Cooldown for Reporting.org.bukkit.EffectGet the rod trail effect.Get the Thank cooldown.getUUID()Get the UUID of the profile owner.booleanIs the player awaiting seed input?booleanHas the player been death kicked?booleanIs the player disqualified?booleanisFrozen()Is the player frozen?booleanHas the player logger died?booleanIs the player in moles chat?booleanIs the player playing the game?booleanIs the player in spectator chat?booleanIs the player in team chat?booleanIs the player vanished?voidsetArrowTrail(org.bukkit.Effect effect) Set the arrow trail effect.voidsetDisqualified(boolean disqualified) Set if the player is disqualified.voidsetRodTrail(org.bukkit.Effect effect) Set the rod trail effect.
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
getData
Get the profile data.- Returns:
ProfileData
-
getUUID
Get the UUID of the profile owner.- Returns:
UUID
-
getPlayerState
Get the player state of the player.- Returns:
PlayerState
-
getQueueToggleCooldown
Get the Cooldown of the queue toggle.- Returns:
Cooldown
-
getHelpCooldown
Get the Cooldown for HelpOP.- Returns:
Cooldown
-
getReportCooldown
Get the Cooldown for Reporting.- Returns:
Cooldown
-
getThankCooldown
Get the Thank cooldown.- Returns:
Cooldown
-
getGameBackCooldown
Get the Game Back Cooldown.- Returns:
Cooldown
-
getNoCleanInvincibility
Get the cooldown for No Clean Invincibility.- Returns:
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-Booleanof 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
Get the player's name.- Returns:
Integer
-
getReloggTimeLeft
Get the relog time thats left.- Returns:
Integer
-
getHistoryKills
Get the player's kill history.- Returns:
Integer
-