Class PlotSquaredFeature

java.lang.Object
com.fastasyncworldedit.core.regions.FaweMaskManager
com.fastasyncworldedit.bukkit.regions.plotsquared.PlotSquaredFeature

public class PlotSquaredFeature extends FaweMaskManager
  • Constructor Details

    • PlotSquaredFeature

      public PlotSquaredFeature()
  • Method Details

    • isAllowed

      public boolean isAllowed(Player player, com.plotsquared.core.plot.Plot plot, FaweMaskManager.MaskType type)
      Whether the player is allowed to use FAWE on a PlotSquared plot.
      Parameters:
      player - the Player
      plot - the Plot
      type - the FaweMaskManager.MaskType
      Returns:
      true if the player is the plot owner, trusted, has the permission fawe.plotsquared.member or fawe.plotsquared.admin and the NoWorldeditFlag is not set; otherwise false
    • getMask

      public FaweMask getMask(Player player, FaweMaskManager.MaskType type, boolean isWhitelist)
      Specified by:
      getMask in class FaweMaskManager