Package ch.njol.skript.hooks.regions
Class ResidenceHook
java.lang.Object
ch.njol.skript.hooks.Hook<P>
ch.njol.skript.hooks.regions.RegionsPlugin<com.bekvon.bukkit.residence.Residence>
ch.njol.skript.hooks.regions.ResidenceHook
Hook for Residence protection plugin. Currently supports
only basic operations.
-
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
-
ResidenceHook
- 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.bekvon.bukkit.residence.Residence>
-
getName
-
canBuild_i
public boolean canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l)- Specified by:
canBuild_i
in classRegionsPlugin<com.bekvon.bukkit.residence.Residence>
-
getRegionsAt_i
- Specified by:
getRegionsAt_i
in classRegionsPlugin<com.bekvon.bukkit.residence.Residence>
-
getRegion_i
- Specified by:
getRegion_i
in classRegionsPlugin<com.bekvon.bukkit.residence.Residence>
-
hasMultipleOwners_i
public boolean hasMultipleOwners_i()- Specified by:
hasMultipleOwners_i
in classRegionsPlugin<com.bekvon.bukkit.residence.Residence>
-
getRegionClass
- Specified by:
getRegionClass
in classRegionsPlugin<com.bekvon.bukkit.residence.Residence>
-