aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-10-29 12:19:49 -0500
committeringle <inglettronald@gmail.com>2022-10-29 12:19:49 -0500
commita1d4892b5bd721a108b2f55ff303de049a64c535 (patch)
treeb5063b38d0dc22866ae2a5bdd1c7dff2bdae2ea5 /src/main
parent393d4c8e14730a5c9b31695f722b6de9480508ec (diff)
downloadDulkirMod-a1d4892b5bd721a108b2f55ff303de049a64c535.tar.gz
DulkirMod-a1d4892b5bd721a108b2f55ff303de049a64c535.tar.bz2
DulkirMod-a1d4892b5bd721a108b2f55ff303de049a64c535.zip
= fix config text and throttle notification antispam
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/dulkirmod/config/Config.kt7
-rw-r--r--src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt2
2 files changed, 4 insertions, 5 deletions
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 {