matchFilters

abstract fun <P : VoicePlayer?> matchFilters(@NotNull player: @NotNull P): Boolean

Checks if a player matches all filters associated with this source. Returns false if the player has disabled the voice chat. See isVoiceDisabled.

Return

true if the player matches all filters, false otherwise.

Parameters

player

The player to check.

See also