Interface KonquestOfflinePlayer
- All Known Subinterfaces:
KonquestPlayer
public interface KonquestOfflinePlayer
Represents an offline player in Konquest.
This interface wraps around Bukkit's OfflinePlayer interface.
-
Method Summary
Modifier and TypeMethodDescriptionGet the player's exile kingdom.Get the player's current kingdom.org.bukkit.OfflinePlayer
Get the OfflinePlayer instance represented by this object.boolean
Get whether the player is a barbarian.
-
Method Details
-
getOfflineBukkitPlayer
org.bukkit.OfflinePlayer getOfflineBukkitPlayer()Get the OfflinePlayer instance represented by this object.- Returns:
- The offline player
-
getKingdom
KonquestKingdom getKingdom()Get the player's current kingdom.- Returns:
- The current kingdom
-
getExileKingdom
KonquestKingdom getExileKingdom()Get the player's exile kingdom. This is the previous kingdom that the player was a member of.- Returns:
- The exile kingdom
-
isBarbarian
boolean isBarbarian()Get whether the player is a barbarian.- Returns:
- True when the player is a barbarian, else false
-