Package com.massivecraft.factions.zcore.persist

## Class MemoryFPlayer

- java.lang.Object
- - com.massivecraft.factions.zcore.persist.MemoryFPlayer

All Implemented Interfaces:
  `FPlayer`, `EconomyParticipator`, `RelationParticipator`

Direct Known Subclasses:
  `JSONFPlayer`

    public abstract class MemoryFPlayer
    extends java.lang.Object
    implements FPlayer

Logged in players always have exactly one FPlayer instance. Logged out players may or may not have an FPlayer instance. They will always have one if they are part of a faction. This is because only players with a faction are saved to disk (in order to not waste disk space). The FPlayer is linked to a minecraft player using the player name. The same instance is always returned for the same player. This means you can use the == operator. No .equals method necessary.

### Field Summary

Fields
Modifier and Type | Field | Description
--- | --- | ---
`protected Faction` | `autoClaimFor` |
`protected boolean` | `autoSafeZoneEnabled` |
`protected boolean` | `autoWarZoneEnabled` |
`protected ChatMode` | `chatMode` |
`protected java.util.HashMap<java.lang.String,​java.lang.Long>` | `commandCooldown` |
`protected int` | `deaths` |
`protected boolean` | `enteringPassword` |
`protected java.lang.String` | `enteringPasswordWarp` |
`protected java.lang.String` | `factionId` |
`protected java.lang.String` | `id` |
`protected boolean` | `ignoreAllianceChat` |
`(package private) boolean` | `inspectMode` |
`boolean` | `inVault` |
`protected boolean` | `isAdminBypassing` |
`protected boolean` | `isAlt` |
`protected boolean` | `isFlying` |
`protected boolean` | `isStealthEnabled` |
`protected int` | `kills` |
`protected long` | `lastFrostwalkerMessage` |
`protected long` | `lastLoginTime` |
`protected long` | `lastPowerUpdateTime` |
`protected FLocation` | `lastStoodAt` |
`protected boolean` | `loginPvpDisabled` |
`protected boolean` | `mapAutoUpdating` |
`protected int` | `mapHeight` |
`protected long` | `millisPassed` |
`protected boolean` | `monitorJoins` |
`protected java.lang.String` | `name` |
`protected boolean` | `notificationsEnabled` |
`protected double` | `power` |
`protected double` | `powerBoost` |
`protected Role` | `role` |
`protected boolean` | `shouldTakeFallDamage` |
`protected boolean` | `showScoreboard` |
`protected boolean` | `spyingChat` |
`protected java.lang.String` | `title` |
`protected WarmUpUtil.Warmup` | `warmup` |
`protected int` | `warmupTask` |
`protected boolean` | `willAutoLeave` |

### Constructor Summary

Constructors
Constructor | Description
--- | ---
`MemoryFPlayer()` |
`MemoryFPlayer​(MemoryFPlayer other)` |
`MemoryFPlayer​(java.lang.String id)` |

### Method Summary

