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 FactionautoClaimForprotected booleanautoSafeZoneEnabledprotected booleanautoWarZoneEnabledprotected ChatModechatModeprotected java.util.HashMap<java.lang.String,java.lang.Long>commandCooldownprotected intdeathsprotected booleanenteringPasswordprotected java.lang.StringenteringPasswordWarpprotected java.lang.StringfactionIdprotected java.lang.Stringidprotected booleanignoreAllianceChat(package private) booleaninspectModebooleaninVaultprotected booleanisAdminBypassingprotected booleanisAltprotected booleanisFlyingprotected booleanisStealthEnabledprotected intkillsprotected longlastFrostwalkerMessageprotected longlastLoginTimeprotected longlastPowerUpdateTimeprotected FLocationlastStoodAtprotected booleanloginPvpDisabledprotected booleanmapAutoUpdatingprotected intmapHeightprotected longmillisPassedprotected booleanmonitorJoinsprotected java.lang.Stringnameprotected booleannotificationsEnabledprotected doublepowerprotected doublepowerBoostprotected Roleroleprotected booleanshouldTakeFallDamageprotected booleanshowScoreboardprotected booleanspyingChatprotected java.lang.Stringtitleprotected WarmUpUtil.Warmupwarmupprotected intwarmupTaskprotected booleanwillAutoLeave
-
Constructor Summary
Constructors Constructor Description MemoryFPlayer()MemoryFPlayer(MemoryFPlayer other)MemoryFPlayer(java.lang.String id)
-
Method Summary
Modifier and Type Method Description voidaddWarmup(WarmUpUtil.Warmup warmup, int taskId)voidalterPower(double delta)booleanattemptClaim(Faction forFaction, FLocation flocation, boolean notifyFailure)booleanattemptClaim(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)booleancanClaimForFaction(Faction forFaction)booleancanClaimForFactionAtLocation(Faction forFaction, FLocation flocation, boolean notifyFailure)booleancanClaimForFactionAtLocation(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)booleancanFlyAtLocation()booleancanFlyAtLocation(FLocation location)java.lang.BooleancanflyinAlly()java.lang.BooleancanflyinEnemy()java.lang.BooleancanflyinNeutral()java.lang.BooleancanflyinSafezone()java.lang.BooleancanflyinTruce()java.lang.BooleancanflyinWarzone()java.lang.BooleancanflyinWilderness()booleancheckIfNearbyEnemies()voidclearWarmup()java.lang.Stringcommas(double amount)java.lang.StringdescribeTo(RelationParticipator that)java.lang.StringdescribeTo(RelationParticipator that, boolean ucfirst)java.lang.StringgetAccountId()FactiongetAutoClaimFor()ChatModegetChatMode()java.lang.StringgetChatTag()java.lang.StringgetChatTag(Faction faction)java.lang.StringgetChatTag(FPlayer fplayer)java.lang.StringgetChatTag(MemoryFPlayer fplayer)org.bukkit.ChatColorgetColorTo(RelationParticipator rp)intgetCooldown(java.lang.String cmd)intgetDeaths()java.lang.StringgetEnteringWarp()FactiongetFaction()gets the faction of a FPlayer.java.lang.StringgetFactionId()Gets the faction ID of the player.java.lang.StringgetId()intgetKills()longgetLastFrostwalkerMessage()longgetLastLoginTime()longgetLastPowerUpdateTime()FLocationgetLastStoodAt()intgetMapHeight()longgetMillisPassed()java.lang.StringgetName()java.lang.StringgetNameAndSomething(java.lang.String something)java.lang.StringgetNameAndTag()java.lang.StringgetNameAndTitle()java.lang.StringgetNameAndTitle(Faction faction)java.lang.StringgetNameAndTitle(FPlayer fplayer)java.lang.StringgetNameAndTitle(MemoryFPlayer fplayer)org.bukkit.entity.PlayergetPlayer()doublegetPower()doublegetPowerBoost()doublegetPowerMax()intgetPowerMaxRounded()doublegetPowerMin()intgetPowerMinRounded()intgetPowerRounded()RelationgetRelationTo(RelationParticipator rp)RelationgetRelationTo(RelationParticipator rp, boolean ignorePeaceful)RelationgetRelationToLocation()RolegetRole()java.lang.StringgetRolePrefix()java.lang.StringgetTag()java.lang.StringgetTitle()WarmUpUtil.WarmupgetWarmupType()booleanhasFaction()Check if a player has a factionbooleanhasLoginPvpDisabled()booleanhasMoney(int amt)booleanhasNotificationsEnabled()voidheal(int amnt)booleanisAdminBypassing()booleanisAlt()booleanisAutoSafeClaimEnabled()booleanisAutoWarClaimEnabled()booleanisCooldownEnded(java.lang.String cmd)booleanisEnteringPassword()booleanisFlying()booleanisIgnoreAllianceChat()booleanisInAllyTerritory()booleanisInEnemyTerritory()booleanisInNeutralTerritory()booleanisInOthersTerritory()booleanisInOwnTerritory()booleanisInspectMode()booleanisInVault()booleanisMapAutoUpdating()booleanisMonitoringJoins()booleanisOffline()booleanisOnline()booleanisOnlineAndVisibleTo(org.bukkit.entity.Player player)booleanisSpyingChat()booleanisStealthEnabled()Used to know if stealth is toggled on or offbooleanisVanished()booleanisWarmingUp()voidleave(boolean makePay)voidlogin()Sets the kills and deaths of a player.voidlogout()Caches the kills and deaths of a player.voidlosePowerFromBeingOffline()voidmsg(TL translation, java.lang.Object... args)voidmsg(java.lang.String str, java.lang.Object... args)voidonDeath()abstract voidremove()voidresetFactionData()voidresetFactionData(boolean doSpoutUpdate)voidsendFactionHereMessage(Faction from)voidsendFancyMessage(java.util.List<mkremins.fanciful.FancyMessage> messages)voidsendFancyMessage(mkremins.fanciful.FancyMessage message)voidsendMessage(java.lang.String msg)voidsendMessage(java.util.List<java.lang.String> msgs)voidsetAlt(boolean alt)voidsetAutoClaimFor(Faction faction)voidsetAutoLeave(boolean willLeave)voidsetChatMode(ChatMode chatMode)voidsetCooldown(java.lang.String cmd, long cooldown)voidsetEnteringPassword(boolean toggle, java.lang.String warp)voidsetFaction(Faction faction, boolean alt)Sets the faction of the FPlayervoidsetFFlying(boolean fly, boolean damage)voidsetFlying(boolean fly)voidsetId(java.lang.String id)voidsetIgnoreAllianceChat(boolean ignore)voidsetInspectMode(boolean status)voidsetInVault(boolean status)voidsetIsAdminBypassing(boolean val)voidsetIsAutoSafeClaimEnabled(boolean enabled)voidsetIsAutoWarClaimEnabled(boolean enabled)voidsetLastFrostwalkerMessage()voidsetLastLoginTime(long lastLoginTime)voidsetLastStoodAt(FLocation flocation)voidsetMapAutoUpdating(boolean mapAutoUpdating)voidsetMapHeight(int height)voidsetMonitorJoins(boolean monitor)voidsetName(java.lang.String name)voidsetNotificationsEnabled(boolean enabled)voidsetPowerBoost(double powerBoost)voidsetRole(Role role)voidsetShowScoreboard(boolean show)voidsetSpyingChat(boolean chatSpying)voidsetStealth(boolean stealth)Toggles the stealth of the FPlayer depending on the parametervoidsetTakeFallDamage(boolean fallDamage)voidsetTitle(org.bukkit.command.CommandSender sender, java.lang.String title)booleanshouldBeSaved()booleanshouldTakeFallDamage()booleanshowInfoBoard(Faction toShow)Check if the scoreboard should be shown.booleanshowScoreboard()voidstopWarmup()voidtakeMoney(int amt)voidupdatePower()booleanwillAutoLeave()Gets autoleave status
-
-
-
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
-
isStealthEnabled
public boolean isStealthEnabled()
Description copied from interface:FPlayerUsed to know if stealth is toggled on or off- Specified by:
isStealthEnabledin interfaceFPlayer- Returns:
- if stealth mode is on or not.
-
setStealth
public void setStealth(boolean stealth)
Description copied from interface:FPlayerToggles the stealth of the FPlayer depending on the parameter- Specified by:
setStealthin interfaceFPlayer- Parameters:
stealth- - toggles stealth
-
login
public void login()
Description copied from interface:FPlayerSets the kills and deaths of a player.
-
logout
public void logout()
Description copied from interface:FPlayerCaches the kills and deaths of a player.
-
getCooldown
public int getCooldown(java.lang.String cmd)
- Specified by:
getCooldownin interfaceFPlayer
-
setCooldown
public void setCooldown(java.lang.String cmd, long cooldown)- Specified by:
setCooldownin interfaceFPlayer
-
isCooldownEnded
public boolean isCooldownEnded(java.lang.String cmd)
- Specified by:
isCooldownEndedin interfaceFPlayer
-
getFaction
public Faction getFaction()
Description copied from interface:FPlayergets the faction of a FPlayer.- Specified by:
getFactionin interfaceFPlayer- Returns:
- Faction of the FPlayer.
-
setFaction
public void setFaction(Faction faction, boolean alt)
Description copied from interface:FPlayerSets the faction of the FPlayer- Specified by:
setFactionin interfaceFPlayer- Parameters:
faction- faction to set.
-
setNotificationsEnabled
public void setNotificationsEnabled(boolean enabled)
- Specified by:
setNotificationsEnabledin interfaceFPlayer
-
hasNotificationsEnabled
public boolean hasNotificationsEnabled()
- Specified by:
hasNotificationsEnabledin interfaceFPlayer
-
getFactionId
public java.lang.String getFactionId()
Description copied from interface:FPlayerGets the faction ID of the player.- Specified by:
getFactionIdin interfaceFPlayer- Returns:
- FactionsID string
-
hasFaction
public boolean hasFaction()
Description copied from interface:FPlayerCheck if a player has a faction- Specified by:
hasFactionin interfaceFPlayer- Returns:
- boolean
-
setMonitorJoins
public void setMonitorJoins(boolean monitor)
- Specified by:
setMonitorJoinsin interfaceFPlayer
-
isMonitoringJoins
public boolean isMonitoringJoins()
- Specified by:
isMonitoringJoinsin interfaceFPlayer
-
getPowerBoost
public double getPowerBoost()
- Specified by:
getPowerBoostin interfaceFPlayer
-
setPowerBoost
public void setPowerBoost(double powerBoost)
- Specified by:
setPowerBoostin interfaceFPlayer
-
willAutoLeave
public boolean willAutoLeave()
Description copied from interface:FPlayerGets autoleave status- Specified by:
willAutoLeavein interfaceFPlayer- Returns:
- boolean of the autoleave
-
setAutoLeave
public void setAutoLeave(boolean willLeave)
- Specified by:
setAutoLeavein interfaceFPlayer
-
getLastFrostwalkerMessage
public long getLastFrostwalkerMessage()
- Specified by:
getLastFrostwalkerMessagein interfaceFPlayer
-
setLastFrostwalkerMessage
public void setLastFrostwalkerMessage()
- Specified by:
setLastFrostwalkerMessagein interfaceFPlayer
-
getAutoClaimFor
public Faction getAutoClaimFor()
- Specified by:
getAutoClaimForin interfaceFPlayer
-
setAutoClaimFor
public void setAutoClaimFor(Faction faction)
- Specified by:
setAutoClaimForin interfaceFPlayer
-
isAutoSafeClaimEnabled
public boolean isAutoSafeClaimEnabled()
- Specified by:
isAutoSafeClaimEnabledin interfaceFPlayer
-
setIsAutoSafeClaimEnabled
public void setIsAutoSafeClaimEnabled(boolean enabled)
- Specified by:
setIsAutoSafeClaimEnabledin interfaceFPlayer
-
isAutoWarClaimEnabled
public boolean isAutoWarClaimEnabled()
- Specified by:
isAutoWarClaimEnabledin interfaceFPlayer
-
setIsAutoWarClaimEnabled
public void setIsAutoWarClaimEnabled(boolean enabled)
- Specified by:
setIsAutoWarClaimEnabledin interfaceFPlayer
-
isAdminBypassing
public boolean isAdminBypassing()
- Specified by:
isAdminBypassingin interfaceFPlayer
-
isVanished
public boolean isVanished()
- Specified by:
isVanishedin interfaceFPlayer
-
setIsAdminBypassing
public void setIsAdminBypassing(boolean val)
- Specified by:
setIsAdminBypassingin interfaceFPlayer
-
getChatMode
public ChatMode getChatMode()
- Specified by:
getChatModein interfaceFPlayer
-
setChatMode
public void setChatMode(ChatMode chatMode)
- Specified by:
setChatModein interfaceFPlayer
-
isIgnoreAllianceChat
public boolean isIgnoreAllianceChat()
- Specified by:
isIgnoreAllianceChatin interfaceFPlayer
-
setIgnoreAllianceChat
public void setIgnoreAllianceChat(boolean ignore)
- Specified by:
setIgnoreAllianceChatin interfaceFPlayer
-
isSpyingChat
public boolean isSpyingChat()
- Specified by:
isSpyingChatin interfaceFPlayer
-
setSpyingChat
public void setSpyingChat(boolean chatSpying)
- Specified by:
setSpyingChatin interfaceFPlayer
-
getAccountId
public java.lang.String getAccountId()
- Specified by:
getAccountIdin interfaceEconomyParticipator- Specified by:
getAccountIdin interfaceFPlayer
-
resetFactionData
public void resetFactionData(boolean doSpoutUpdate)
- Specified by:
resetFactionDatain interfaceFPlayer
-
resetFactionData
public void resetFactionData()
- Specified by:
resetFactionDatain interfaceFPlayer
-
getLastLoginTime
public long getLastLoginTime()
- Specified by:
getLastLoginTimein interfaceFPlayer
-
setLastLoginTime
public void setLastLoginTime(long lastLoginTime)
- Specified by:
setLastLoginTimein interfaceFPlayer
-
isMapAutoUpdating
public boolean isMapAutoUpdating()
- Specified by:
isMapAutoUpdatingin interfaceFPlayer
-
setMapAutoUpdating
public void setMapAutoUpdating(boolean mapAutoUpdating)
- Specified by:
setMapAutoUpdatingin interfaceFPlayer
-
hasLoginPvpDisabled
public boolean hasLoginPvpDisabled()
- Specified by:
hasLoginPvpDisabledin interfaceFPlayer
-
getLastStoodAt
public FLocation getLastStoodAt()
- Specified by:
getLastStoodAtin interfaceFPlayer
-
setLastStoodAt
public void setLastStoodAt(FLocation flocation)
- Specified by:
setLastStoodAtin interfaceFPlayer
-
setTitle
public void setTitle(org.bukkit.command.CommandSender sender, java.lang.String title)
-
setName
public void setName(java.lang.String name)
-
getNameAndSomething
public java.lang.String getNameAndSomething(java.lang.String something)
- Specified by:
getNameAndSomethingin interfaceFPlayer
-
getNameAndTitle
public java.lang.String getNameAndTitle()
- Specified by:
getNameAndTitlein interfaceFPlayer
-
getNameAndTag
public java.lang.String getNameAndTag()
- Specified by:
getNameAndTagin interfaceFPlayer
-
getNameAndTitle
public java.lang.String getNameAndTitle(Faction faction)
- Specified by:
getNameAndTitlein interfaceFPlayer
-
getNameAndTitle
public java.lang.String getNameAndTitle(MemoryFPlayer fplayer)
-
getChatTag
public java.lang.String getChatTag()
- Specified by:
getChatTagin interfaceFPlayer
-
getChatTag
public java.lang.String getChatTag(Faction faction)
- Specified by:
getChatTagin interfaceFPlayer
-
getChatTag
public java.lang.String getChatTag(MemoryFPlayer fplayer)
-
describeTo
public java.lang.String describeTo(RelationParticipator that, boolean ucfirst)
- Specified by:
describeToin interfaceFPlayer- Specified by:
describeToin interfaceRelationParticipator
-
describeTo
public java.lang.String describeTo(RelationParticipator that)
- Specified by:
describeToin interfaceFPlayer- Specified by:
describeToin interfaceRelationParticipator
-
getRelationTo
public Relation getRelationTo(RelationParticipator rp)
- Specified by:
getRelationToin interfaceFPlayer- Specified by:
getRelationToin interfaceRelationParticipator
-
getRelationTo
public Relation getRelationTo(RelationParticipator rp, boolean ignorePeaceful)
- Specified by:
getRelationToin interfaceFPlayer- Specified by:
getRelationToin interfaceRelationParticipator
-
getRelationToLocation
public Relation getRelationToLocation()
- Specified by:
getRelationToLocationin interfaceFPlayer
-
getColorTo
public org.bukkit.ChatColor getColorTo(RelationParticipator rp)
- Specified by:
getColorToin interfaceFPlayer- Specified by:
getColorToin interfaceRelationParticipator
-
alterPower
public void alterPower(double delta)
- Specified by:
alterPowerin interfaceFPlayer
-
getPowerMax
public double getPowerMax()
- Specified by:
getPowerMaxin interfaceFPlayer
-
getPowerMin
public double getPowerMin()
- Specified by:
getPowerMinin interfaceFPlayer
-
getPowerRounded
public int getPowerRounded()
- Specified by:
getPowerRoundedin interfaceFPlayer
-
getPowerMaxRounded
public int getPowerMaxRounded()
- Specified by:
getPowerMaxRoundedin interfaceFPlayer
-
getPowerMinRounded
public int getPowerMinRounded()
- Specified by:
getPowerMinRoundedin interfaceFPlayer
-
getMillisPassed
public long getMillisPassed()
- Specified by:
getMillisPassedin interfaceFPlayer
-
getLastPowerUpdateTime
public long getLastPowerUpdateTime()
- Specified by:
getLastPowerUpdateTimein interfaceFPlayer
-
updatePower
public void updatePower()
- Specified by:
updatePowerin interfaceFPlayer
-
losePowerFromBeingOffline
public void losePowerFromBeingOffline()
- Specified by:
losePowerFromBeingOfflinein interfaceFPlayer
-
isInOwnTerritory
public boolean isInOwnTerritory()
- Specified by:
isInOwnTerritoryin interfaceFPlayer
-
isInOthersTerritory
public boolean isInOthersTerritory()
- Specified by:
isInOthersTerritoryin interfaceFPlayer
-
isInAllyTerritory
public boolean isInAllyTerritory()
- Specified by:
isInAllyTerritoryin interfaceFPlayer
-
isInNeutralTerritory
public boolean isInNeutralTerritory()
- Specified by:
isInNeutralTerritoryin interfaceFPlayer
-
isInEnemyTerritory
public boolean isInEnemyTerritory()
- Specified by:
isInEnemyTerritoryin interfaceFPlayer
-
sendFactionHereMessage
public void sendFactionHereMessage(Faction from)
- Specified by:
sendFactionHereMessagein interfaceFPlayer
-
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:
showScoreboardin interfaceFPlayer
-
setShowScoreboard
public void setShowScoreboard(boolean show)
- Specified by:
setShowScoreboardin interfaceFPlayer
-
canClaimForFaction
public boolean canClaimForFaction(Faction forFaction)
- Specified by:
canClaimForFactionin interfaceFPlayer
-
canClaimForFactionAtLocation
public boolean canClaimForFactionAtLocation(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)
- Specified by:
canClaimForFactionAtLocationin interfaceFPlayer
-
canClaimForFactionAtLocation
public boolean canClaimForFactionAtLocation(Faction forFaction, FLocation flocation, boolean notifyFailure)
- Specified by:
canClaimForFactionAtLocationin interfaceFPlayer
-
attemptClaim
public boolean attemptClaim(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)
- Specified by:
attemptClaimin interfaceFPlayer
-
shouldBeSaved
public boolean shouldBeSaved()
-
msg
public void msg(java.lang.String str, java.lang.Object... args)- Specified by:
msgin interfaceEconomyParticipator- Specified by:
msgin interfaceFPlayer
-
msg
public void msg(TL translation, java.lang.Object... args)
- Specified by:
msgin interfaceEconomyParticipator
-
isOnlineAndVisibleTo
public boolean isOnlineAndVisibleTo(org.bukkit.entity.Player player)
- Specified by:
isOnlineAndVisibleToin interfaceFPlayer
-
setFFlying
public void setFFlying(boolean fly, boolean damage)- Specified by:
setFFlyingin interfaceFPlayer
-
setInVault
public void setInVault(boolean status)
- Specified by:
setInVaultin interfaceFPlayer
-
canFlyAtLocation
public boolean canFlyAtLocation()
- Specified by:
canFlyAtLocationin interfaceFPlayer
-
canFlyAtLocation
public boolean canFlyAtLocation(FLocation location)
- Specified by:
canFlyAtLocationin interfaceFPlayer
-
shouldTakeFallDamage
public boolean shouldTakeFallDamage()
- Specified by:
shouldTakeFallDamagein interfaceFPlayer
-
setTakeFallDamage
public void setTakeFallDamage(boolean fallDamage)
- Specified by:
setTakeFallDamagein interfaceFPlayer
-
isEnteringPassword
public boolean isEnteringPassword()
- Specified by:
isEnteringPasswordin interfaceFPlayer
-
setEnteringPassword
public void setEnteringPassword(boolean toggle, java.lang.String warp)- Specified by:
setEnteringPasswordin interfaceFPlayer
-
getEnteringWarp
public java.lang.String getEnteringWarp()
- Specified by:
getEnteringWarpin interfaceFPlayer
-
sendMessage
public void sendMessage(java.lang.String msg)
- Specified by:
sendMessagein interfaceFPlayer
-
sendMessage
public void sendMessage(java.util.List<java.lang.String> msgs)
- Specified by:
sendMessagein interfaceFPlayer
-
sendFancyMessage
public void sendFancyMessage(mkremins.fanciful.FancyMessage message)
- Specified by:
sendFancyMessagein interfaceFPlayer
-
sendFancyMessage
public void sendFancyMessage(java.util.List<mkremins.fanciful.FancyMessage> messages)
- Specified by:
sendFancyMessagein interfaceFPlayer
-
getMapHeight
public int getMapHeight()
- Specified by:
getMapHeightin interfaceFPlayer
-
setMapHeight
public void setMapHeight(int height)
- Specified by:
setMapHeightin interfaceFPlayer
-
getNameAndTitle
public java.lang.String getNameAndTitle(FPlayer fplayer)
- Specified by:
getNameAndTitlein interfaceFPlayer
-
getChatTag
public java.lang.String getChatTag(FPlayer fplayer)
- Specified by:
getChatTagin interfaceFPlayer
-
clearWarmup
public void clearWarmup()
- Specified by:
clearWarmupin interfaceFPlayer
-
stopWarmup
public void stopWarmup()
- Specified by:
stopWarmupin interfaceFPlayer
-
isWarmingUp
public boolean isWarmingUp()
- Specified by:
isWarmingUpin interfaceFPlayer
-
getWarmupType
public WarmUpUtil.Warmup getWarmupType()
- Specified by:
getWarmupTypein interfaceFPlayer
-
addWarmup
public void addWarmup(WarmUpUtil.Warmup warmup, int taskId)
-
checkIfNearbyEnemies
public boolean checkIfNearbyEnemies()
- Specified by:
checkIfNearbyEnemiesin interfaceFPlayer
-
canflyinWilderness
public java.lang.Boolean canflyinWilderness()
- Specified by:
canflyinWildernessin interfaceFPlayer
-
canflyinWarzone
public java.lang.Boolean canflyinWarzone()
- Specified by:
canflyinWarzonein interfaceFPlayer
-
canflyinSafezone
public java.lang.Boolean canflyinSafezone()
- Specified by:
canflyinSafezonein interfaceFPlayer
-
canflyinEnemy
public java.lang.Boolean canflyinEnemy()
- Specified by:
canflyinEnemyin interfaceFPlayer
-
canflyinAlly
public java.lang.Boolean canflyinAlly()
- Specified by:
canflyinAllyin interfaceFPlayer
-
canflyinTruce
public java.lang.Boolean canflyinTruce()
- Specified by:
canflyinTrucein interfaceFPlayer
-
canflyinNeutral
public java.lang.Boolean canflyinNeutral()
- Specified by:
canflyinNeutralin interfaceFPlayer
-
isInspectMode
public boolean isInspectMode()
- Specified by:
isInspectModein interfaceFPlayer
-
setInspectMode
public void setInspectMode(boolean status)
- Specified by:
setInspectModein interfaceFPlayer
-
attemptClaim
public boolean attemptClaim(Faction forFaction, FLocation flocation, boolean notifyFailure)
- Specified by:
attemptClaimin interfaceFPlayer
-
getRolePrefix
public java.lang.String getRolePrefix()
- Specified by:
getRolePrefixin interfaceFPlayer
-
commas
public java.lang.String commas(double amount)
-
-