Class GriefPrevent
java.lang.Object
xyz.geik.farmer.integrations.Integrations
xyz.geik.farmer.integrations.grief.GriefPrevent
GriefPrevention Integration hook
Which getting owner UUID and region ID
for necessary sections.
-
Field Summary
Modifier and TypeFieldDescriptionstatic me.ryanhamshire.GriefPrevention.GriefPrevention
Hooking GriefPrevention main class Because i couldn't find any developer API About this plugin so i get through Main class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOwnerUUID
(String regionId) Getting Owner UUID by Region IDgetOwnerUUID
(org.bukkit.Location location) Getting Owner UUID by Location of playergetRegionID
(org.bukkit.Location location) Getting Region ID by Location of playerMethods inherited from class xyz.geik.farmer.integrations.Integrations
registerIntegrations
-
Field Details
-
grief
public static me.ryanhamshire.GriefPrevention.GriefPrevention griefHooking GriefPrevention main class Because i couldn't find any developer API About this plugin so i get through Main class.
-
-
Constructor Details
-
GriefPrevent
public GriefPrevent()Integrations#super calls here Constructor for abstract class
-
-
Method Details
-
getOwnerUUID
Getting Owner UUID by Region ID- Specified by:
getOwnerUUID
in classIntegrations
- Parameters:
regionId
- id of region- Returns:
- UUID owner uuid
-
getOwnerUUID
Getting Owner UUID by Location of player- Specified by:
getOwnerUUID
in classIntegrations
- Parameters:
location
- location of region- Returns:
- UUID owner uuid
-
getRegionID
Getting Region ID by Location of player- Specified by:
getRegionID
in classIntegrations
- Parameters:
location
- location of region- Returns:
- String regionId
-