Package net.luckperms.api.platform
Interface Platform
-
public interface PlatformProvides information about the platform LuckPerms is running on.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlatform.TypeRepresents a type of platform which LuckPerms can run on.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull @Unmodifiable Collection<String>getKnownPermissions()Gets aCollectionof all known permission strings.@NonNull InstantgetStartTime()Gets the time when the plugin first started.@NonNull Platform.TypegetType()Gets the type of platform LuckPerms is running on@NonNull @Unmodifiable Set<UUID>getUniqueConnections()Gets the unique players which have connected to the server since it started.
-
-
-
Method Detail
-
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
-
-