Modifier and Type | Method | Description
--- | --- | ---
`void` | `addWarmup​(WarmUpUtil.Warmup warmup, int taskId)` |
`void` | `alterPower​(double delta)` |
`boolean` | `attemptClaim​(Faction forFaction, FLocation flocation, boolean notifyFailure)` |
`boolean` | `attemptClaim​(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)` |
`boolean` | `canClaimForFaction​(Faction forFaction)` |
`boolean` | `canClaimForFactionAtLocation​(Faction forFaction, FLocation flocation, boolean notifyFailure)` |
`boolean` | `canClaimForFactionAtLocation​(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)` |
`boolean` | `canFlyAtLocation()` |
`boolean` | `canFlyAtLocation​(FLocation location)` |
`java.lang.Boolean` | `canflyinAlly()` |
`java.lang.Boolean` | `canflyinEnemy()` |
`java.lang.Boolean` | `canflyinNeutral()` |
`java.lang.Boolean` | `canflyinSafezone()` |
`java.lang.Boolean` | `canflyinTruce()` |
`java.lang.Boolean` | `canflyinWarzone()` |
`java.lang.Boolean` | `canflyinWilderness()` |
`boolean` | `checkIfNearbyEnemies()` |
`void` | `clearWarmup()` |
`java.lang.String` | `commas​(double amount)` |
`java.lang.String` | `describeTo​(RelationParticipator that)` |
`java.lang.String` | `describeTo​(RelationParticipator that, boolean ucfirst)` |
`java.lang.String` | `getAccountId()` |
`Faction` | `getAutoClaimFor()` |
`ChatMode` | `getChatMode()` |
`java.lang.String` | `getChatTag()` |
`java.lang.String` | `getChatTag​(Faction faction)` |
`java.lang.String` | `getChatTag​(FPlayer fplayer)` |
`java.lang.String` | `getChatTag​(MemoryFPlayer fplayer)` |
`org.bukkit.ChatColor` | `getColorTo​(RelationParticipator rp)` |
`int` | `getCooldown​(java.lang.String cmd)` |
`int` | `getDeaths()` |
`java.lang.String` | `getEnteringWarp()` |
`Faction` | `getFaction()` | gets the faction of a FPlayer.
`java.lang.String` | `getFactionId()` | Gets the faction ID of the player.
`java.lang.String` | `getId()` |
`int` | `getKills()` |
`long` | `getLastFrostwalkerMessage()` |
`long` | `getLastLoginTime()` |
`long` | `getLastPowerUpdateTime()` |
`FLocation` | `getLastStoodAt()` |
`int` | `getMapHeight()` |
`long` | `getMillisPassed()` |
`java.lang.String` | `getName()` |
`java.lang.String` | `getNameAndSomething​(java.lang.String something)` |
`java.lang.String` | `getNameAndTag()` |
`java.lang.String` | `getNameAndTitle()` |
`java.lang.String` | `getNameAndTitle​(Faction faction)` |
`java.lang.String` | `getNameAndTitle​(FPlayer fplayer)` |
`java.lang.String` | `getNameAndTitle​(MemoryFPlayer fplayer)` |
`org.bukkit.entity.Player` | `getPlayer()` |
`double` | `getPower()` |
`double` | `getPowerBoost()` |
`double` | `getPowerMax()` |
`int` | `getPowerMaxRounded()` |
`double` | `getPowerMin()` |
`int` | `getPowerMinRounded()` |
`int` | `getPowerRounded()` |
`Relation` | `getRelationTo​(RelationParticipator rp)` |
`Relation` | `getRelationTo​(RelationParticipator rp, boolean ignorePeaceful)` |
`Relation` | `getRelationToLocation()` |
`Role` | `getRole()` |
`java.lang.String` | `getRolePrefix()` |
`java.lang.String` | `getTag()` |
`java.lang.String` | `getTitle()` |
`WarmUpUtil.Warmup` | `getWarmupType()` |
`boolean` | `hasFaction()` | Check if a player has a faction
`boolean` | `hasLoginPvpDisabled()` |
`boolean` | `hasMoney​(int amt)` |
`boolean` | `hasNotificationsEnabled()` |
`void` | `heal​(int amnt)` |
`boolean` | `isAdminBypassing()` |
`boolean` | `isAlt()` |
`boolean` | `isAutoSafeClaimEnabled()` |
`boolean` | `isAutoWarClaimEnabled()` |
`boolean` | `isCooldownEnded​(java.lang.String cmd)` |
`boolean` | `isEnteringPassword()` |
`boolean` | `isFlying()` |
`boolean` | `isIgnoreAllianceChat()` |
`boolean` | `isInAllyTerritory()` |
`boolean` | `isInEnemyTerritory()` |
`boolean` | `isInNeutralTerritory()` |
`boolean` | `isInOthersTerritory()` |
`boolean` | `isInOwnTerritory()` |
`boolean` | `isInspectMode()` |
`boolean` | `isInVault()` |
`boolean` | `isMapAutoUpdating()` |
`boolean` | `isMonitoringJoins()` |
`boolean` | `isOffline()` |
`boolean` | `isOnline()` |
`boolean` | `isOnlineAndVisibleTo​(org.bukkit.entity.Player player)` |
`boolean` | `isSpyingChat()` |
`boolean` | `isStealthEnabled()` | Used to know if stealth is toggled on or off
`boolean` | `isVanished()` |
`boolean` | `isWarmingUp()` |
`void` | `leave​(boolean makePay)` |
`void` | `login()` | Sets the kills and deaths of a player.
`void` | `logout()` | Caches the kills and deaths of a player.
`void` | `losePowerFromBeingOffline()` |
`void` | `msg​(TL translation, java.lang.Object... args)` |
`void` | `msg​(java.lang.String str, java.lang.Object... args)` |
`void` | `onDeath()` |
`abstract void` | `remove()` |
`void` | `resetFactionData()` |
`void` | `resetFactionData​(boolean doSpoutUpdate)` |
`void` | `sendFactionHereMessage​(Faction from)` |
`void` | `sendFancyMessage​(java.util.List<mkremins.fanciful.FancyMessage> messages)` |
`void` | `sendFancyMessage​(mkremins.fanciful.FancyMessage message)` |
`void` | `sendMessage​(java.lang.String msg)` |
`void` | `sendMessage​(java.util.List<java.lang.String> msgs)` |
`void` | `setAlt​(boolean alt)` |
`void` | `setAutoClaimFor​(Faction faction)` |
`void` | `setAutoLeave​(boolean willLeave)` |
`void` | `setChatMode​(ChatMode chatMode)` |
`void` | `setCooldown​(java.lang.String cmd, long cooldown)` |
`void` | `setEnteringPassword​(boolean toggle, java.lang.String warp)` |
`void` | `setFaction​(Faction faction, boolean alt)` | Sets the faction of the FPlayer
`void` | `setFFlying​(boolean fly, boolean damage)` |
`void` | `setFlying​(boolean fly)` |
`void` | `setId​(java.lang.String id)` |
`void` | `setIgnoreAllianceChat​(boolean ignore)` |
`void` | `setInspectMode​(boolean status)` |
`void` | `setInVault​(boolean status)` |
`void` | `setIsAdminBypassing​(boolean val)` |
`void` | `setIsAutoSafeClaimEnabled​(boolean enabled)` |
`void` | `setIsAutoWarClaimEnabled​(boolean enabled)` |
`void` | `setLastFrostwalkerMessage()` |
`void` | `setLastLoginTime​(long lastLoginTime)` |
`void` | `setLastStoodAt​(FLocation flocation)` |
`void` | `setMapAutoUpdating​(boolean mapAutoUpdating)` |
`void` | `setMapHeight​(int height)` |
`void` | `setMonitorJoins​(boolean monitor)` |
`void` | `setName​(java.lang.String name)` |
`void` | `setNotificationsEnabled​(boolean enabled)` |
`void` | `setPowerBoost​(double powerBoost)` |
`void` | `setRole​(Role role)` |
`void` | `setShowScoreboard​(boolean show)` |
`void` | `setSpyingChat​(boolean chatSpying)` |
`void` | `setStealth​(boolean stealth)` | Toggles the stealth of the FPlayer depending on the parameter
`void` | `setTakeFallDamage​(boolean fallDamage)` |
`void` | `setTitle​(org.bukkit.command.CommandSender sender, java.lang.String title)` |
`boolean` | `shouldBeSaved()` |
`boolean` | `shouldTakeFallDamage()` |
`boolean` | `showInfoBoard​(Faction toShow)` | Check if the scoreboard should be shown.
`boolean` | `showScoreboard()` |
`void` | `stopWarmup()` |
`void` | `takeMoney​(int amt)` |
`void` | `updatePower()` |
`boolean` | `willAutoLeave()` | Gets autoleave status

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Field Detail

