aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod/config')
-rw-r--r--src/main/kotlin/dulkirmod/config/Config.kt18
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")
}
}