This is the end all chat moderation system for your Minecraft server. If you've been tasked with the impossible challenge of enforcing Microjang's Community Standards, this Folia add-on plugin for CompliantCleanRoom is what you need.
Click here to learn about CompliantCleanRoom
TL;DR: It can temporarily censor map arts and sign text for players close to spawn. It features an API which allows developers to add their own features to it. This plugin leverages that API to enable extended functionality.
on the left, the client received a "EULA-friendly" version of the chat sent by the client on the right
- Players who ARE at spawn (or not otherwise granted bypass permissions) will see AI moderated versions of every other player's chat messages. The chats that they send will also always be moderated for other players, regardless of anybody else's status or location.
- Players who are NOT at spawn (or are otherwise granted bypass permissions) will see the unmodified chat messages sent by other players who are ALSO not at spawn (or are otherwise granted bypass permissions)
Example:
-
XcentricCrafter is at spawn, he's just joined the server and is checking things out
-
x0XP and fr1kin are having a very mature conversation in chat. They've been playing on the server for years, they're both far away from spawn at their own bases.
The server will allow x0XP and fr1kin to see each other's original and unmoderated messages, but XcentricCrafter will see moderated slop messages, it will seem like nothing but an innocent interaction to him. If XcentricCrafter gets ahead of himself and tries to say something offensive or mature in chat, his chat will get moderated for the entire server and x0XP and fr1kin will only see his AI moderated slop message. If XcentricCrafter continues playing and escapes spawn, or does something to meet a criteria for filter bypassing, then he will be able to send and receive mature chats.
Remember, the entire goal is to make the server look squeaky clean enough for Mojang and tourists who don't intend on actually playing on your server.
It feeds chat messages through ChatGPT 5 Nano for moderation and re-writing if necessary. It also builds a cache for faster and cheaper scoring. On a server with 100-120 players, it only costs $2-4 USD per day (with NO caching) depending on how chatty your players are. I expect this number to decrease substantially as your local cache is built over time, but I do not have those numbers right now.
The player who sends a message will not be able to tell that their message is being processed, it will appear instantly in their chatbox like vanilla. They will not be shown what their moderated chat message says, nor will they be notified that they were moderated. Other players will see either the unmoderated or moderated chat message depending on the logic explained below.
Wait!!!! Probably not!! If you use a third party chat plugin (like one that modifies chat, adds greentext, or one that rewrites
every player chat as a system message to evade chat reporting and secure profile), this probably won't work
out of the box. You will have to implement this into your existing chat suite plugin. This is a vanilla Folia
implementation that is only guaranteed to work on servers with no other plugins except ProtocolLib, CompliantCleanRoom,
and this plugin. Additionally, enforce-secure-profile must be false in server.properties.
This repo provides everything you need to skid this into your chat suite plugin, and the source code here is WTFPL licensed so you can just "do whatever the fuck you want" with this code. However, not every server owner is a developer. If you're willing to buy me a dozen coffees or so, I'll do it for you. Just get ahold of me (discord: braindeadening)