Class Permissions

java.lang.Object
net.lewmc.foundry.Permissions

public class Permissions extends Object
Permission Handler.
  • Constructor Details

    • Permissions

      public Permissions(org.bukkit.command.CommandSender cs)
      Constructor.
      Parameters:
      cs - CommandSender - The user who executed the command.
  • Method Details

    • has

      public boolean has(String node)
      Checks if the user has a specific permission.
      Parameters:
      node - String - the permission node to check.
      Returns:
      boolean - If the user has a permission (true/false)