File Details
v1.6.0 - Chat Automod
- R
- Feb 20, 2026
- 4.80 MB
- 75
- Early Access
File Name
HeroChat-v1.6.0.jar
Supported Versions
- Early Access
✨ Chat automod
Add a chat automod that censors/blocks specific words or regex patterns.
{
"Enabled": true,
"DefaultBlockMessage": "&cYour message contains forbidden content.",
"Rules": [
{
// Words to block/replace
"Patterns": [ "badword", "word" ],
// If not set, the message is BLOCKED and the player receives the BlockMessage
// or the DefaultBlockMessage if not set.
// If set (e.g., "***"), the pattern is replaced by this.
"Replacement": "***"
},
{
"Patterns": [ "\\b(?:\\d{1,3}\\.){3}\\d{1,3}\\b" ],
// Tell the plugin this is a regex pattern
"IsRegex": true,
"BlockMessage": "&cPlease do not share IP addresses!"
},
{
"Patterns": [ "\\b(https?://|www\\.)\\S+\\b" ],
"IsRegex": true,
"BlockMessage": "&cPlease do not advertise!"
}
]
}
🚀 Features
- Add nickname field to the user settings menu
- Add a preview of the resulting message on the user settings menu
🐛 Bug fixes
- fix: players without permission could see the channel messages
- fix: all messages should have access to the global components

