介绍
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
- Download the correct server version of Detoxify.
- Place the
.jarfile in yourpluginsormodsfolder. - Start your server.
- The configuration will be located in:
- Modded platforms:
config/Detoxify - Plugin platforms:
plugins/Detoxify
Client
- Download the correct client version of Detoxify.
- Place the
.jarfile in yourmodsfolder. - Any messages classified as toxic will be hidden in chat, but still logged for review.
- 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
- detoxify.notify -> Gives you permissions to receive notifications when a player is flagged.
- 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
常见问题
Detoxify 支持哪些 Minecraft 版本?
Detoxify 支持 Minecraft Java 版 1.21.10,可用的加载器:Bukkit / Fabric / NeoForge / Paper / Purpur / Quilt / Spigot。下载时注意选择和你游戏版本一致的文件。
Detoxify 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Bukkit / Fabric / NeoForge / Paper / Purpur / Quilt / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
GamerDuck123 的其他作品
查看全部 →
AlwaysAuth
Keep your server always online even if Mojang is offline!
More Rules
More rules is a plugin and mod that provides extra GameRules to allow fine-tuning of features on your server, while keeping it as vanilla as possible!
More Rules
More rules is a plugin and mod that provides extra GameRules to allow fine-tuning of features on your server, while keeping it as vanilla as possible!
Removed Features Readded
This mod's goal is to recreate old, removed features from Minecraft and seamlessly add them into vanilla!
评论
登录后评论和评分