Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
annotation class PermissionDsl
Link copied to clipboard
object SpyPermissionManager : Listener

Manages spy permission cache for direct messages. Caches player references to avoid repeated lookups.

Functions

Link copied to clipboard
fun LunaticChatPermissionNode.has(player: Player): Boolean
Link copied to clipboard

Checks if the player has all the specified permissions.

Link copied to clipboard

Checks if the player has at least one of the specified permissions.

Link copied to clipboard
fun Player.requirePermission(block: PermissionCollector.() -> Unit)

Requires the player to have at least one of the specified permissions.