Class GriefPreventionFeature

java.lang.Object
com.fastasyncworldedit.core.regions.FaweMaskManager
com.fastasyncworldedit.bukkit.regions.BukkitMaskManager
com.fastasyncworldedit.bukkit.regions.GriefPreventionFeature
All Implemented Interfaces:
Listener

public class GriefPreventionFeature extends BukkitMaskManager implements Listener
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fastasyncworldedit.core.regions.FaweMaskManager

    com.fastasyncworldedit.core.regions.FaweMaskManager.MaskType
  • Constructor Summary

    Constructors
    Constructor
    Description
    GriefPreventionFeature(Plugin griefpreventionPlugin)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fastasyncworldedit.core.regions.FaweMask
    getMask(com.sk89q.worldedit.entity.Player wePlayer, com.fastasyncworldedit.core.regions.FaweMaskManager.MaskType type, boolean isWhitelist)
     
    boolean
    isAllowed(Player player, me.ryanhamshire.GriefPrevention.Claim claim, com.fastasyncworldedit.core.regions.FaweMaskManager.MaskType type)
     

    Methods inherited from class com.fastasyncworldedit.bukkit.regions.BukkitMaskManager

    hasMemberPermission

    Methods inherited from class com.fastasyncworldedit.core.regions.FaweMaskManager

    getKey, isExclusive, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GriefPreventionFeature

      public GriefPreventionFeature(Plugin griefpreventionPlugin)
  • Method Details

    • isAllowed

      public boolean isAllowed(Player player, me.ryanhamshire.GriefPrevention.Claim claim, com.fastasyncworldedit.core.regions.FaweMaskManager.MaskType type)
    • getMask

      public com.fastasyncworldedit.core.regions.FaweMask getMask(com.sk89q.worldedit.entity.Player wePlayer, com.fastasyncworldedit.core.regions.FaweMaskManager.MaskType type, boolean isWhitelist)
      Specified by:
      getMask in class com.fastasyncworldedit.core.regions.FaweMaskManager