Profanity Guard is a Minecraft mod designed to help server owners maintain a more respectful in-game chat environment. By using datapacks, Profanity Guard enables customizable filtering of profanity.
Features:
- Customizable Word Filters: Server owners can easily expand or modify the profanity list using
.jsonfiles. - Flexible Word Management: The mod supports aliases and common misspellings, making it possible to easily blocking variations of offensive terms.
- Profanity Replacement: Words flagged as profanity are replaced with
#(hashtags) by default, but server owners can customize this replacement character. - Customizable Replacement Characters: Using the
"replacement"tag, server owners can specify a custom character to replace profanity words instead of the standard#. - Simple Integration Path: To add new words to the filter, place the
.jsonfiles in the following path:
data/<id>/profanity/<filename>.json
Replace <id> with your datapack’s namespace and <filename> with your chosen name for the file.
Example .json Configuration:
To add a new word to the filter, server owners can create a .json file in their datapack using the following structure:
{
"this_is_the_main_profanity_word": [
{
"aliases": [
"These_are_common_typos_or_aliases_of_the_word"
],
"replacement": "*"
}
]
}
Additional Notes:
- Add Multiple Words in a Single File: It's perfectly fine to include multiple profanity words and their aliases in the same
.jsonfile. - Naming Flexibility: The
.jsonfile names are unrelated to the parsing process. You can name them however you like, as long as they follow Minecraft's naming conventions (lowercase only, no spaces, etc etc). - Automatic Loading: Any file placed in the
profanityfolder will automatically load.
Links
Details
Licensed ARR
Published 10 months ago
Updated 10 months ago


