patekcz/McPlugin-AIChatFilter — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Minecraft server plugin called ChatFilter that automatically moderates player chat using Google Gemini AI.

I want it to work on Spigot or Paper 1.21 and Java 17. When a player sends a message, the plugin should check it with Gemini in the background so the server doesn’t lag. If the message is clearly inappropriate, block it and show the player a simple warning. If it’s just mild, joking, or harmless, let it through.

Please include a config file where I can enter my Gemini API key and turn debug mode on or off. Debug mode should print useful moderation details in the console. The plugin should also handle API errors safely so chat doesn’t break the server.

Set up the Gradle project, plugin.yml, main plugin class, chat listener, Gemini request handling, and a clean default config. Look up current Spigot or Paper and Gemini docs online if you need to.

Want more depth? Deep Reverse