Package org.kikikan.deadbymoonlight
Class PermissionManager
- java.lang.Object
-
- org.kikikan.deadbymoonlight.PermissionManager
-
public final class PermissionManager extends java.lang.Object
A simple class for determining whether the Player has permissions to execute certain commands.
-
-
Constructor Summary
Constructors Constructor Description PermissionManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
hasAdminPermissions(org.bukkit.entity.Player player)
Checks if the Player has Admin permissions.static boolean
hasCreatorPermissions(org.bukkit.entity.Player player)
Checks if the Player has Creator permissions.static boolean
hasPlayerPermissions(org.bukkit.entity.Player player)
Checks if the Player has DbM Player permissions.
-
-
-
Method Detail
-
hasPlayerPermissions
public static boolean hasPlayerPermissions(org.bukkit.entity.Player player)
Checks if the Player has DbM Player permissions.- Parameters:
player
- The Player- Returns:
- True if they have them.
-
hasCreatorPermissions
public static boolean hasCreatorPermissions(org.bukkit.entity.Player player)
Checks if the Player has Creator permissions.- Parameters:
player
- The Player- Returns:
- True if they have them.
-
hasAdminPermissions
public static boolean hasAdminPermissions(org.bukkit.entity.Player player)
Checks if the Player has Admin permissions.- Parameters:
player
- The Player- Returns:
- True if they have them.
-
-