Package-level declarations

Types

Link copied to clipboard
class ConfigManager(logger: Logger)

Reads config.yml into LunaticChatConfiguration.

Link copied to clipboard
typealias LenientBoolean = @Serializable(with = LenientBooleanSerializer::class) Boolean

A Boolean that also accepts the spellings YAML 1.1 counted as boolean.

Link copied to clipboard
object LenientBooleanSerializer : KSerializer<Boolean>
Link copied to clipboard
@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)

The shape of config.yml.