#### inVault

    public boolean inVault

#### commandCooldown

    protected java.util.HashMap<java.lang.String,​java.lang.Long> commandCooldown

#### factionId

    protected java.lang.String factionId

#### role

    protected Role role

#### title

    protected java.lang.String title

#### power

    protected double power

#### powerBoost

    protected double powerBoost

#### lastPowerUpdateTime

    protected long lastPowerUpdateTime

#### millisPassed

    protected long millisPassed

#### lastLoginTime

    protected long lastLoginTime

#### chatMode

    protected ChatMode chatMode

#### ignoreAllianceChat

    protected boolean ignoreAllianceChat

#### id

    protected java.lang.String id

#### name

    protected java.lang.String name

#### monitorJoins

    protected boolean monitorJoins

#### spyingChat

    protected boolean spyingChat

#### showScoreboard

    protected boolean showScoreboard

#### warmup

    protected WarmUpUtil.Warmup warmup

#### warmupTask

    protected int warmupTask

#### isAdminBypassing

    protected boolean isAdminBypassing

#### kills

    protected int kills

#### deaths

    protected int deaths

#### willAutoLeave

    protected boolean willAutoLeave

#### mapHeight

    protected int mapHeight

#### isFlying

    protected boolean isFlying

#### enteringPassword

    protected boolean enteringPassword

#### enteringPasswordWarp

    protected java.lang.String enteringPasswordWarp

#### lastStoodAt

    protected transient FLocation lastStoodAt

#### mapAutoUpdating

    protected transient boolean mapAutoUpdating

#### autoClaimFor

    protected transient Faction autoClaimFor

#### autoSafeZoneEnabled

    protected transient boolean autoSafeZoneEnabled

#### autoWarZoneEnabled

    protected transient boolean autoWarZoneEnabled

#### loginPvpDisabled

    protected transient boolean loginPvpDisabled

