Package ch.njol.skript.hooks.regions
Class WorldGuardHook
java.lang.Object
ch.njol.skript.hooks.Hook<P>
ch.njol.skript.hooks.regions.RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
ch.njol.skript.hooks.regions.WorldGuardHook
-
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(@Nullable 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
-
WorldGuardHook
- 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<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
-
getName
-
canBuild_i
public boolean canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l)- Specified by:
canBuild_i
in classRegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
-
getRegionsAt_i
- Specified by:
getRegionsAt_i
in classRegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
-
getRegion_i
- Specified by:
getRegion_i
in classRegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
-
hasMultipleOwners_i
public boolean hasMultipleOwners_i()- Specified by:
hasMultipleOwners_i
in classRegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
-
getRegionClass
- Specified by:
getRegionClass
in classRegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
-