Package net.luckperms.api.platform
Interface Platform
public interface Platform
Provides information about the platform LuckPerms is running on.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents a type of platform which LuckPerms can run on. -
Method Summary
Modifier and TypeMethodDescriptionGets aCollectionof all known permission strings.Gets the time when the plugin first started.getType()Gets the type of platform LuckPerms is running onGets the unique players which have connected to the server since it started.
-
Method Details
-
getType
@NonNull Platform.Type getType()Gets the type of platform LuckPerms is running on- Returns:
- the type of platform LuckPerms is running on
-
getUniqueConnections
@NonNull @Unmodifiable Set<UUID> getUniqueConnections()Gets the unique players which have connected to the server since it started.- Returns:
- the unique connections
-
getKnownPermissions
@NonNull @Unmodifiable Collection<String> getKnownPermissions()Gets aCollectionof all known permission strings.- Returns:
- a collection of the known permissions
-
getStartTime
Gets the time when the plugin first started.- Returns:
- the enable time
-