#### lastFrostwalkerMessage

    protected transient long lastFrostwalkerMessage

#### shouldTakeFallDamage

    protected transient boolean shouldTakeFallDamage

#### isStealthEnabled

    protected boolean isStealthEnabled

#### notificationsEnabled

    protected boolean notificationsEnabled

#### isAlt

    protected boolean isAlt

#### inspectMode

    boolean inspectMode

### Constructor Detail

#### MemoryFPlayer

    public MemoryFPlayer()

#### MemoryFPlayer

    public MemoryFPlayer​(java.lang.String id)

#### MemoryFPlayer

    public MemoryFPlayer​(MemoryFPlayer other)

### Method Detail

#### isAlt

    public boolean isAlt()

Specified by:
  `isAlt` in interface `FPlayer`

#### setAlt

    public void setAlt​(boolean alt)

Specified by:
  `setAlt` in interface `FPlayer`

#### isStealthEnabled

    public boolean isStealthEnabled()

Description copied from interface: `FPlayer`
Used to know if stealth is toggled on or off

Specified by:
  `isStealthEnabled` in interface `FPlayer`
Returns:
  if stealth mode is on or not.

#### setStealth

    public void setStealth​(boolean stealth)

Description copied from interface: `FPlayer`
Toggles the stealth of the FPlayer depending on the parameter

Specified by:
  `setStealth` in interface `FPlayer`
Parameters:
  `stealth` - - toggles stealth

#### login

    public void login()

Description copied from interface: `FPlayer`
Sets the kills and deaths of a player.

Specified by:
  `login` in interface `FPlayer`

#### logout

    public void logout()

Description copied from interface: `FPlayer`
Caches the kills and deaths of a player.

Specified by:
  `logout` in interface `FPlayer`

#### getCooldown

    public int getCooldown​(java.lang.String cmd)

Specified by:
  `getCooldown` in interface `FPlayer`

#### setCooldown

    public void setCooldown​(java.lang.String cmd,
                            long cooldown)

Specified by:
  `setCooldown` in interface `FPlayer`

#### isCooldownEnded

    public boolean isCooldownEnded​(java.lang.String cmd)

Specified by:
  `isCooldownEnded` in interface `FPlayer`

#### getFaction

    public Faction getFaction()

Description copied from interface: `FPlayer`
gets the faction of a FPlayer.

Specified by:
  `getFaction` in interface `FPlayer`
Returns:
  Faction of the FPlayer.

#### setFaction

    public void setFaction​(Faction faction,
                           boolean alt)

Description copied from interface: `FPlayer`
Sets the faction of the FPlayer

Specified by:
  `setFaction` in interface `FPlayer`
Parameters:
  `faction` - faction to set.

#### setNotificationsEnabled

    public void setNotificationsEnabled​(boolean enabled)

Specified by:
  `setNotificationsEnabled` in interface `FPlayer`

#### hasNotificationsEnabled

    public boolean hasNotificationsEnabled()

Specified by:
  `hasNotificationsEnabled` in interface `FPlayer`

#### getFactionId

    public java.lang.String getFactionId()

Description copied from interface: `FPlayer`
Gets the faction ID of the player.

Specified by:
  `getFactionId` in interface `FPlayer`
Returns:
  FactionsID string

#### hasFaction

    public boolean hasFaction()

Description copied from interface: `FPlayer`
Check if a player has a faction

Specified by:
  `hasFaction` in interface `FPlayer`
Returns:
  boolean

#### setMonitorJoins

    public void setMonitorJoins​(boolean monitor)

Specified by:
  `setMonitorJoins` in interface `FPlayer`

#### isMonitoringJoins

    public boolean isMonitoringJoins()

Specified by:
  `isMonitoringJoins` in interface `FPlayer`

#### getRole

    public Role getRole()

Specified by:
  `getRole` in interface `FPlayer`

#### setRole

    public void setRole​(Role role)

Specified by:
  `setRole` in interface `FPlayer`

#### getPowerBoost

    public double getPowerBoost()

Specified by:
  `getPowerBoost` in interface `FPlayer`

#### setPowerBoost

    public void setPowerBoost​(double powerBoost)

Specified by:
  `setPowerBoost` in interface `FPlayer`

#### willAutoLeave

    public boolean willAutoLeave()

Description copied from interface: `FPlayer`
Gets autoleave status

Specified by:
  `willAutoLeave` in interface `FPlayer`
Returns:
  boolean of the autoleave

#### setAutoLeave

    public void setAutoLeave​(boolean willLeave)

Specified by:
  `setAutoLeave` in interface `FPlayer`

