addFilter

abstract fun <P : VoicePlayer?> addFilter(@NotNull filter: @NotNull Predicate<out Any>)

Adds a new player filter to the source.

Parameters

filter

Return true if you want to send source packets to the player.