broadcastClearPotionEffect
fun broadcastClearPotionEffect(potionEffectType: PotionEffectType, playerPredicate: Predicate<SpigotPlayer> = Predicate { true })
Broadcasts the removal of a specific potion effect to all players satisfying the given predicate.
This method iterates through all online players and removes the specified potion effect type from players that meet the condition defined by the provided predicate.
Parameters
potionEffectType
The type of potion effect to be removed from the players.
playerPredicate
A filter function that determines which players should have the potion effect removed. Defaults to a predicate that includes all players.