

Censorship
A server-side Minecraft mod designed to maintain civilized chat communication by automatically filtering inappropriate expressions and content.
About the Mod
Censorship was originally developed for the Distant Horizons SMP project. The system utilizes tested regular expressions from the moderation of the Distant Horizons Discord server, ensuring consistent control and regular updates!
Features
- Ability to log messages to a Discord channel using Webhook!
- Maximum compatibility with other modifications - prohibited messages are not even transmitted to the server.
Configuration
After the first launch, a configuration file is created. The following parameters are available:
[Settings]
# Kick the player or send a warning
kickPlayer = true
# Log messages to Discord webhook
discordWebhookURL = ""
[Advanced]
# DO NOT CHANGE | URL for retrieving regular expressions
regexURL = "https://gitlab.com/distant-horizons-team/yagpdb-regex-censor/-/raw/main/discord_bot_censor_code_merge.cs"
# Show debug logs for the regular expression parser
debugMode = false
Credits
- YAGPDB regular expression system maintained by the Distant Horizons team