#### getLastFrostwalkerMessage

    public long getLastFrostwalkerMessage()

Specified by:
  `getLastFrostwalkerMessage` in interface `FPlayer`

#### setLastFrostwalkerMessage

    public void setLastFrostwalkerMessage()

Specified by:
  `setLastFrostwalkerMessage` in interface `FPlayer`

#### getAutoClaimFor

    public Faction getAutoClaimFor()

Specified by:
  `getAutoClaimFor` in interface `FPlayer`

#### setAutoClaimFor

    public void setAutoClaimFor​(Faction faction)

Specified by:
  `setAutoClaimFor` in interface `FPlayer`

#### isAutoSafeClaimEnabled

    public boolean isAutoSafeClaimEnabled()

Specified by:
  `isAutoSafeClaimEnabled` in interface `FPlayer`

#### setIsAutoSafeClaimEnabled

    public void setIsAutoSafeClaimEnabled​(boolean enabled)

Specified by:
  `setIsAutoSafeClaimEnabled` in interface `FPlayer`

#### isAutoWarClaimEnabled

    public boolean isAutoWarClaimEnabled()

Specified by:
  `isAutoWarClaimEnabled` in interface `FPlayer`

#### setIsAutoWarClaimEnabled

    public void setIsAutoWarClaimEnabled​(boolean enabled)

Specified by:
  `setIsAutoWarClaimEnabled` in interface `FPlayer`

#### isAdminBypassing

    public boolean isAdminBypassing()

Specified by:
  `isAdminBypassing` in interface `FPlayer`

#### isVanished

    public boolean isVanished()

Specified by:
  `isVanished` in interface `FPlayer`

#### setIsAdminBypassing

    public void setIsAdminBypassing​(boolean val)

Specified by:
  `setIsAdminBypassing` in interface `FPlayer`

#### getChatMode

    public ChatMode getChatMode()

Specified by:
  `getChatMode` in interface `FPlayer`

#### setChatMode

    public void setChatMode​(ChatMode chatMode)

Specified by:
  `setChatMode` in interface `FPlayer`

#### isIgnoreAllianceChat

    public boolean isIgnoreAllianceChat()

Specified by:
  `isIgnoreAllianceChat` in interface `FPlayer`

#### setIgnoreAllianceChat

    public void setIgnoreAllianceChat​(boolean ignore)

Specified by:
  `setIgnoreAllianceChat` in interface `FPlayer`

#### isSpyingChat

    public boolean isSpyingChat()

Specified by:
  `isSpyingChat` in interface `FPlayer`

#### setSpyingChat

    public void setSpyingChat​(boolean chatSpying)

Specified by:
  `setSpyingChat` in interface `FPlayer`

#### getAccountId

    public java.lang.String getAccountId()

Specified by:
  `getAccountId` in interface `EconomyParticipator`
Specified by:
  `getAccountId` in interface `FPlayer`

#### resetFactionData

    public void resetFactionData​(boolean doSpoutUpdate)

Specified by:
  `resetFactionData` in interface `FPlayer`

#### resetFactionData

    public void resetFactionData()

Specified by:
  `resetFactionData` in interface `FPlayer`

#### getLastLoginTime

    public long getLastLoginTime()

Specified by:
  `getLastLoginTime` in interface `FPlayer`

#### setLastLoginTime

    public void setLastLoginTime​(long lastLoginTime)

Specified by:
  `setLastLoginTime` in interface `FPlayer`

#### isMapAutoUpdating

    public boolean isMapAutoUpdating()

Specified by:
  `isMapAutoUpdating` in interface `FPlayer`

#### setMapAutoUpdating

    public void setMapAutoUpdating​(boolean mapAutoUpdating)

Specified by:
  `setMapAutoUpdating` in interface `FPlayer`

#### hasLoginPvpDisabled

    public boolean hasLoginPvpDisabled()

Specified by:
  `hasLoginPvpDisabled` in interface `FPlayer`

#### getLastStoodAt

    public FLocation getLastStoodAt()

Specified by:
  `getLastStoodAt` in interface `FPlayer`

#### setLastStoodAt

    public void setLastStoodAt​(FLocation flocation)

Specified by:
  `setLastStoodAt` in interface `FPlayer`

#### getTitle

    public java.lang.String getTitle()

Specified by:
  `getTitle` in interface `FPlayer`

#### setTitle

    public void setTitle​(org.bukkit.command.CommandSender sender,
                         java.lang.String title)

Specified by:
  `setTitle` in interface `FPlayer`

#### getName

    public java.lang.String getName()

