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:
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.21.x
1.20.1–1.20.6
Platforms
Fabric