broadcastIf

fun broadcastIf(condition: Boolean)

Sends the message to all online players if the given condition is true.

Parameters

condition

Boolean condition to check.