Package-level declarations

Types

Link copied to clipboard
@Serializable
data class GitHubRelease(val tagName: String, val name: String, val publishedAt: String, val htmlUrl: String)
Link copied to clipboard
Link copied to clipboard
annotation class PermissionDsl
Link copied to clipboard

Collection of sounds used in LunaticChat.

Link copied to clipboard
object SpyPermissionManager : Listener

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

Link copied to clipboard
class UpdateChecker(currentVersion: String, httpClient: HttpClient, logger: Logger)
Link copied to clipboard
sealed class UpdateCheckResult

Functions

Link copied to clipboard
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

Plays the channel join notification sound to the player.

Link copied to clipboard

Plays the channel message receive notification sound to the player.

Link copied to clipboard

Plays the direct message notification sound to the player.

Link copied to clipboard

Plays the message sent sound to the player.

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

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