▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/BetterAntiSwear
BetterAntiSwear

BetterAntiSwear

Better Anti Swear is a Spigot and Paper plugin that detects and handles inappropriate language in your server's chat.

Оцените первым
91
1
Все версииBetterAntiSwear 1.2

BetterAntiSwear 1.2

Release20.06.2026

Список изменений

Bug Fix

The Issue

Certain words containing the letters "ck" were silently bypassing detection entirely, regardless of how the chat filter settings were configured. The word "fuck" was the most commonly affected example, along with "cock".

Root Cause

The leet-speak normalization step in the detection engine included the following substitution, intended to catch a specific bypass pattern:

.replace("ck", "k");   // avoids "c k" bypass

Every incoming chat message had all occurrences of "ck" replaced with "k" before being checked against the bad word list. This meant "fuck" was being converted to "fuk" prior to matching. Since the bad word list stores the literal word "fuck" (with the "ck" intact), the comparison "fuk".contains("fuck") always returned false, allowing the message through unfiltered.

The same substitution affected any other bad word containing "ck", including "cock".

Fix

The .replace("ck", "k") substitution has been removed from the normalization pipeline. It provided no meaningful protection against bypass attempts and was actively breaking detection for any word containing "ck".

Impact

This was a detection-breaking bug present since the initial release. Servers running earlier versions should update as soon as possible, since one of the most common words in the default word list was completely unfiltered.

No configuration changes are required. The fix is contained entirely within the plugin's internal detection logic.

Файлы

BetterAntiSwear-1.2.jar(44.25 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.2

Загрузчики

Bukkit
Paper
Spigot

Версии игры

1.12–26.2

Загрузок

80

Дата публикации

20.06.2026

Загрузил

ID версии

Главная