Skip to content

somykOS/TextFilter

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages