Class Integrations

java.lang.Object
xyz.geik.farmer.integrations.Integrations
Direct Known Subclasses:
Askyblock, Bento, FabledSkyblock, GriefPrevent, IridiumSkyblock, Lands, RClaim, SuperiorSkyblock, TownyAdvanced, UltimateClaims

public abstract class Integrations extends Object
Abstract class for Integration hook Which getting owner UUID and region ID for necessary sections.
Author:
geik
  • Constructor Details

    • Integrations

      public Integrations(org.bukkit.event.Listener listener)
      Constructor register event of super class
      Parameters:
      listener - Listener class of integration
  • Method Details

    • getOwnerUUID

      public abstract UUID getOwnerUUID(String regionID)
      Getting Owner UUID by Region ID
      Parameters:
      regionID - id of region
      Returns:
      UUID owner uuid
    • getOwnerUUID

      public abstract UUID getOwnerUUID(org.bukkit.Location location)
      Getting Owner UUID by Location of player
      Parameters:
      location - location of region
      Returns:
      UUID owner uuid
    • getRegionID

      public abstract String getRegionID(org.bukkit.Location location)
      Getting Region ID by Location of player
      Parameters:
      location - location of region
      Returns:
      String regionId
    • registerIntegrations

      public static void registerIntegrations()
      Catches plugin that server uses and loads integration class of it.