90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Censor Chat

  • Create a blacklist of an infinite number of words to be removed from the chat!
  • Any blacklisted word will be replaced with a single space, allowing you to read the rest of the message without the clutter of a bunch of ********
  • DO NOT add this to your server mods folder, it is a client-sided mod ONLY!

HOW-TO

  1. Drag and drop into the mods folder
  2. Launch the game
  3. Close the game
  4. Go into the config folder (should be somewhere above the mods folder)
  5. Open the censor_chat.json with notepad or whatever program you use to edit .json files.
{
  "deleteMessage": false,   // Delete the entire message if a blacklisted word is found
  "blacklist": [    // add your own words here (replace badword1 etc)
    "badword1",
    "badword2",     // make sure you add commas at the end of every entry to the list
    "badword3"      // DON'T add a comma at the end of the final entry in the list
  ],
  "repeatCharForLengthOfWord": false,  // will replace the blacklisted word for the entire length of the word
  "customChar": false,  // if you want to use your own character instead of the default space
  "replaceWith": "*",   // if customChar is set to true, will use this character instead of default space
  "repeatChar": 1       // if this number (integer) is higher than 1, and repeatCharForLengthOfWord is set to false, this will replace the blacklisted word for the length of this number
}

COMING SOON:

Version Support:

  • Forge 1.20.X support. (I might do 1.12.2-1.20.4 if people want it on multiple versions I can swiss cheese the version builds since this is such a simple mod it probably wouldn't be too difficult)
  • Fabric 1.20.X support. DONE
  • Quilt 1.20.X support.
  • Neoforge might be getting 1.20.X support, however, I'm not entirely sure how neoforge works yet so that might have to be placed on hold lmao.

New features:

  • Adding a new config option to choose what character to replace the blacklisted word, and how many (repeat the character X amount of times; for example, if you set the character to "x" and set it to repeat 4 times, then "badword1" would be replaced with "xxxx" CONFIG OVERHAULED

Project members

confusingfool93

Member

Details

Licensed MIT
Published 8 months ago
Updated 6 months ago