Klasse PermissionGateway
java.lang.Object
de.delinkedde.areashopreborn.integration.PermissionGateway
Provides UUID-based permission checks through Vault's active permissions provider.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPermissionGateway(net.milkbowl.vault.permission.Permission permission) Creates the permission adapter. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanChecks a player permission without requiring the player to be online.Returns the provider name for status and diagnostics.
-
Konstruktordetails
-
PermissionGateway
public PermissionGateway(net.milkbowl.vault.permission.Permission permission) Creates the permission adapter.- Parameter:
permission- Vault permissions provider, normally LuckPerms
-
-
Methodendetails
-
has
Checks a player permission without requiring the player to be online. This method must be called on Paper's server thread.- Parameter:
playerId- player UUIDnode- permission node- Gibt zurück:
- whether the provider grants the node
-
providerName
Returns the provider name for status and diagnostics.- Gibt zurück:
- active Vault permission provider name
-