Specified by:
  `getName` in interface `FPlayer`

#### setName

    public void setName​(java.lang.String name)

#### getTag

    public java.lang.String getTag()

Specified by:
  `getTag` in interface `FPlayer`

#### getNameAndSomething

    public java.lang.String getNameAndSomething​(java.lang.String something)

Specified by:
  `getNameAndSomething` in interface `FPlayer`

#### getNameAndTitle

    public java.lang.String getNameAndTitle()

Specified by:
  `getNameAndTitle` in interface `FPlayer`

#### getNameAndTag

    public java.lang.String getNameAndTag()

Specified by:
  `getNameAndTag` in interface `FPlayer`

#### getNameAndTitle

    public java.lang.String getNameAndTitle​(Faction faction)

Specified by:
  `getNameAndTitle` in interface `FPlayer`

#### getNameAndTitle

    public java.lang.String getNameAndTitle​(MemoryFPlayer fplayer)

#### getChatTag

    public java.lang.String getChatTag()

Specified by:
  `getChatTag` in interface `FPlayer`

#### getChatTag

    public java.lang.String getChatTag​(Faction faction)

Specified by:
  `getChatTag` in interface `FPlayer`

#### getChatTag

    public java.lang.String getChatTag​(MemoryFPlayer fplayer)

#### getKills

    public int getKills()

Specified by:
  `getKills` in interface `FPlayer`

#### getDeaths

    public int getDeaths()

Specified by:
  `getDeaths` in interface `FPlayer`

#### describeTo

    public java.lang.String describeTo​(RelationParticipator that,
                                       boolean ucfirst)

Specified by:
  `describeTo` in interface `FPlayer`
Specified by:
  `describeTo` in interface `RelationParticipator`

#### describeTo

    public java.lang.String describeTo​(RelationParticipator that)

Specified by:
  `describeTo` in interface `FPlayer`
Specified by:
  `describeTo` in interface `RelationParticipator`

#### getRelationTo

    public Relation getRelationTo​(RelationParticipator rp)

Specified by:
  `getRelationTo` in interface `FPlayer`
Specified by:
  `getRelationTo` in interface `RelationParticipator`

#### getRelationTo

    public Relation getRelationTo​(RelationParticipator rp,
                                  boolean ignorePeaceful)

Specified by:
  `getRelationTo` in interface `FPlayer`
Specified by:
  `getRelationTo` in interface `RelationParticipator`

#### getRelationToLocation

    public Relation getRelationToLocation()

Specified by:
  `getRelationToLocation` in interface `FPlayer`

#### getColorTo

    public org.bukkit.ChatColor getColorTo​(RelationParticipator rp)

Specified by:
  `getColorTo` in interface `FPlayer`
Specified by:
  `getColorTo` in interface `RelationParticipator`

#### heal

    public void heal​(int amnt)

Specified by:
  `heal` in interface `FPlayer`

#### getPower

    public double getPower()

Specified by:
  `getPower` in interface `FPlayer`

#### alterPower

    public void alterPower​(double delta)

Specified by:
  `alterPower` in interface `FPlayer`

#### getPowerMax

    public double getPowerMax()

Specified by:
  `getPowerMax` in interface `FPlayer`

#### getPowerMin

    public double getPowerMin()

Specified by:
  `getPowerMin` in interface `FPlayer`

#### getPowerRounded

    public int getPowerRounded()

Specified by:
  `getPowerRounded` in interface `FPlayer`

#### getPowerMaxRounded

    public int getPowerMaxRounded()

Specified by:
  `getPowerMaxRounded` in interface `FPlayer`

#### getPowerMinRounded

    public int getPowerMinRounded()

Specified by:
  `getPowerMinRounded` in interface `FPlayer`

#### getMillisPassed

    public long getMillisPassed()

Specified by:
  `getMillisPassed` in interface `FPlayer`

#### getLastPowerUpdateTime

    public long getLastPowerUpdateTime()

Specified by:
  `getLastPowerUpdateTime` in interface `FPlayer`

#### updatePower

    public void updatePower()

Specified by:
  `updatePower` in interface `FPlayer`

#### losePowerFromBeingOffline

    public void losePowerFromBeingOffline()

Specified by:
  `losePowerFromBeingOffline` in interface `FPlayer`

#### onDeath

    public void onDeath()

Specified by:
  `onDeath` in interface `FPlayer`

#### isInOwnTerritory

    public boolean isInOwnTerritory()

Specified by:
  `isInOwnTerritory` in interface `FPlayer`

#### isInOthersTerritory

    public boolean isInOthersTerritory()

