Requirements

interface Requirements

Interface for defining activation requirements.

Functions

Link copied to clipboard
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.
abstract fun checkRequirements(@NotNull player: @NotNull VoicePlayer, @NotNull packet: @NotNull PlayerAudioPacket): Boolean
Checks if the specified player and audio packet meet the activation requirements.