TextFilter

TextFilter

Mod

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

Server Utility

120 downloads
0 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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 can visit my little contact card,
And you are welcome to support me via the following links:
ko-fi monobank


Project members

somyk

Member

Details

Published 5 months ago
Updated 2 months ago