get

abstract fun get(@NotNull key: @NotNull String): Optional<Boolean>

Gets the player's permission.

Permissions are synced from the server. Which permissions will be synchronized is changed in the server Plasmo Voice API. By default, there is only one permission: pv.allow_freecam

Return

An optional containing the permission, or empty if not present.

Parameters

key

The permission key to check.