Package work.torp.domain.api
Class PlayerFunctions
- java.lang.Object
-
- work.torp.domain.api.PlayerFunctions
-
public class PlayerFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PlayerFunctions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<work.torp.domain.domainblock.DomainBlock>
getPlayerDomainFields(java.util.UUID playerUUID)
Returns a list of all the player owned fieldsAPIResponse
playerAllowedAtLocation(org.bukkit.Location location, org.bukkit.entity.Player player)
org.bukkit.entity.Player
playerFromUUIDString(java.lang.String playerUUID)
-
-
-
Method Detail
-
getPlayerDomainFields
public java.util.List<work.torp.domain.domainblock.DomainBlock> getPlayerDomainFields(java.util.UUID playerUUID)
Returns a list of all the player owned fields- Parameters:
playerUUID
- Player Unique Identifier to lookup- Returns:
- List of DomainBlock objects owned by specified player
-
playerFromUUIDString
public org.bukkit.entity.Player playerFromUUIDString(java.lang.String playerUUID)
-
playerAllowedAtLocation
public APIResponse playerAllowedAtLocation(org.bukkit.Location location, org.bukkit.entity.Player player)
-
-