check Requirements
abstract fun checkRequirements(@NotNull player: @NotNull VoicePlayer, @NotNull packet: @NotNull PlayerAudioPacket): Boolean
Checks if the specified player and audio packet meet the activation requirements.
Return
true
if the requirements are met, false
otherwise.
Parameters
player
The voice player.
packet
The audio packet.
abstract fun checkRequirements(@NotNull player: @NotNull VoicePlayer, @NotNull packet: @NotNull PlayerAudioEndPacket): Boolean
Checks if the specified player and audio end packet meet the activation requirements.
Return
true
if the requirements are met, false
otherwise.
Parameters
player
The voice player.
packet
The audio end packet.