Package dev.plex.util
Class PermissionsUtil
java.lang.Object
dev.plex.util.PermissionsUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPermission
(PlexPlayer player, Permission permission) static void
addPermission
(PlexPlayer player, String permission) static void
removePermission
(PlexPlayer player, String permission) static void
setupPermissions
(@NotNull org.bukkit.entity.Player player) static void
updatePermission
(PlexPlayer player, String permission, boolean newValue)
-
Constructor Details
-
PermissionsUtil
public PermissionsUtil()
-
-
Method Details
-
setupPermissions
public static void setupPermissions(@NotNull @NotNull org.bukkit.entity.Player player) -
addPermission
-
addPermission
-
removePermission
-
updatePermission
-