Перейти к содержимому
Mineforgian

TextFilter

This mod removes blacklist symbols from signs, books, and when renaming items in an anvil.

Загрузки
644
Подписчики
2
Обновлён
17 июля 2025 г.
Лицензия
MPL-2.0

Опубликован 2 мая 2024 г.

Исходный код

This mod removes forbidden characters from signs, books, and when renaming items in anvil.


Default config values:

# To create your regex, I recommend using https://regexr.com/ and https://www.compart.com/en/unicode/block 
# If whitelist is empty — all symbols will be deleted 
# If you want, you can allow all symbols by putting '.' into whitelist (whitelist: '.')
Regex:
  Sign:
    # Bypass permission: textfilter.signBypass
    whitelist: '[\u0021-\u007e а-я іїєґ]'
    blacklist: '[ыъэ]'
  Book:
    # Bypass permission: textfilter.bookBypass
    whitelist: '[\u0021-\u007e \n § а-я іїєґ]'
    blacklist: '[ыъэ]'
  Anvil:
    # Bypass permission: textfilter.anvilBypass
    whitelist: '[\u0021-\u007e а-я іїєґ]'
    blacklist: '[ыъэ]'

This mod uses fabric-permission-api.
To manage these permission, you can use LuckPerms or any other mod that can be used in this way.
Also you can reload config in-game with /textfilter reload command (requires operator or textfilter.reload permission)


You are welcome to support me via the following links:
ko-fi monobank

Ченджлог

0.3-1.21.6Релиз1.21.8, 1.21.9, 1.21.10 · 17 июля 2025 г.

This update prevents crash if installed on client

0.2-1.21.6Релиз1.21.6, 1.21.7, 1.21.8 · 30 июня 2025 г.

Update to 1.21.6-1.21.8

0.2-1.20.1Релиз1.20.4, 1.20.5, 1.20.6 · 21 августа 2024 г.

bug fixes, small improvements

0.2-1.21Релиз1.21, 1.21.1 · 21 августа 2024 г.

Update to 1.21, bug fixes, small improvements

Комментарии

Загружаем…