Package net.luckperms.api
Class LuckPermsProvider
- java.lang.Object
-
- net.luckperms.api.LuckPermsProvider
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull LuckPermsget()Gets an instance of theLuckPermsAPI, throwingIllegalStateExceptionif the API is not loaded yet.
-
-
-
Method Detail
-
get
public static @NonNull LuckPerms get()
Gets an instance of theLuckPermsAPI, throwingIllegalStateExceptionif the API is not loaded yet.This method will never return null.
- Returns:
- an instance of the LuckPerms API
- Throws:
IllegalStateException- if the API is not loaded yet
-
-