{"id":15917,"date":"2026-05-31T21:43:14","date_gmt":"2026-05-31T18:43:14","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/"},"modified":"2026-05-31T21:43:14","modified_gmt":"2026-05-31T18:43:14","slug":"anti-politically-related-content","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/","title":{"rendered":"Anti-Politically-Related-Content"},"content":{"rendered":"<p># Anti-Politically-Related-Content Plugin<\/p>\n<p>![Minecraft](https:\/\/img.shields.io\/badge\/Minecraft-1.21.4-green) ![Java](https:\/\/img.shields.io\/badge\/Java-17-blue)<\/p>\n<p>## Project Overview<\/p>\n<p>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.<\/p>\n<p>## Features<\/p>\n<p>&#8211; Real-time monitoring of player chat content<br \/>\n&#8211; Detection of political content in player commands<br \/>\n&#8211; Checking player IDs upon new player joins<br \/>\n&#8211; Automatic handling of violations:<br \/>\n  &#8211; Players sending political content are kicked<br \/>\n  &#8211; Players using inappropriate IDs are banned<br \/>\n&#8211; Asynchronous API calls to avoid impacting server performance<br \/>\n&#8211; \u3010Version 2.0 Update\u3011Admins can enable\/disable the plugin via command<br \/>\n&#8211; \u3010Version 4.0-RELEASE Update\u3011Test API address connection via `\/aprc test`<br \/>\n&#8211; \u3010Version 4.0-RELEASE Update\u3011API-related configurations can be changed via the config file (meaning the author can upload a pre-packaged jar)<br \/>\n&#8211; \u3010Version 4.0-RELEASE Update\u3011`\/aprc reload` can reload the configuration file<br \/>\n&#8211; \u3010Version 4.0-RELEASE Update\u3011Added a backup API address slot to prevent sudden downtime of one API platform<\/p>\n<p>## Installation Requirements<\/p>\n<p>&#8211; Minecraft Paper Server 1.21.4+<br \/>\n&#8211; Java 17 or higher<br \/>\n&#8211; A valid OpenRouter API key (visit openrouter.ai to create one)<br \/>\n&#8211; (Optional) A valid SiliconFlow API key (visit SiliconFlow Official Website to create one)<br \/>\n&#8211; (Optional) API keys from other open API platforms (requires some programming knowledge to change the model name and API address)<\/p>\n<p>## Installation Guide<\/p>\n<p>1. Build the project using Maven:<br \/>\n   &#8220;`bash<br \/>\n   mvn clean package<br \/>\n   &#8220;`<\/p>\n<p>1. Copy the generated target\/anti-politically-related-content-1.0-SNAPSHOT.jar to the server&#8217;s plugins folder<br \/>\n2. Restart the server<\/p>\n<p>## Configuration<\/p>\n<p>### API Settings (Modify the config file generated after server startup)<\/p>\n<p>&#8220;`yaml<br \/>\n   primary:<br \/>\n     api_key: Primary_API_Key<br \/>\n     model: deepseek\/deepseek-chat-v3-0324:free<br \/>\n     api_url: https:\/\/openrouter.ai\/api\/v1\/chat\/completions<br \/>\n   backup:<br \/>\n     api_key: Backup_API_Key<br \/>\n     model: deepseek-ai\/DeepSeek-R1-0528-Qwen3-8B<br \/>\n     api_url: https:\/\/api.siliconflow.cn\/v1\/chat\/completions<br \/>\n&#8220;`<\/p>\n<p>## Response Customization<\/p>\n<p>### Modify the following methods in Main.java to change violation handling:<\/p>\n<p>&#8211; handleChatViolation() &#8211; Handles chat violations<br \/>\n&#8211; handleNameViolation() &#8211; Handles name violations<\/p>\n<p>## Usage Example<\/p>\n<p>1. Install and configure the plugin<br \/>\n2. The plugin will automatically:<br \/>\n   &#8211; Scan all chat messages<br \/>\n   &#8211; Check new player names<br \/>\n   &#8211; Take automatic action upon detecting violations<br \/>\n3. 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.<\/p>\n<p>## Notes<\/p>\n<p>1. An internet connection is required to access the API<br \/>\n2. API calls may have a 1-3 second delay<br \/>\n3. The free version has rate limits (upgrading is recommended for high-traffic servers)<br \/>\n4. Please test thoroughly before deploying on a production server (the author is also unsure about the number of potential bugs)<\/p>\n<p>## Developer Information<\/p>\n<p>&#8211; Project Name: Anti-Politically-Related-Content<br \/>\n&#8211; Version: 4.0-RELEASE<br \/>\n&#8211; Dependencies:<br \/>\n  &#8211; PaperAPI<br \/>\n  &#8211; OkHttp 4.12.0<br \/>\n  &#8211; Gson 2.10.1<\/p>\n<p>## License<\/p>\n<p>MIT License<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Minecraft Bukkit plugin that uses AI-powered real-time moderation to automatically detect and filter politically sensitive content in chat, commands, and player names.<\/p>\n","protected":false},"featured_media":15918,"template":"","meta":{"_minecraft_slug":"anti-politically-related-content","_minecraft_project_id":"vYWvyzKS","_minecraft_author":"_Chinese_Player_","_minecraft_license":"MIT","_minecraft_downloads":38,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"anti-politically-related-content.zip","_minecraft_size_bytes":1405963,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-15T21:42:26.229177Z","_minecraft_date_created":"2025-08-21T21:44:28.194081Z","_minecraft_date_modified":"2025-08-04T13:22:43.258167Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/anti-politically-related-content","_minecraft_icon_attachment_id":15918,"_minecraft_imported_at":"2026-05-31T18:43:15+00:00","_minecraft_import_hash":"4ff03b5cd1cba35c271f464b9603d947","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[126,127],"mod_loader":[132],"minecraft_version":[38],"class_list":["post-15917","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-management","mod_category-paper","mod_loader-paper","minecraft_version-1-21-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Anti-Politically-Related-Content - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Anti-Politically-Related-Content - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A Minecraft Bukkit plugin that uses AI-powered real-time moderation to automatically detect and filter politically sensitive content in chat, commands, and player names.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/\",\"name\":\"Anti-Politically-Related-Content - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-politically-related-content-icon-bf34f3c3d2d2e2611db0cc43c098b6e12d01353d_96.webp\",\"datePublished\":\"2026-05-31T18:43:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-politically-related-content-icon-bf34f3c3d2d2e2611db0cc43c098b6e12d01353d_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-politically-related-content-icon-bf34f3c3d2d2e2611db0cc43c098b6e12d01353d_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-politically-related-content\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Anti-Politically-Related-Content\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Anti-Politically-Related-Content - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/","og_locale":"en_US","og_type":"article","og_title":"Anti-Politically-Related-Content - Minecraft","og_description":"A Minecraft Bukkit plugin that uses AI-powered real-time moderation to automatically detect and filter politically sensitive content in chat, commands, and player names.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/","name":"Anti-Politically-Related-Content - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-politically-related-content-icon-bf34f3c3d2d2e2611db0cc43c098b6e12d01353d_96.webp","datePublished":"2026-05-31T18:43:14+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-politically-related-content-icon-bf34f3c3d2d2e2611db0cc43c098b6e12d01353d_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-politically-related-content-icon-bf34f3c3d2d2e2611db0cc43c098b6e12d01353d_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-politically-related-content\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Anti-Politically-Related-Content"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/15917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/15918"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=15917"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=15917"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=15917"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=15917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}