Package net.lewmc.foundry
Class Permissions
java.lang.Object
net.lewmc.foundry.Permissions
Permission Handler.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Permissions
public Permissions(org.bukkit.command.CommandSender cs) Constructor.- Parameters:
cs
- CommandSender - The user who executed the command.
-
-
Method Details
-
has
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)
-