Home›Java›Mods›Anti-Politically-Related-Content
Anti-Politically-Related-Content
ModsJava

Anti-Politically-Related-Content

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by _Chinese_Player_ · on Modrinth

A Minecraft Bukkit plugin that uses AI-powered real-time moderation to automatically detect and filter politically sensitive content in chat, commands…

⬇ Download on Modrinth

Anti-Politically-Related-Content Plugin

Minecraft Java

Project Overview

This is a Minecraft Bukkit plugin designed to detect and filter politically related content within the game. The plugin utilizes the OpenRouter AI API to perform real-time moderation of player chat content, commands, and player IDs.

Features

Installation Requirements

Installation Guide

  1. Build the project using Maven:

    mvn clean package
    
  2. Copy the generated target/anti-politically-related-content-1.0-SNAPSHOT.jar to the server's plugins folder

  3. Restart the server

Configuration

API Settings (Modify the config file generated after server startup)

   primary:
     api_key: Primary_API_Key
     model: deepseek/deepseek-chat-v3-0324:free
     api_url: https://openrouter.ai/api/v1/chat/completions
   backup:
     api_key: Backup_API_Key
     model: deepseek-ai/DeepSeek-R1-0528-Qwen3-8B
     api_url: https://api.siliconflow.cn/v1/chat/completions

Response Customization

Modify the following methods in Main.java to change violation handling:

Usage Example

  1. Install and configure the plugin
  2. The plugin will automatically:
    • Scan all chat messages
    • Check new player names
    • Take automatic action upon detecting violations
  3. Players with the aprc.admin permission can use the /aprc <test|on|off|reload> command to test the API address/enable the plugin/disable the plugin/reload the plugin.

Notes

  1. An internet connection is required to access the API
  2. API calls may have a 1-3 second delay
  3. The free version has rate limits (upgrading is recommended for high-traffic servers)
  4. Please test thoroughly before deploying on a production server (the author is also unsure about the number of potential bugs)

Developer Information

License

MIT License

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more