hasPermission

Adds a filter to only apply the message to players with the specified permission.

Return

The MessageBuilder instance for method chaining.

Parameters

permission

The permission that the player must have for the message to be sent.