Skip to content

PixelMindMC/PixelChatGuardian

Repository files navigation

PixelChat Guardian - AI-Powered Chat Moderation

Advanced AI-powered chat moderation for Minecraft servers. Automatically filter inappropriate messages, support emojis & chat formatting, and integrate seamlessly with your existing setup.

🚀 Features

🤖 AI-Powered Moderation

  • Smart Filtering: Uses AI models to detect and filter inappropriate content
  • Multi-Language Support: Automatically moderates messages in multiple languages
  • Configurable Rules: Control what gets filtered (offensive language, personal info, websites, etc.)
  • Flexible Actions: Choose to censor or block messages entirely
  • Strike System: Automatic punishment system with kick/ban thresholds

💬 Enhanced Chat Experience

  • Emoji Support: 🎉 Use emojis in chat with :emoji: codes
  • Chat Codes: Format messages with :color: and :format: codes
  • Plugin Integration: Compatible with CarbonChat and other chat plugins

⚙️ Advanced Configuration

  • Multi-Language Interface: Plugin interface available in 8+ languages
  • Customizable AI Prompts: Fine-tune the AI moderation behavior
  • Granular Controls: Enable/disable specific modules as needed
  • Custom Prefix: Add a custom moderation message prefix

📦 Installation

  1. Download: Get the latest version from Modrinth or one of our other distribution platforms
  2. Install: Place the .jar file in your server's plugins/ folder
  3. Configure: Open the config.yml file located in the plugins/PixelChatGuardian/ directory
    api:
      endpoint: "https://api.groq.com/openai/v1/chat/completions" # Optionally, specify a different API endpoint
      ai-model: "llama-3.3-70b-versatile" #  Optionally, specify a different AI model
      key: "API-KEY" # Add your API key
  4. Restart: Restart your server

⚡ Quick Start for using Groq

  1. Sign up for a free account at Groq Cloud
  2. Navigate to API Keys section
  3. Create a new API key
  4. Add it to your config.yml
  5. Restart your server

🌐 Supported Languages

The plugin interface supports:

  • English (en) - Default
  • German (de)
  • Spanish (es)
  • French (fr)
  • Dutch (nl)
  • Simplified Chinese (zh-cn)
  • Traditional Chinese (zh-tw)
  • Custom translations

AI moderation works with messages in all languages!

🔌 Plugin Integration

CarbonChat Support

PixelChat Guardian integrates seamlessly with CarbonChat:

plugin-support:
  carbonchat: true  # Tested with CarbonChat 3.0.0-beta.36+

Other Chat Plugins

The plugin is designed to work alongside most chat plugins. If you encounter compatibility issues, please report them on GitHub.

❓ Troubleshooting

Common Issues

  1. AI not filtering messages
    • Check your API key in config.yml
    • Verify internet connectivity
    • Ensure modules.chatguard: true
  2. Emojis/Chat codes not working
    • Check player permissions
    • Verify modules.emojis and modules.chat-codes are enabled
  3. Compatibility issues
    • Try disabling other chat plugins temporarily
    • Check server logs for errors

Getting Help

🔗 Important Links

Platform Link Description
Wiki Documentation Complete documentation
Issues Issue Tracker Bug reports and feature requests
Pull Requests Contribute Contribute to the project
Changelog Version History Update history and changes
Modrinth Download Primary download platform
SpigotMC SpigotMC Page SpigotMC download
Hangar Paper Plugin Page Paper Plugin Hangar download
CurseForge CurseForge Page CurseForge download
Discord Community Support and community
bStats Statistics Usage statistics

📄 License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

🌟 Support the Project

If you find PixelChat Guardian useful, please consider:

  • Starring the project on GitHub, Modrinth, SpigotMC, Hangar and/or CurseForge
  • 📝 Leaving a review on SpigotMC and/or CurseForge
  • 💬 Sharing with other server owners
  • 🐛 Reporting bugs and suggesting features

Thank you for choosing PixelChat Guardian for your server's moderation needs!