aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-12-16 15:21:47 +0100
committerLinnea Gräf <nea@nea.moe>2023-12-16 15:23:26 +0100
commit1fc111960c0523662b11c7a12c962735f89b0dc3 (patch)
treed0f3e90105bfd40e90e532b80357b810518004de /src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt
parent59210b3f24e90e839d560a16f2cca4973d703cd3 (diff)
downloadChatting-hovertimestamps.tar.gz
Chatting-hovertimestamps.tar.bz2
Chatting-hovertimestamps.zip
Add hover only timestamphovertimestamps
Diffstat (limited to 'src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt')
-rw-r--r--src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt b/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt
index 0701471..7ed45e4 100644
--- a/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt
+++ b/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt
@@ -136,25 +136,20 @@ object ChattingConfig : Config(
)
var hideChatHeadOnConsecutiveMessages = true
- /*/
- @Property(
- type = PropertyType.SWITCH,
+ @Switch(
name = "Show Timestamp",
description = "Show message timestamp.",
category = "General"
)
var showTimestamp = false
- @Property(
- type = PropertyType.SWITCH,
+ @Switch(
name = "Timestamp Only On Hover",
description = "Show timestamp only on mouse hover.",
category = "General"
)
var showTimestampHover = true
- */
-
@Info(
text = "If Chatting detects a public chat message that seems like spam, and the probability is higher than this, it will hide it.\n" + "Made for Hypixel Skyblock. Set to 100% to disable. 95% is a reasonable threshold to use it at.\n" + "Note that this is not and never will be 100% accurate; however, it's pretty much guaranteed to block most spam.",
size = 2,