Class FactionsUUIDProtectionModule
java.lang.Object
io.github.bakedlibs.dough.protection.modules.FactionsUUIDProtectionModule
- All Implemented Interfaces:
ProtectionModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis returns thePluginfor thisProtectionModule.booleanhasPermission(OfflinePlayer p, Location l, Interaction action) This method implements the functionality of this module.voidload()Use this method to load instances of your API or other utilites you needMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.bakedlibs.dough.protection.ProtectionModule
getName, getVersion
-
Constructor Details
-
FactionsUUIDProtectionModule
-
-
Method Details
-
getPlugin
Description copied from interface:ProtectionModuleThis returns thePluginfor thisProtectionModule.- Specified by:
getPluginin interfaceProtectionModule- Returns:
- The associated
Plugin
-
load
public void load()Description copied from interface:ProtectionModuleUse this method to load instances of your API or other utilites you need- Specified by:
loadin interfaceProtectionModule
-
hasPermission
Description copied from interface:ProtectionModuleThis method implements the functionality of this module. Use it to allow or deny an Action based on the rules of your ProtectionPlugin- Specified by:
hasPermissionin interfaceProtectionModule- Parameters:
p- The Player that is being queried, can be offlinel- TheLocationof the event that is happeningaction- TheInteractionthat is taking place.- Returns:
- Whether the action was allowed by your
Plugin
-