Specified by:
  `isInOthersTerritory` in interface `FPlayer`

#### isInAllyTerritory

    public boolean isInAllyTerritory()

Specified by:
  `isInAllyTerritory` in interface `FPlayer`

#### isInNeutralTerritory

    public boolean isInNeutralTerritory()

Specified by:
  `isInNeutralTerritory` in interface `FPlayer`

#### isInEnemyTerritory

    public boolean isInEnemyTerritory()

Specified by:
  `isInEnemyTerritory` in interface `FPlayer`

#### sendFactionHereMessage

    public void sendFactionHereMessage​(Faction from)

Specified by:
  `sendFactionHereMessage` in interface `FPlayer`

#### showInfoBoard

    public boolean showInfoBoard​(Faction toShow)

Check if the scoreboard should be shown. Simple method to be used by above method.

Parameters:
  `toShow` - Faction to be shown.
Returns:
  true if should show, otherwise false.

#### showScoreboard

    public boolean showScoreboard()

Specified by:
  `showScoreboard` in interface `FPlayer`

#### setShowScoreboard

    public void setShowScoreboard​(boolean show)

Specified by:
  `setShowScoreboard` in interface `FPlayer`

#### leave

    public void leave​(boolean makePay)

Specified by:
  `leave` in interface `FPlayer`

#### canClaimForFaction

    public boolean canClaimForFaction​(Faction forFaction)

Specified by:
  `canClaimForFaction` in interface `FPlayer`

#### canClaimForFactionAtLocation

    public boolean canClaimForFactionAtLocation​(Faction forFaction,
                                                org.bukkit.Location location,
                                                boolean notifyFailure)

Specified by:
  `canClaimForFactionAtLocation` in interface `FPlayer`

#### canClaimForFactionAtLocation

    public boolean canClaimForFactionAtLocation​(Faction forFaction,
                                                FLocation flocation,
                                                boolean notifyFailure)

Specified by:
  `canClaimForFactionAtLocation` in interface `FPlayer`

#### attemptClaim

    public boolean attemptClaim​(Faction forFaction,
                                org.bukkit.Location location,
                                boolean notifyFailure)

Specified by:
  `attemptClaim` in interface `FPlayer`

#### shouldBeSaved

    public boolean shouldBeSaved()

#### msg

    public void msg​(java.lang.String str,
                    java.lang.Object... args)

Specified by:
  `msg` in interface `EconomyParticipator`
Specified by:
  `msg` in interface `FPlayer`

#### msg

    public void msg​(TL translation,
                    java.lang.Object... args)

Specified by:
  `msg` in interface `EconomyParticipator`

#### getPlayer

    public org.bukkit.entity.Player getPlayer()

Specified by:
  `getPlayer` in interface `FPlayer`

#### isOnline

    public boolean isOnline()

Specified by:
  `isOnline` in interface `FPlayer`

#### isOnlineAndVisibleTo

    public boolean isOnlineAndVisibleTo​(org.bukkit.entity.Player player)

Specified by:
  `isOnlineAndVisibleTo` in interface `FPlayer`

#### isOffline

    public boolean isOffline()

Specified by:
  `isOffline` in interface `FPlayer`

#### isFlying

    public boolean isFlying()

Specified by:
  `isFlying` in interface `FPlayer`

#### setFlying

    public void setFlying​(boolean fly)

Specified by:
  `setFlying` in interface `FPlayer`

#### setFFlying

    public void setFFlying​(boolean fly,
                           boolean damage)

Specified by:
  `setFFlying` in interface `FPlayer`

#### isInVault

    public boolean isInVault()

Specified by:
  `isInVault` in interface `FPlayer`

#### setInVault

    public void setInVault​(boolean status)

Specified by:
  `setInVault` in interface `FPlayer`

#### canFlyAtLocation

    public boolean canFlyAtLocation()

Specified by:
  `canFlyAtLocation` in interface `FPlayer`

#### canFlyAtLocation

    public boolean canFlyAtLocation​(FLocation location)

Specified by:
  `canFlyAtLocation` in interface `FPlayer`

#### shouldTakeFallDamage

    public boolean shouldTakeFallDamage()

Specified by:
  `shouldTakeFallDamage` in interface `FPlayer`

#### setTakeFallDamage

    public void setTakeFallDamage​(boolean fallDamage)

Specified by:
  `setTakeFallDamage` in interface `FPlayer`

#### isEnteringPassword

    public boolean isEnteringPassword()

Specified by:
  `isEnteringPassword` in interface `FPlayer`

