Class 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 fields
      APIResponse playerAllowedAtLocation​(org.bukkit.Location location, org.bukkit.entity.Player player)  
      org.bukkit.entity.Player playerFromUUIDString​(java.lang.String playerUUID)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlayerFunctions

        public PlayerFunctions()
    • 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)