public interface Faction extends EconomyParticipator
Modifier and Type | Method and Description |
---|---|
void |
addAnnouncement(FPlayer fPlayer,
java.lang.String msg) |
boolean |
addFPlayer(FPlayer fplayer) |
void |
addRule(java.lang.String rule) |
void |
addTnt(int amt) |
void |
ban(FPlayer target,
FPlayer banner) |
void |
clearAllClaimOwnership() |
void |
clearClaimOwnership(FLocation loc) |
void |
clearClaimOwnership(FPlayer player) |
void |
clearRules() |
void |
clearWarps() |
void |
confirmValidHome() |
void |
deinvite(FPlayer fplayer) |
java.lang.String |
describeTo(RelationParticipator that) |
java.lang.String |
describeTo(RelationParticipator that,
boolean ucfirst) |
void |
disband(org.bukkit.entity.Player disbander) |
boolean |
doesLocationHaveOwnersSet(FLocation loc) |
Access |
getAccess(FPlayer player,
PermissableAction permissableAction) |
Access |
getAccess(Permissable permissable,
PermissableAction permissableAction) |
java.lang.String |
getAccountId() |
java.util.Set<FLocation> |
getAllClaims() |
java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> |
getAnnouncements() |
java.util.Set<BanInfo> |
getBannedPlayers() |
org.bukkit.inventory.ItemStack |
getBanner() |
org.bukkit.Location |
getCheckpoint() |
org.bukkit.inventory.Inventory |
getChestInventory() |
java.util.Map<FLocation,java.util.Set<java.lang.String>> |
getClaimOwnership() |
org.bukkit.ChatColor |
getColorTo(RelationParticipator rp) |
java.lang.String |
getComparisonTag() |
int |
getCountOfClaimsWithOwners() |
int |
getDeaths() |
Role |
getDefaultRole() |
java.lang.String |
getDescription() |
java.lang.String |
getFocused()
|
long |
getFoundedDate() |
FPlayer |
getFPlayerAdmin() |
java.util.Set<FPlayer> |
getFPlayers() |
java.util.Set<FPlayer> |
getFPlayersWhereOnline(boolean online) |
java.util.Set<FPlayer> |
getFPlayersWhereOnline(boolean online,
FPlayer viewer) |
java.util.ArrayList<FPlayer> |
getFPlayersWhereRole(Role role) |
org.bukkit.Location |
getHome() |
java.lang.String |
getId() |
java.util.Set<java.lang.String> |
getInvites() |
int |
getKills() |
int |
getLandRounded() |
int |
getLandRoundedInWorld(java.lang.String worldName) |
int |
getMaxVaults() |
java.util.ArrayList<org.bukkit.entity.Player> |
getOnlinePlayers() |
boolean |
getOpen() |
java.util.Set<java.lang.String> |
getOwnerList(FLocation loc) |
java.lang.String |
getOwnerListString(FLocation loc) |
java.lang.String |
getPaypal() |
boolean |
getPeacefulExplosionsEnabled() |
java.lang.Integer |
getPermanentPower() |
java.util.Map<Permissable,java.util.Map<PermissableAction,Access>> |
getPermissions() |
double |
getPower() |
double |
getPowerBoost() |
double |
getPowerMax() |
int |
getPowerMaxRounded() |
int |
getPowerRounded() |
int |
getRelationCount(Relation relation) |
Relation |
getRelationTo(RelationParticipator rp) |
Relation |
getRelationTo(RelationParticipator rp,
boolean ignorePeaceful) |
Relation |
getRelationWish(Faction otherFaction) |
java.lang.String |
getRule(int index) |
java.util.HashMap<java.lang.Integer,java.lang.String> |
getRulesMap() |
int |
getSize() |
java.lang.String |
getTag() |
java.lang.String |
getTag(Faction otherFaction) |
java.lang.String |
getTag(FPlayer otherFplayer) |
java.lang.String |
getTag(java.lang.String prefix) |
int |
getTnt() |
int |
getUpgrade(java.lang.String key) |
org.bukkit.Location |
getVault() |
LazyLocation |
getWarp(java.lang.String name) |
java.util.concurrent.ConcurrentHashMap<java.lang.String,LazyLocation> |
getWarps() |
boolean |
hasHome() |
boolean |
hasLandInflation() |
boolean |
hasPermanentPower() |
boolean |
hasPlayersOnline() |
boolean |
hasWarpPassword(java.lang.String warp) |
void |
invite(FPlayer fplayer) |
boolean |
isBanned(FPlayer player) |
boolean |
isInvited(FPlayer fplayer) |
boolean |
isNone()
Deprecated.
|
boolean |
isNormal() |
boolean |
isPeaceful() |
boolean |
isPermanent() |
boolean |
isPlayerFreeType() |
boolean |
isPlayerInOwnerList(FPlayer player,
FLocation loc) |
boolean |
isPowerFrozen() |
boolean |
isSafeZone() |
boolean |
isWarp(java.lang.String name) |
boolean |
isWarpPassword(java.lang.String warp,
java.lang.String password) |
boolean |
isWarZone() |
boolean |
isWilderness() |
void |
memberLoggedOff() |
void |
msg(java.lang.String message,
java.lang.Object... args) |
boolean |
noExplosionsInTerritory() |
boolean |
noMonstersInTerritory() |
boolean |
noPvPInTerritory() |
void |
paypalSet(java.lang.String paypal) |
boolean |
playerHasOwnershipRights(FPlayer fplayer,
FLocation loc) |
void |
promoteNewLeader() |
void |
refreshFPlayers() |
void |
remove() |
void |
removeAnnouncements(FPlayer fPlayer) |
boolean |
removeFPlayer(FPlayer fplayer) |
void |
removePlayerAsOwner(FPlayer player,
FLocation loc) |
void |
removeRule(int index) |
boolean |
removeWarp(java.lang.String name) |
void |
resetPerms() |
void |
sendMessage(java.util.List<java.lang.String> messages) |
void |
sendMessage(java.lang.String message) |
void |
sendUnreadAnnouncements(FPlayer fPlayer) |
void |
setBannerPattern(org.bukkit.inventory.ItemStack banner) |
void |
setCheckpoint(org.bukkit.Location location) |
void |
setChestSize(int chestSize) |
void |
setDefaultRole(Role role) |
void |
setDescription(java.lang.String value) |
void |
setFocused(java.lang.String setFocused)
|
void |
setFoundedDate(long newDate) |
void |
setHome(org.bukkit.Location home) |
void |
setId(java.lang.String id) |
void |
setLastDeath(long time) |
void |
setMaxVaults(int value) |
void |
setOpen(boolean isOpen) |
void |
setPeaceful(boolean isPeaceful) |
void |
setPeacefulExplosionsEnabled(boolean val) |
void |
setPermanent(boolean isPermanent) |
void |
setPermanentPower(java.lang.Integer permanentPower) |
void |
setPermission(Permissable permissable,
PermissableAction permissableAction,
Access access) |
void |
setPlayerAsOwner(FPlayer player,
FLocation loc) |
void |
setPowerBoost(double powerBoost) |
void |
setRelationWish(Faction otherFaction,
Relation relation) |
void |
setRule(int index,
java.lang.String rule) |
void |
setTag(java.lang.String str) |
void |
setUpgrades(java.lang.String key,
int level) |
void |
setVault(org.bukkit.Location vaultLocation) |
void |
setWarp(java.lang.String name,
LazyLocation loc) |
void |
setWarpPassword(java.lang.String warp,
java.lang.String password) |
void |
takeTnt(int amt) |
void |
unban(FPlayer player) |
msg
java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> getAnnouncements()
java.util.concurrent.ConcurrentHashMap<java.lang.String,LazyLocation> getWarps()
LazyLocation getWarp(java.lang.String name)
void setWarp(java.lang.String name, LazyLocation loc)
boolean isWarp(java.lang.String name)
boolean hasWarpPassword(java.lang.String warp)
boolean isWarpPassword(java.lang.String warp, java.lang.String password)
void setWarpPassword(java.lang.String warp, java.lang.String password)
boolean removeWarp(java.lang.String name)
void clearWarps()
int getMaxVaults()
void setMaxVaults(int value)
void addAnnouncement(FPlayer fPlayer, java.lang.String msg)
void sendUnreadAnnouncements(FPlayer fPlayer)
void removeAnnouncements(FPlayer fPlayer)
java.util.Set<java.lang.String> getInvites()
java.lang.String getFocused()
void setFocused(java.lang.String setFocused)
java.lang.String getId()
void setId(java.lang.String id)
void invite(FPlayer fplayer)
void deinvite(FPlayer fplayer)
void setUpgrades(java.lang.String key, int level)
int getUpgrade(java.lang.String key)
boolean isInvited(FPlayer fplayer)
void unban(FPlayer player)
boolean isBanned(FPlayer player)
java.util.Set<BanInfo> getBannedPlayers()
java.util.HashMap<java.lang.Integer,java.lang.String> getRulesMap()
void setRule(int index, java.lang.String rule)
void addRule(java.lang.String rule)
void removeRule(int index)
void clearRules()
org.bukkit.Location getCheckpoint()
void setCheckpoint(org.bukkit.Location location)
void addTnt(int amt)
void takeTnt(int amt)
org.bukkit.Location getVault()
void setVault(org.bukkit.Location vaultLocation)
org.bukkit.inventory.Inventory getChestInventory()
void setChestSize(int chestSize)
void setBannerPattern(org.bukkit.inventory.ItemStack banner)
org.bukkit.inventory.ItemStack getBanner()
int getTnt()
java.lang.String getRule(int index)
boolean getOpen()
void setOpen(boolean isOpen)
boolean isPeaceful()
void setPeaceful(boolean isPeaceful)
boolean getPeacefulExplosionsEnabled()
void setPeacefulExplosionsEnabled(boolean val)
boolean noExplosionsInTerritory()
boolean isPermanent()
void setPermanent(boolean isPermanent)
java.lang.String getTag()
void setTag(java.lang.String str)
java.lang.String getTag(java.lang.String prefix)
java.lang.String getTag(Faction otherFaction)
java.lang.String getTag(FPlayer otherFplayer)
java.lang.String getComparisonTag()
java.lang.String getDescription()
void setDescription(java.lang.String value)
boolean hasHome()
org.bukkit.Location getHome()
void setHome(org.bukkit.Location home)
long getFoundedDate()
void setFoundedDate(long newDate)
void confirmValidHome()
java.lang.String getAccountId()
getAccountId
in interface EconomyParticipator
java.lang.Integer getPermanentPower()
void setPermanentPower(java.lang.Integer permanentPower)
boolean hasPermanentPower()
double getPowerBoost()
void setPowerBoost(double powerBoost)
boolean noPvPInTerritory()
boolean noMonstersInTerritory()
boolean isNormal()
@Deprecated boolean isNone()
boolean isWilderness()
boolean isSafeZone()
boolean isWarZone()
boolean isPlayerFreeType()
boolean isPowerFrozen()
void setLastDeath(long time)
int getKills()
int getDeaths()
Access getAccess(Permissable permissable, PermissableAction permissableAction)
Access getAccess(FPlayer player, PermissableAction permissableAction)
void setPermission(Permissable permissable, PermissableAction permissableAction, Access access)
void resetPerms()
void disband(org.bukkit.entity.Player disbander)
java.util.Map<Permissable,java.util.Map<PermissableAction,Access>> getPermissions()
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
org.bukkit.ChatColor getColorTo(RelationParticipator rp)
getColorTo
in interface RelationParticipator
int getRelationCount(Relation relation)
double getPower()
double getPowerMax()
int getPowerRounded()
int getPowerMaxRounded()
int getLandRounded()
int getLandRoundedInWorld(java.lang.String worldName)
boolean hasLandInflation()
void refreshFPlayers()
boolean addFPlayer(FPlayer fplayer)
boolean removeFPlayer(FPlayer fplayer)
int getSize()
java.util.Set<FPlayer> getFPlayers()
java.util.Set<FPlayer> getFPlayersWhereOnline(boolean online)
java.util.Set<FPlayer> getFPlayersWhereOnline(boolean online, FPlayer viewer)
FPlayer getFPlayerAdmin()
java.util.ArrayList<org.bukkit.entity.Player> getOnlinePlayers()
boolean hasPlayersOnline()
void memberLoggedOff()
void promoteNewLeader()
Role getDefaultRole()
void setDefaultRole(Role role)
void msg(java.lang.String message, java.lang.Object... args)
msg
in interface EconomyParticipator
void sendMessage(java.lang.String message)
void sendMessage(java.util.List<java.lang.String> messages)
java.util.Map<FLocation,java.util.Set<java.lang.String>> getClaimOwnership()
void clearAllClaimOwnership()
void clearClaimOwnership(FLocation loc)
void clearClaimOwnership(FPlayer player)
int getCountOfClaimsWithOwners()
boolean doesLocationHaveOwnersSet(FLocation loc)
java.util.Set<java.lang.String> getOwnerList(FLocation loc)
java.lang.String getOwnerListString(FLocation loc)
void remove()
java.util.Set<FLocation> getAllClaims()
java.lang.String getPaypal()
void paypalSet(java.lang.String paypal)