Package ch.njol.skript.hooks.regions
Class RegionsPlugin<P extends org.bukkit.plugin.Plugin>
java.lang.Object
ch.njol.skript.hooks.Hook<P>
ch.njol.skript.hooks.regions.RegionsPlugin<P>
- Direct Known Subclasses:
GriefPreventionHook
,PreciousStonesHook
,ResidenceHook
,WorldGuardHook
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canBuild(org.bukkit.entity.Player p, org.bukkit.Location l)
abstract boolean
canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l)
static @Nullable RegionsPlugin<?>
static @Nullable Region
abstract @Nullable Region
getRegion_i(org.bukkit.World world, String name)
getRegionsAt(org.bukkit.Location l)
abstract Collection<? extends Region>
getRegionsAt_i(org.bukkit.Location l)
static boolean
abstract boolean
protected boolean
init()
Called when the plugin has been successfully hookedMethods inherited from class ch.njol.skript.hooks.Hook
getName, getPlugin, loadClasses
-
Field Details
-
plugins
-
-
Constructor Details
-
RegionsPlugin
- Throws:
IOException
-
-
Method Details
-
init
protected boolean init()Description copied from class:Hook
Called when the plugin has been successfully hooked -
canBuild_i
public abstract boolean canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l) -
canBuild
public static boolean canBuild(org.bukkit.entity.Player p, org.bukkit.Location l) -
getRegionsAt_i
-
getRegionsAt
-
getRegion_i
-
getRegion
-
hasMultipleOwners_i
public abstract boolean hasMultipleOwners_i() -
hasMultipleOwners
public static boolean hasMultipleOwners() -
getRegionClass
-
getPlugin
-