#### setEnteringPassword

    public void setEnteringPassword​(boolean toggle,
                                    java.lang.String warp)

Specified by:
  `setEnteringPassword` in interface `FPlayer`

#### getEnteringWarp

    public java.lang.String getEnteringWarp()

Specified by:
  `getEnteringWarp` in interface `FPlayer`

#### sendMessage

    public void sendMessage​(java.lang.String msg)

Specified by:
  `sendMessage` in interface `FPlayer`

#### sendMessage

    public void sendMessage​(java.util.List<java.lang.String> msgs)

Specified by:
  `sendMessage` in interface `FPlayer`

#### sendFancyMessage

    public void sendFancyMessage​(mkremins.fanciful.FancyMessage message)

Specified by:
  `sendFancyMessage` in interface `FPlayer`

#### sendFancyMessage

    public void sendFancyMessage​(java.util.List<mkremins.fanciful.FancyMessage> messages)

Specified by:
  `sendFancyMessage` in interface `FPlayer`

#### getMapHeight

    public int getMapHeight()

Specified by:
  `getMapHeight` in interface `FPlayer`

#### setMapHeight

    public void setMapHeight​(int height)

Specified by:
  `setMapHeight` in interface `FPlayer`

#### getNameAndTitle

    public java.lang.String getNameAndTitle​(FPlayer fplayer)

Specified by:
  `getNameAndTitle` in interface `FPlayer`

#### getChatTag

    public java.lang.String getChatTag​(FPlayer fplayer)

Specified by:
  `getChatTag` in interface `FPlayer`

#### getId

    public java.lang.String getId()

Specified by:
  `getId` in interface `FPlayer`

#### setId

    public void setId​(java.lang.String id)

Specified by:
  `setId` in interface `FPlayer`

#### remove

    public abstract void remove()

Specified by:
  `remove` in interface `FPlayer`

#### clearWarmup

    public void clearWarmup()

Specified by:
  `clearWarmup` in interface `FPlayer`

#### stopWarmup

    public void stopWarmup()

Specified by:
  `stopWarmup` in interface `FPlayer`

#### isWarmingUp

    public boolean isWarmingUp()

Specified by:
  `isWarmingUp` in interface `FPlayer`

#### getWarmupType

    public WarmUpUtil.Warmup getWarmupType()

Specified by:
  `getWarmupType` in interface `FPlayer`

#### addWarmup

    public void addWarmup​(WarmUpUtil.Warmup warmup,
                          int taskId)

Specified by:
  `addWarmup` in interface `FPlayer`

#### checkIfNearbyEnemies

    public boolean checkIfNearbyEnemies()

Specified by:
  `checkIfNearbyEnemies` in interface `FPlayer`

#### canflyinWilderness

    public java.lang.Boolean canflyinWilderness()

Specified by:
  `canflyinWilderness` in interface `FPlayer`

#### canflyinWarzone

    public java.lang.Boolean canflyinWarzone()

Specified by:
  `canflyinWarzone` in interface `FPlayer`

#### canflyinSafezone

    public java.lang.Boolean canflyinSafezone()

Specified by:
  `canflyinSafezone` in interface `FPlayer`

#### canflyinEnemy

    public java.lang.Boolean canflyinEnemy()

Specified by:
  `canflyinEnemy` in interface `FPlayer`

#### canflyinAlly

    public java.lang.Boolean canflyinAlly()

Specified by:
  `canflyinAlly` in interface `FPlayer`

#### canflyinTruce

    public java.lang.Boolean canflyinTruce()

Specified by:
  `canflyinTruce` in interface `FPlayer`

#### canflyinNeutral

    public java.lang.Boolean canflyinNeutral()

Specified by:
  `canflyinNeutral` in interface `FPlayer`

#### isInspectMode

    public boolean isInspectMode()

Specified by:
  `isInspectMode` in interface `FPlayer`

#### setInspectMode

    public void setInspectMode​(boolean status)

Specified by:
  `setInspectMode` in interface `FPlayer`

#### attemptClaim

    public boolean attemptClaim​(Faction forFaction,
                                FLocation flocation,
                                boolean notifyFailure)

Specified by:
  `attemptClaim` in interface `FPlayer`

#### getRolePrefix

    public java.lang.String getRolePrefix()

Specified by:
  `getRolePrefix` in interface `FPlayer`

#### hasMoney

    public boolean hasMoney​(int amt)

Specified by:
  `hasMoney` in interface `FPlayer`

#### commas

    public java.lang.String commas​(double amount)

#### takeMoney

    public void takeMoney​(int amt)

Specified by:
  `takeMoney` in interface `FPlayer`