Interface KonquestPlayer
- All Superinterfaces:
KonquestOfflinePlayer
Represents an online player in Konquest.
This interface wraps around Bukkit's Player interface.
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Player
Get the Player instance represented by this object.boolean
Get whether the player is in Admin Bypass mode.boolean
Get whether the player is combat tagged.boolean
Get whether the player is using the fly command within friendly territory.boolean
Get whether the player is using global chat or kingdom chat.Methods inherited from interface com.github.rumsfield.konquest.api.model.KonquestOfflinePlayer
getExileKingdom, getKingdom, getOfflineBukkitPlayer, isBarbarian
-
Method Details
-
getBukkitPlayer
org.bukkit.entity.Player getBukkitPlayer()Get the Player instance represented by this object.- Returns:
- The player
-
isAdminBypassActive
boolean isAdminBypassActive()Get whether the player is in Admin Bypass mode.- Returns:
- True when in admin bypass mode, else false
-
isGlobalChat
boolean isGlobalChat()Get whether the player is using global chat or kingdom chat.- Returns:
- True when using global chat, else false
-
isCombatTagged
boolean isCombatTagged()Get whether the player is combat tagged.- Returns:
- True when the player is combat tagged, else false
-
isFlyEnabled
boolean isFlyEnabled()Get whether the player is using the fly command within friendly territory.- Returns:
- True when the player is flying, else false
-