Home›Java›Mods›IpacChatFilter
IpacChatFilter
ModsJava

IpacChatFilter

Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.

by ApliNi · on Modrinth

⬇ Download on Modrinth

IpacChatFilter

A Minecraft sensitive word processing plugin based on houbb/sensitive-word

Download: https://modrinth.com/plugin/ipacchatfilter

An advanced sensitive word replacement plugin, based on the sensitive-word houbb/sensitive-word project.


Features and Commands

Configuration

# Permission description
# IpacChatFilter.filter - Enables message filtering, default is true
# IpacChatFilter.bypass - Bypasses message filtering, default is false

# File description
# word_allow.txt - Allow list, one word per line, used to handle false positives
# word_deny.txt - Deny list (sensitive words), one word per line

# Pre-replacement
preRegex:
  # Remove zero-width characters
  - regex: '[\u200B-\u200D\uFEFF]+'
    to: ''

# sensitive-word module configuration
# https://github.com/houbb/sensitive-word
bsConfig:
  # Ignore case
  ignoreCase: true
  # Ignore full/half-width characters
  ignoreWidth: true
  # Ignore number styles
  ignoreNumStyle: true
  # Ignore traditional/simplified Chinese
  ignoreChineseStyle: true
  # Ignore English styles
  ignoreEnglishStyle: true
  # Ignore repeated words
  ignoreRepeat: false
  # Enable number detection
  enableNumCheck: false
  # Enable email detection
  enableEmailCheck: false
  # Enable URL detection
  enableUrlCheck: false
  # Enable IPv4 address detection
  enableIpv4Check: false
  # Enable word detection
  enableWordCheck: true
  # Return immediately after finding one sensitive word, do not continue matching
  wordFailFast: false
  # Number check length
  numCheckLen: 8

# Character ignore list, used to ignore interfering characters between keywords
ignoreChars:
  # English symbols
  - '''`-=~!@#$%^&*()_+[]{}\|;:",./<>?'
  # Whitespace characters
  - ' 	'
  # Chinese symbols
  - ',。、:;?!“”‘’『』「」【】《》〈〉〔〕()【】!?,。:;·…'
  # Chinese characters
  - '一─—⸺~丨亅丶ˊˋˇˉ〇口'
  # Letters, numbers
  - '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'

# Replace sensitive words with (for each character)
wordReplaceTo: '*'

# Log when a message is replaced
log: true

Permissions

permissions:
  IpacChatFilter.filter:
    description: Enables message filtering
    default: true
  IpacChatFilter.bypass:
    description: Bypasses message filtering
    default: false

Open Source Software

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more