Перейти к содержимому
Mineforgian

Detoxify

Detoxify your chat on your client or your server!

Загрузки
227
Подписчики
1
Обновлён
13 ноября 2025 г.
Лицензия
GPL-3.0-only

Опубликован 21 октября 2025 г.

I have opened a support discord, join now! https://discord.gg/uHm8EbfCFr

Detoxify

Detoxify is a lightweight yet powerful AI chat moderation tool that classifies messages into multiple categories, allowing you to finely tune what gets caught by the filter. Despite its performance, it uses less than 150MB of RAM, making it extremely efficient for both server and client use.


How It Works

Detoxify uses the detoxify AI model to classify chat messages. Each message is analyzed and assigned scores for categories such as:

  • Toxicity
  • Severe Toxicity
  • Obscene content
  • Threats
  • Insults
  • Identity Attacks

These scores allow you to configure thresholds and customize exactly which messages are filtered.


Installation

Server

  1. Download the correct server version of Detoxify.

  2. Place the .jar file in your plugins or mods folder.

  3. Start your server.

  4. The configuration will be located in:

    • Modded platforms: config/Detoxify
    • Plugin platforms: plugins/Detoxify

Client

  1. Download the correct client version of Detoxify.
  2. Place the .jar file in your mods folder.
  3. Any messages classified as toxic will be hidden in chat, but still logged for review.
  4. The configuration will be located in: .minecraft/config/Detoxify

Permissions

This is only on paper and spigot, on fabric and neoforge you need to be op

  1. detoxify.notify -> Gives you permissions to receive notifications when a player is flagged.
  2. detoxify.admin -> Gives you permission to receive update notifications

Configuration Options

This configuration works for both client and server. It allows fine-tuning of message thresholds and debug options:

####################################
#                                  #
#      Detoxify Configuration      #
#                                  #
####################################

# Whether or not there should be debug message
debug=false

############################
#      Value Settings      #
############################

toxicity=0.9
severe-toxicity=0.5
obscene=0.25
threat=-1.0
insult=-1.0
identity-attack=-1.0

############################
#     Message Settings     #
############################

player=§cYour message was removed for violating chat rules.
staff=§c%s's message has been removed [%s]
console=§c%s's message has been removed [%s]

Skript Support

Note: Only available for Spigot and Paper platforms

Detoxify integrates with Skript for custom chat filtering. It provides a single expression that returns true or false depending on whether a message is considered toxic:

is [the] %string% toxic
detoxify %string%

Examples

on chat:
    if detoxify message is true:
        cancel event
        send "&cThat message was blocked for toxicity!" to player
on chat:
    if is the message toxic is true:
        cancel event
        send "&cThat message was blocked for toxicity!" to player

Ченджлог

0.3.0-fabricРелиз1.21.10 · 13 ноября 2025 г.

v0.3.0 - Update Checker

Update Checker

I have added a simple update checker so that you can always be notified when there is a new release! It will notify the staff with the permission detoxify.admin and notify console when the server is started.

This feature can be disabled within the config by disabling check-updates


Other Things

I aso removed some annoying debug messages that were left over from me testing the config system. As well as some other non-necessary messages

0.3.0-spigotРелиз1.21.10 · 13 ноября 2025 г.

v0.3.0 - Update Checker

Update Checker

I have added a simple update checker so that you can always be notified when there is a new release! It will notify the staff with the permission detoxify.admin and notify console when the server is started.

This feature can be disabled within the config by disabling check-updates


Other Things

I aso removed some annoying debug messages that were left over from me testing the config system. As well as some other non-necessary messages

0.3.0-paperРелиз1.21.10 · 13 ноября 2025 г.

v0.3.0 - Update Checker

Update Checker

I have added a simple update checker so that you can always be notified when there is a new release! It will notify the staff with the permission detoxify.admin and notify console when the server is started.

This feature can be disabled within the config by disabling check-updates


Other Things

I aso removed some annoying debug messages that were left over from me testing the config system. As well as some other non-necessary messages

0.3.0-neoforgeРелиз1.21.10 · 13 ноября 2025 г.

v0.3.0 - Update Checker

Update Checker

I have added a simple update checker so that you can always be notified when there is a new release! It will notify the staff with the permission detoxify.admin and notify console when the server is started.

This feature can be disabled within the config by disabling check-updates


Other Things

I aso removed some annoying debug messages that were left over from me testing the config system. As well as some other non-necessary messages

0.2.0-fabricРелиз1.21.10 · 12 ноября 2025 г.

