PlayerSettingsData
@Serializable
Root data structure for player settings stored in YAML format. All player settings are stored in a single YAML file with this structure.
Example YAML format:
version: 1
japaneseConversion:
ceaea267-39dd-3bac-931c-761ada671ebe: true
another-uuid-here: false
directMessageNotification:
ceaea267-39dd-3bac-931c-761ada671ebe: true
another-uuid-here: false
channelMessageNotification:
ceaea267-39dd-3bac-931c-761ada671ebe: true
another-uuid-here: falseContent copied to clipboard
Constructors
Link copied to clipboard
constructor(version: Int = 1, japaneseConversion: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean> = emptyMap(), directMessageNotification: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean> = emptyMap(), channelMessageNotification: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean> = emptyMap())
Properties
Link copied to clipboard
val channelMessageNotification: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean>
Map of player UUIDs to their channel message notification enabled status
Link copied to clipboard
val directMessageNotification: Map<@Serializable(with = UUIDASStringSerializer::class) UUID, Boolean>
Map of player UUIDs to their direct message notification enabled status
Link copied to clipboard
Map of player UUIDs to their Japanese conversion enabled status