diff options
author | ingle <inglettronald@gmail.com> | 2022-09-24 02:08:54 -0500 |
---|---|---|
committer | ingle <inglettronald@gmail.com> | 2022-09-24 02:08:54 -0500 |
commit | 766e67b5a00af83bfbc25a1c0fa0a302225102bc (patch) | |
tree | 2937874aed28557414456d3d5b306fe7b551504f /src/main/kotlin/dulkirmod/config | |
parent | 3cd5f5f32cd60c15e1c68862d28885f733473dad (diff) | |
download | DulkirMod-766e67b5a00af83bfbc25a1c0fa0a302225102bc.tar.gz DulkirMod-766e67b5a00af83bfbc25a1c0fa0a302225102bc.tar.bz2 DulkirMod-766e67b5a00af83bfbc25a1c0fa0a302225102bc.zip |
Some more things work now
Diffstat (limited to 'src/main/kotlin/dulkirmod/config')
-rw-r--r-- | src/main/kotlin/dulkirmod/config/Config.kt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/config/Config.kt b/src/main/kotlin/dulkirmod/config/Config.kt index 859fd9d..b8dc20a 100644 --- a/src/main/kotlin/dulkirmod/config/Config.kt +++ b/src/main/kotlin/dulkirmod/config/Config.kt @@ -36,8 +36,26 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod") { ) var hideHeartParticles = false + @Property( + type = PropertyType.SWITCH, + name = "Throttle Notifier", + description = "Making features out of bugs wow", + category = "General" + ) + var throttleNotifier = false + + @Property( + type = PropertyType.TEXT, + name = "Throttle Notifier String", + description = "How do you want to tell people you are throttled?", + category = "General", + placeholder = "i am being throttled zzz", + protectedText = false + ) + var customMessage: String = "i am being throttled zzz" fun init() { initialize() + addDependency("customMessage", "throttleNotifier") } } |