aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2024-01-13 14:07:37 -0600
committerGitHub <noreply@github.com>2024-01-13 21:07:37 +0100
commita4622cf06a41cac6eb012c798a9184462c804285 (patch)
tree610855422303426ce32974efa8bce1c4ee31ee79 /src/main/java/at/hannibal2
parent9896866cafdc2efc83d158e5c95493d935e689cf (diff)
downloadskyhanni-a4622cf06a41cac6eb012c798a9184462c804285.tar.gz
skyhanni-a4622cf06a41cac6eb012c798a9184462c804285.tar.bz2
skyhanni-a4622cf06a41cac6eb012c798a9184462c804285.zip
Add SMP and Snow Particles to the Spam Filter (#820)
Add SMP and Snow Particles to the Spam Filter. #820
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
index 48e1b0175..75e4527ac 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -18,6 +18,12 @@ class ChatFilter {
// player join
"(?: §b>§c>§a>§r §r)?.* §6(?:joined|(?:spooked|slid) into) the lobby!(?:§r §a<§c<§b<)?".toPattern(),
+ // Hypixel SMP
+ "§2[\\s]*?§aYou can now create your own Hypixel SMP server![\\s]*?".toPattern(),
+
+ // Snow Particles in the Lobby
+ "[\\s]*?.*§bFor the best experience, click the text below to enable Snow[\\s]§.*§bParticles in this lobby![\\s]*?.*§3§lClick to enable Snow Particles[\\s]*?".toPattern(),
+
// mystery box
"§b✦ §r.* §r§7found a §r§e.* §r§bMystery Box§r§7!".toPattern(),
"§b✦ §r.* §r§7found (a|an) §r.* §r§7in a §r§a(Holiday )?Mystery Box§r§7!".toPattern()