Class RClaim
java.lang.Object
xyz.geik.farmer.integrations.Integrations
xyz.geik.farmer.integrations.rclaim.RClaim
Main RClaim integration class that extends Integration
- Since:
- 25.08.2024
- Author:
- Weesli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOwnerUUID
(String regionID) Gets UUID of owner from RClaimAPI by regionIdgetOwnerUUID
(org.bukkit.Location location) Gets UUID of owner from RClaimAPI by locationgetRegionID
(org.bukkit.Location location) Gets getRegionID of locationMethods inherited from class xyz.geik.farmer.integrations.Integrations
registerIntegrations
-
Constructor Details
-
RClaim
public RClaim()Constructor register event of super class
-
-
Method Details
-
getOwnerUUID
Gets UUID of owner from RClaimAPI by regionId- Specified by:
getOwnerUUID
in classIntegrations
- Parameters:
regionID
- id of region- Returns:
- UUID of region owner
-
getOwnerUUID
Gets UUID of owner from RClaimAPI by location- Specified by:
getOwnerUUID
in classIntegrations
- Parameters:
location
- location of region- Returns:
- UUID of region owner
-
getRegionID
Gets getRegionID of location- Specified by:
getRegionID
in classIntegrations
- Parameters:
location
- location of region- Returns:
- id of region
-