Package ch.njol.skript.hooks.regions
Class GriefPreventionHook
java.lang.Object
ch.njol.skript.hooks.Hook<P>
ch.njol.skript.hooks.regions.RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
ch.njol.skript.hooks.regions.GriefPreventionHook
public class GriefPreventionHook
extends RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
-
Nested Class Summary
-
Field Summary
Fields inherited from class ch.njol.skript.hooks.regions.RegionsPlugin
plugins
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l)
getName()
@Nullable Region
getRegion_i(org.bukkit.World world, String name)
Collection<? extends Region>
getRegionsAt_i(org.bukkit.Location l)
boolean
protected boolean
init()
Called when the plugin has been successfully hookedMethods inherited from class ch.njol.skript.hooks.regions.RegionsPlugin
canBuild, getPlugin, getRegion, getRegionsAt, hasMultipleOwners
Methods inherited from class ch.njol.skript.hooks.Hook
getPlugin, loadClasses
-
Constructor Details
-
GriefPreventionHook
- Throws:
IOException
-
-
Method Details
-
init
protected boolean init()Description copied from class:Hook
Called when the plugin has been successfully hooked- Overrides:
init
in classRegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
-
getName
-
canBuild_i
public boolean canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l)- Specified by:
canBuild_i
in classRegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
-
getRegionsAt_i
- Specified by:
getRegionsAt_i
in classRegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
-
getRegion_i
- Specified by:
getRegion_i
in classRegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
-
hasMultipleOwners_i
public boolean hasMultipleOwners_i()- Specified by:
hasMultipleOwners_i
in classRegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
-
getRegionClass
- Specified by:
getRegionClass
in classRegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
-