Sueta

BetterAntiSwear

1.2

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

·Plugin
  1. 1.2latestBetterAntiSwear 1.2Jun 20, 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.
    178 downloads
  2. 1.1BetterAntiSwear 1.1Jun 20, 2026
    Fix some bug where some word aren't hide
    20 downloads
  3. 1.0BetterAntiSwear 1.0Jun 18, 2026

    First Release

    If you encounter any bug, please mail me to developer@nyanpixel.my.id
    11 downloads

Similar projects

Plugin →