Package net.fateuhc.plugin.player
Class Profile
java.lang.Object
net.fateuhc.plugin.player.Profile
The profile of a FateUHC player.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.Effect
Get the arrow trail effect.int
Get the player's current kills.getData()
Get the profile data.int
Get the amount diamonds the player has mined.Get the Cooldown for Do Not Disturb Invincibility.Get the Game Back Cooldown.int
Get the amount of gold the player has mined.Get the Cooldown for HelpOP.Get the player's kill history.int
Get 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.Effect
Get the rod trail effect.Get the Thank cooldown.getUUID()
Get the UUID of the profile owner.boolean
Is the player awaiting seed input?boolean
Has the player been death kicked?boolean
Is the player disqualified?boolean
isFrozen()
Is the player frozen?boolean
Has the player logger died?boolean
Is the player in moles chat?boolean
Is the player playing the game?boolean
Is the player in spectator chat?boolean
Is the player in team chat?boolean
Is the player vanished?void
setArrowTrail
(org.bukkit.Effect effect) Set the arrow trail effect.void
setDisqualified
(boolean disqualified) Set if the player is disqualified.void
setRodTrail
(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
-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
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
-