Class PermissionManager

java.lang.Object
fr.Alphart.BAT.Modules.Core.PermissionManager

public class PermissionManager extends Object
  • Constructor Details

    • PermissionManager

      public PermissionManager()
  • Method Details

    • canExecuteAction

      public static boolean canExecuteAction(PermissionManager.Action action, net.md_5.bungee.api.CommandSender executor, String server)
      Check if the command sender can exec this action on this server
      Parameters:
      action -
      executor -
      server -
      Returns:
      true if he can otherwise false
    • isExemptFrom

      public static boolean isExemptFrom(PermissionManager.Action action, String target)
      Check if this entity is an online player (if it's a player) and then return if it is exempt of the specified action
      Parameters:
      action -
      target -
      Returns:
      true if it is exempt from this action otherwise false