From a1d4892b5bd721a108b2f55ff303de049a64c535 Mon Sep 17 00:00:00 2001 From: ingle Date: Sat, 29 Oct 2022 12:19:49 -0500 Subject: = fix config text and throttle notification antispam --- src/main/kotlin/dulkirmod/config/Config.kt | 7 +++---- src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/main') diff --git a/src/main/kotlin/dulkirmod/config/Config.kt b/src/main/kotlin/dulkirmod/config/Config.kt index f52a085..3496ddd 100644 --- a/src/main/kotlin/dulkirmod/config/Config.kt +++ b/src/main/kotlin/dulkirmod/config/Config.kt @@ -30,7 +30,7 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so @Property( type = PropertyType.SWITCH, name = "Abiphone Caller ID", - description = "If DND is on, Still give the player a 1 liner to tell them who is calling", + description = "If DND is on, still give the player a quick 1 liner to tell them who is calling.", category = "General" ) var abiCallerID = false @@ -41,15 +41,14 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so description = "Probably disable when not in dungeons for now. Will fix later.", category = "Dungeons" ) - var hideHealerFairy = true - + var hideHealerFairy = false @Property( type = PropertyType.SWITCH, name = "Hide Heart Particles", description = "Useful for hyperion and healer bullshit", category = "Dungeons" ) - var hideHeartParticles = true + var hideHeartParticles = false @Property( type = PropertyType.SWITCH, diff --git a/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt b/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt index b17f301..ff747eb 100644 --- a/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt +++ b/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt @@ -11,7 +11,7 @@ object ThrottleNotif { if (unformatted == "This menu has been throttled! Please slow down..." && DulkirMod.config.throttleNotifier && Utils.isInDungeons()) { event.isCanceled = true; - if (!Config.throttleNotifierSpam && System.currentTimeMillis() - lastThrottle > 3000) { + if (!Config.throttleNotifierSpam && System.currentTimeMillis() - lastThrottle > 8000) { DulkirMod.mc.thePlayer.sendChatMessage("/pc " + DulkirMod.config.customMessage) } else { -- cgit