public interface FPlayer extends EconomyParticipator
Modifier and Type | Method and Description |
---|---|
void |
addWarmup(WarmUpUtil.Warmup warmup,
int taskId) |
void |
alterPower(double delta) |
boolean |
attemptClaim(Faction forFaction,
FLocation location,
boolean notifyFailure) |
boolean |
attemptClaim(Faction forFaction,
org.bukkit.Location location,
boolean notifyFailure) |
boolean |
canClaimForFaction(Faction forFaction) |
boolean |
canClaimForFactionAtLocation(Faction forFaction,
FLocation location,
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 |
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) |
org.bukkit.ChatColor |
getColorTo(RelationParticipator rp) |
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() |
FLocation |
getLastStoodAt() |
int |
getMapHeight() |
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) |
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) |
void |
heal(int amnt) |
boolean |
isAdminBypassing() |
boolean |
isAutoSafeClaimEnabled() |
boolean |
isAutoWarClaimEnabled() |
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 me) |
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(java.lang.String str,
java.lang.Object... args) |
void |
onDeath() |
void |
remove() |
void |
resetFactionData() |
void |
resetFactionData(boolean doSpoutUpdate) |
void |
sendFactionHereMessage(Faction from) |
void |
sendFancyMessage(mkremins.fanciful.FancyMessage message) |
void |
sendFancyMessage(java.util.List<mkremins.fanciful.FancyMessage> message) |
void |
sendMessage(java.util.List<java.lang.String> messages) |
void |
sendMessage(java.lang.String message) |
void |
setAutoClaimFor(Faction faction) |
void |
setAutoLeave(boolean autoLeave) |
void |
setChatMode(ChatMode chatMode) |
void |
setEnteringPassword(boolean toggle,
java.lang.String warp) |
void |
setFaction(Faction faction)
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 |
setPowerBoost(double powerBoost) |
void |
setRole(Role role) |
void |
setShowScoreboard(boolean show) |
void |
setSpyingChat(boolean chatSpying) |
void |
setStealth(boolean stealthToggle)
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 |
shouldTakeFallDamage() |
boolean |
showScoreboard() |
void |
stopWarmup() |
void |
takeMoney(int amt) |
void |
updatePower() |
boolean |
willAutoLeave()
Gets autoleave status
|
msg
boolean isStealthEnabled()
void setStealth(boolean stealthToggle)
stealthToggle
- - toggles stealthvoid login()
void logout()
Faction getFaction()
void setFaction(Faction faction)
faction
- faction to set.java.lang.String getFactionId()
boolean hasFaction()
boolean willAutoLeave()
void setAutoLeave(boolean autoLeave)
long getLastFrostwalkerMessage()
void setLastFrostwalkerMessage()
void setMonitorJoins(boolean monitor)
boolean isMonitoringJoins()
Role getRole()
void setRole(Role role)
boolean shouldTakeFallDamage()
void setTakeFallDamage(boolean fallDamage)
double getPowerBoost()
void setPowerBoost(double powerBoost)
Faction getAutoClaimFor()
void setAutoClaimFor(Faction faction)
boolean isAutoSafeClaimEnabled()
void setIsAutoSafeClaimEnabled(boolean enabled)
boolean isAutoWarClaimEnabled()
void setIsAutoWarClaimEnabled(boolean enabled)
boolean isAdminBypassing()
boolean isVanished()
void setIsAdminBypassing(boolean val)
ChatMode getChatMode()
void setChatMode(ChatMode chatMode)
boolean isIgnoreAllianceChat()
void setIgnoreAllianceChat(boolean ignore)
boolean isSpyingChat()
void setSpyingChat(boolean chatSpying)
boolean showScoreboard()
void setShowScoreboard(boolean show)
java.lang.String getAccountId()
getAccountId
in interface EconomyParticipator
void resetFactionData(boolean doSpoutUpdate)
void resetFactionData()
long getLastLoginTime()
void setLastLoginTime(long lastLoginTime)
boolean isMapAutoUpdating()
void setMapAutoUpdating(boolean mapAutoUpdating)
boolean hasLoginPvpDisabled()
FLocation getLastStoodAt()
void setLastStoodAt(FLocation flocation)
java.lang.String getTitle()
void setTitle(org.bukkit.command.CommandSender sender, java.lang.String title)
java.lang.String getName()
java.lang.String getTag()
java.lang.String getNameAndSomething(java.lang.String something)
java.lang.String getNameAndTitle()
java.lang.String getNameAndTag()
java.lang.String getNameAndTitle(Faction faction)
java.lang.String getNameAndTitle(FPlayer fplayer)
java.lang.String getChatTag()
java.lang.String getChatTag(Faction faction)
java.lang.String getChatTag(FPlayer fplayer)
int getKills()
int getDeaths()
void takeMoney(int amt)
boolean hasMoney(int amt)
boolean isInspectMode()
void setInspectMode(boolean status)
java.lang.Boolean canflyinWilderness()
java.lang.Boolean canflyinWarzone()
java.lang.Boolean canflyinSafezone()
java.lang.Boolean canflyinEnemy()
java.lang.Boolean canflyinAlly()
java.lang.Boolean canflyinTruce()
java.lang.Boolean canflyinNeutral()
java.lang.String describeTo(RelationParticipator that, boolean ucfirst)
describeTo
in interface RelationParticipator
java.lang.String describeTo(RelationParticipator that)
describeTo
in interface RelationParticipator
Relation getRelationTo(RelationParticipator rp)
getRelationTo
in interface RelationParticipator
Relation getRelationTo(RelationParticipator rp, boolean ignorePeaceful)
getRelationTo
in interface RelationParticipator
Relation getRelationToLocation()
org.bukkit.ChatColor getColorTo(RelationParticipator rp)
getColorTo
in interface RelationParticipator
java.lang.String getRolePrefix()
void heal(int amnt)
double getPower()
void alterPower(double delta)
double getPowerMax()
double getPowerMin()
int getPowerRounded()
int getPowerMaxRounded()
int getPowerMinRounded()
void updatePower()
void losePowerFromBeingOffline()
void onDeath()
boolean isInOwnTerritory()
boolean isInOthersTerritory()
boolean isInAllyTerritory()
boolean isInNeutralTerritory()
boolean isInEnemyTerritory()
void sendFactionHereMessage(Faction from)
void leave(boolean makePay)
boolean canClaimForFaction(Faction forFaction)
boolean canClaimForFactionAtLocation(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)
boolean canClaimForFactionAtLocation(Faction forFaction, FLocation location, boolean notifyFailure)
boolean attemptClaim(Faction forFaction, org.bukkit.Location location, boolean notifyFailure)
boolean isInVault()
void setInVault(boolean status)
void msg(java.lang.String str, java.lang.Object... args)
msg
in interface EconomyParticipator
java.lang.String getId()
void setId(java.lang.String id)
org.bukkit.entity.Player getPlayer()
boolean isOnline()
void sendMessage(java.lang.String message)
void sendMessage(java.util.List<java.lang.String> messages)
void sendFancyMessage(mkremins.fanciful.FancyMessage message)
void sendFancyMessage(java.util.List<mkremins.fanciful.FancyMessage> message)
int getMapHeight()
void setMapHeight(int height)
boolean isOnlineAndVisibleTo(org.bukkit.entity.Player me)
void remove()
boolean isOffline()
boolean isFlying()
void setFlying(boolean fly)
void setFFlying(boolean fly, boolean damage)
boolean canFlyAtLocation()
boolean canFlyAtLocation(FLocation location)
boolean isEnteringPassword()
void setEnteringPassword(boolean toggle, java.lang.String warp)
java.lang.String getEnteringWarp()
boolean checkIfNearbyEnemies()
boolean isWarmingUp()
WarmUpUtil.Warmup getWarmupType()
void addWarmup(WarmUpUtil.Warmup warmup, int taskId)
void stopWarmup()
void clearWarmup()