Package xyz.geik.farmer.integrations
Class Integrations
java.lang.Object
xyz.geik.farmer.integrations.Integrations
- Direct Known Subclasses:
Askyblock
,Bento
,FabledSkyblock
,GriefPrevent
,IridiumSkyblock
,Lands
,RClaim
,SuperiorSkyblock
,TownyAdvanced
,UltimateClaims
Abstract class for Integration hook
Which getting owner UUID and region ID
for necessary sections.
- Author:
- geik
-
Constructor Summary
ConstructorDescriptionIntegrations
(org.bukkit.event.Listener listener) Constructor register event of super class -
Method Summary
Modifier and TypeMethodDescriptionabstract UUID
getOwnerUUID
(String regionID) Getting Owner UUID by Region IDabstract UUID
getOwnerUUID
(org.bukkit.Location location) Getting Owner UUID by Location of playerabstract String
getRegionID
(org.bukkit.Location location) Getting Region ID by Location of playerstatic void
Catches plugin that server uses and loads integration class of it.
-
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
Getting Owner UUID by Region ID- Parameters:
regionID
- id of region- Returns:
- UUID owner uuid
-
getOwnerUUID
Getting Owner UUID by Location of player- Parameters:
location
- location of region- Returns:
- UUID owner uuid
-
getRegionID
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.
-