From cce479dfe91b432521534e0dde866743931fe2cb Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sun, 15 May 2022 15:48:56 +0700 Subject: revert spam block not very comfortable with pushing this as a non-beta right now, after release this will be unreverted and i will see what i can do with it --- .../cc/woverflow/chatting/config/ChattingConfig.kt | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'src/main/kotlin/cc/woverflow/chatting/config') diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt index bc3aa31..1a936c9 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -78,32 +78,6 @@ object ChattingConfig : ) var informForAlternatives = true - @Property( - type = PropertyType.SLIDER, - min = 0, - max = 100, - name = "Spam Threshold", - description = "If Chatting detects a player message seems like spam, and the probability is above this threshold, it will hide it. Set to 0 to disable.", - category = "Player Spam Blocker" - ) - var spamThreshold = 95 - - @Property( - type = PropertyType.SWITCH, - name = "Show Spam (with styling)", - description = "Show messages Chatting detects as spam in gray, instead of hiding them.", - category = "Player Spam Blocker" - ) - var showSpamInGray = true - - @Property( - type = PropertyType.SWITCH, - name = "Custom Message Formatting", - description = "Hide ranks, and show messages in public chat from no-ranks as white.", - category = "Player Spam Blocker" - ) - var customFormatting = false - /*/ @Property( type = PropertyType.SWITCH, -- cgit