v0.2.0 - New Config & New Versioning Scheme

New Config

While none of the values have changed, I have changed to using a new approach to the configuration. While developing AlwaysAuth (Another one of my projects) I developed a way to make a simple configuration that can be updated automatically from my code. This will allow me to make changes in the future and auto be updated for the end user, as well as keeping the values you already set.

This new config will be in the same folder, but renamed to config.properties instead of detoxify.conf

####################################
#                                  #
#      Detoxify Configuration      #
#                                  #
####################################

# Whether or not there should be debug message
debug=false

############################
#      Value Settings      #
############################

toxicity=0.9
severe-toxicity=0.5
obscene=0.25
threat=-1.0
insult=-1.0
identity-attack=-1.0

############################
#     Message Settings     #
############################

player=§cYour message was removed for violating chat rules.
staff=§c%s's message has been removed [%s]
console=§c%s's message has been removed [%s]

New Version Scheme

I will be implementing (properly) the SemVer format which follows the Major.Minor.Patch format, so right now we are on Major version 0, Minor version 3, and Patch version 0.

0.2.0-spigotРелиз1.21.10 · 12 ноября 2025 г.

v0.2.0 - New Config & New Versioning Scheme

New Config

While none of the values have changed, I have changed to using a new approach to the configuration. While developing AlwaysAuth (Another one of my projects) I developed a way to make a simple configuration that can be updated automatically from my code. This will allow me to make changes in the future and auto be updated for the end user, as well as keeping the values you already set.

This new config will be in the same folder, but renamed to config.properties instead of detoxify.conf

####################################
#                                  #
#      Detoxify Configuration      #
#                                  #
####################################

# Whether or not there should be debug message
debug=false

############################
#      Value Settings      #
############################

toxicity=0.9
severe-toxicity=0.5
obscene=0.25
threat=-1.0
insult=-1.0
identity-attack=-1.0

############################
#     Message Settings     #
############################

player=§cYour message was removed for violating chat rules.
staff=§c%s's message has been removed [%s]
console=§c%s's message has been removed [%s]

New Version Scheme

I will be implementing (properly) the SemVer format which follows the Major.Minor.Patch format, so right now we are on Major version 0, Minor version 3, and Patch version 0.

0.2.0-paperРелиз1.21.10 · 12 ноября 2025 г.

v0.2.0 - New Config & New Versioning Scheme

New Config

While none of the values have changed, I have changed to using a new approach to the configuration. While developing AlwaysAuth (Another one of my projects) I developed a way to make a simple configuration that can be updated automatically from my code. This will allow me to make changes in the future and auto be updated for the end user, as well as keeping the values you already set.

This new config will be in the same folder, but renamed to config.properties instead of detoxify.conf

####################################
#                                  #
#      Detoxify Configuration      #
#                                  #
####################################

# Whether or not there should be debug message
debug=false

############################
#      Value Settings      #
############################

toxicity=0.9
severe-toxicity=0.5
obscene=0.25
threat=-1.0
insult=-1.0
identity-attack=-1.0

############################
#     Message Settings     #
############################

player=§cYour message was removed for violating chat rules.
staff=§c%s's message has been removed [%s]
console=§c%s's message has been removed [%s]

New Version Scheme

I will be implementing (properly) the SemVer format which follows the Major.Minor.Patch format, so right now we are on Major version 0, Minor version 3, and Patch version 0.

0.2.0-neoforgeРелиз1.21.10 · 12 ноября 2025 г.

v0.2.0 - New Config & New Versioning Scheme

New Config

While none of the values have changed, I have changed to using a new approach to the configuration. While developing AlwaysAuth (Another one of my projects) I developed a way to make a simple configuration that can be updated automatically from my code. This will allow me to make changes in the future and auto be updated for the end user, as well as keeping the values you already set.

This new config will be in the same folder, but renamed to config.properties instead of detoxify.conf

####################################
#                                  #
#      Detoxify Configuration      #
#                                  #
####################################

# Whether or not there should be debug message
debug=false

############################
#      Value Settings      #
############################

toxicity=0.9
severe-toxicity=0.5
obscene=0.25
threat=-1.0
insult=-1.0
identity-attack=-1.0

############################
#     Message Settings     #
############################

player=§cYour message was removed for violating chat rules.
staff=§c%s's message has been removed [%s]
console=§c%s's message has been removed [%s]

New Version Scheme

I will be implementing (properly) the SemVer format which follows the Major.Minor.Patch format, so right now we are on Major version 0, Minor version 3, and Patch version 0.

Комментарии

Загружаем…