IpacChatFilter 图标

IpacChatFilter

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0-SNAPSHOT
本资源为搬运资源,原资源地址: https://modrinth.com/mod/ipacchatfilter
资源信息

Minecraft 版本: 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: paper purpur spigot

标签: management social

资源介绍

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.

  • Supports regex replacement
  • Pre-processing (removes zero-width characters)
  • Supports custom keywords
  • Supports exclusion keywords
  • Supports ignoring case and full/half-width characters
  • Supports ignoring traditional Chinese characters
  • Built-in URL, IPv4 address, and email address detection
  • Supports ignoring interfering characters
  • Supports permission control

Features and Commands

  • /icf
    • /icf reload - Reloads the configuration

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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Patterned Mosaics

价格:0 墨喵币
下载量:0

查看详情
Enchantment Preview

价格:0 墨喵币
下载量:0

查看详情
Ziplines: Rezipped!

价格:0 墨喵币
下载量:0

查看详情
Glowing Armors

价格:0 墨喵币
下载量:0

查看详情