diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-15 15:48:56 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-15 15:48:56 +0700 |
commit | cce479dfe91b432521534e0dde866743931fe2cb (patch) | |
tree | 1d1b7b0f696b423fe56e33b932c51ea08118a134 /src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | |
parent | fefe3fd23caa01fe58cc8705292f67edf80e5270 (diff) | |
download | Chatting-cce479dfe91b432521534e0dde866743931fe2cb.tar.gz Chatting-cce479dfe91b432521534e0dde866743931fe2cb.tar.bz2 Chatting-cce479dfe91b432521534e0dde866743931fe2cb.zip |
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
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 26 |
1 files changed, 0 insertions, 26 deletions
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, |