LunaticChatConfiguration

@Serializable
data class LunaticChatConfiguration(val features: FeaturesConfig = FeaturesConfig(), val messageFormat: MessageFormatConfig = MessageFormatConfig(), val debug: LenientBoolean = false, val userSettingsFilePath: String = "player-settings.yaml", val checkForUpdates: LenientBoolean = true, val language: Language = Language.EN)(source)

The shape of config.yml.

Every property carries the default that config.yml documents, and it is the only place that default is written: the file is deserialized straight into this tree, so a key the user has not set simply falls back here.

Constructors

Link copied to clipboard
constructor(features: FeaturesConfig = FeaturesConfig(), messageFormat: MessageFormatConfig = MessageFormatConfig(), debug: LenientBoolean = false, userSettingsFilePath: String = "player-settings.yaml", checkForUpdates: LenientBoolean = true, language: Language = Language.EN)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable(with = LanguageSerializer::class)
val language: Language
Link copied to clipboard
Link copied to clipboard