checkPermissions

open fun checkPermissions(@NotNull player: @NotNull VoicePlayer): Boolean

Checks if a voice player has any of the required permissions for the activation.

Return

true if the player has the required permissions, false otherwise.

Parameters

player

The voice player to check.


abstract fun checkPermissions(@NotNull serverPlayer: @NotNull McPlayer): Boolean

Checks if a player has any of the required permissions for the activation.

Return

true if the player has the required permissions, false otherwise.

Parameters

serverPlayer

The player to check.