Package-level declarations

Types

Link copied to clipboard
@Serializable
data class PlayerChatSettings(val uuid: UUID, val japaneseConversionEnabled: Boolean = true, val directMessageNotificationEnabled: Boolean = true, val channelMessageNotificationEnabled: Boolean = true)

Data model for per-player chat settings.

Link copied to clipboard
@Serializable
data class PlayerSettingsData(val version: Int = 1, val japaneseConversion: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean> = emptyMap(), val directMessageNotification: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean> = emptyMap(), val channelMessageNotification: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean> = emptyMap())

Root data structure for player settings stored in YAML format. All player settings are stored in a single YAML file with this structure.

Link copied to clipboard
object UUIDASStringSerializer : KSerializer<UUID>

Serializer for UUID that converts to/from String format for YAML compatibility. Used in PlayerSettingsData for serializing UUID keys in maps.

Link copied to clipboard
object UUIDSerializer : KSerializer<UUID>

Custom serializer for UUID with kotlinx.serialization. kotlinx.serialization doesn't support UUID by default, so we need a custom serializer.