hasPermissions

fun hasPermissions(vararg permissions: String): MessageBuilder

Adds a filter to only apply the message to players who have all specified permissions.

Return

The MessageBuilder instance for method chaining.

Parameters

permissions

The list of permissions that the player must have for the message to be sent.