Class LuckPermsHandle
java.lang.Object
com.bencodez.advancedcore.api.permissions.LuckPermsHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(UUID uuid, String permission) Synchronous permission checkhasPermissionAsync(UUID uuid, String permission) Async permission check for offline users.voidload(AdvancedCorePlugin plugin) boolean
-
Constructor Details
-
LuckPermsHandle
public LuckPermsHandle()
-
-
Method Details
-
load
-
luckpermsApiLoaded
public boolean luckpermsApiLoaded() -
hasPermission
Synchronous permission check. - If player is online, uses Bukkit (fast). - If player is offline, requires LuckPerms User load. IMPORTANT: This method will NOT block the main thread. If called on the main thread for an offline user, it returns false. -
hasPermissionAsync
Async permission check for offline users. Safe to call from the main thread.
-