From 766e67b5a00af83bfbc25a1c0fa0a302225102bc Mon Sep 17 00:00:00 2001 From: ingle Date: Sat, 24 Sep 2022 02:08:54 -0500 Subject: Some more things work now --- src/main/kotlin/dulkirmod/config/Config.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/main/kotlin/dulkirmod/config/Config.kt') 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") } } -- cgit