跳到正文

AiModeration

A plugin/mod that watches chat, batches messages, and asks an AI model to flag toxicity, spam, advertising, and grief threats — then applies the suggested punishment automatically.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

AiModeration

A PaperMC plugin/Fabric Mod that watches chat, batches messages, and asks an AI model to
flag toxicity, spam, advertising, and grief threats — then applies the
suggested punishment automatically.

Features

  • Logs every chat message to chat-msg.txt in the plugin’s data folder
  • Every 20 lines, the batch is flushed and sent to an AI provider for review
  • Supports OpenRouter and Groq as providers, with three model tiers (LIGHTWEIGHT, SMART, INTELLIGENT)
  • Applies warn / kick / ban actions straight from the console
  • Writes a permanent audit trail to chat-action.log
  • Optional Discord webhook integration — posts an embed for every action
  • /aimoderation command for reload, status, and manual batch sending

Requirements

  • Java 21
  • PaperMC 1.21.x
  • An API key for OpenRouter or Groq

Building

mvn clean package

The compiled jar will be in target/AiModeration-1.0.0.jar.

Installation

  1. Drop the jar into your server’s plugins/ folder.
  2. Start the server once to generate config.yml.
  3. Fill in your apiKey, choose apiProvider and aiIntelligence.
  4. Optionally enable the discord webhook section.
  5. Restart or run /aimoderation reload.

See GUIDE.md for full configuration and command details.

Documentation

License

Provided as-is by CodeStuff.

常见问题

AiModeration 支持哪些 Minecraft 版本?

AiModeration 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Fabric / Paper / Purpur。下载时注意选择和你游戏版本一致的文件。

AiModeration 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Paper / Purpur,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分