Interface PlayerPermissionProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A permission provider for online players.
-
Method Summary
Modifier and TypeMethodDescriptiongetPermissions(mindustry.gen.Player player) Gets the permission of the given player.static PlayerPermissionProviderReturns a permission provider backed by Mindustry admin permissions.
-
Method Details
-
mindustry
Returns a permission provider backed by Mindustry admin permissions. -
getPermissions
Gets the permission of the given player.- Parameters:
player- the player- Returns:
- the player's permission
-