Repository navigation
RandomDialogue 1.4.0
Chat Filter v1.4.0 Release Notes
π§ͺ New Testing System
Major Feature: Comprehensive LLM testing framework for administrators
New Commands
/chatfilter test quick- Run essential transformation tests (4 tests, ~30 seconds)/chatfilter test full- Complete test suite with rate limiting (14+ tests, 2-3 minutes)/chatfilter test filter <name>- Test specific filter with multiple message types
What Gets Tested
- Intent Preservation: Ensures thanks stay thanks, greetings stay greetings
- Quote Handling: Verifies quoted text is preserved exactly
- Adversarial Resistance: Tests against prompt injection attacks
- Filter Quality: Validates all personality filters work correctly
- Edge Cases: Empty messages, special characters, mod complaints
π― Improved Transformation Quality
Enhanced System Prompts
- Detailed examples showing correct vs incorrect behavior
- Explicit rules preventing responses instead of transformations
- Better context understanding for Minecraft server chat
- Length guidelines to prevent overly long transformations
Filter-Specific Improvements
- TRUMP_STYLE: More concise, focused transformations
- GRANDMA: Better greeting handling with "Hello, dear hearts"
- ROBOT: Shorter, more robotic responses like "GOOD MORNING. GREETING INITIATED."
- CONSPIRACY_THEORIST: Concise suspicious tone without long speeches
π‘οΈ Enhanced Reliability
Better Error Handling
- Null safety checks prevent crashes during transformation
- Improved logging with stack traces for debugging
- Empty message handling prevents unnecessary API calls
- Rate limit protection with clearer user feedback
Mod Complaint Detection
- Stronger detection for complaints about the chat filter
- More aggressive positive transformation removes all negative sentiment
- Expanded keyword lists catch more complaint variations
π§ Technical Improvements
Code Quality
- Comprehensive null checks throughout transformation pipeline
- Better async handling for test commands
- Improved cache validation prevents storing null results
- Enhanced debug logging with transformation quality analysis
Performance
- Optimized quote handling reduces processing overhead
- Better rate limiting respects API provider limits
- Smarter caching based on transformation success
π Testing Results
This release has been validated with 11/14 automated tests passing (79% success rate):
β Working perfectly:
- Intent preservation (thanks, greetings, statements)
- Quote handling and bypass system
- Adversarial prompt resistance
- Major personality filters (PIRATE, GRANDMA, ROBOT, TRUMP_STYLE)
- Empty message handling
- Rate limiting
- Some complaint transformations could be more positive (but are functional)
- CONSPIRACY_THEORIST test expectations may be overly strict
π For Server Administrators
Immediate Benefits
- Quality assurance: Test your LLM setup before players notice issues
- Debugging tools: Identify problematic filters or API configuration
- Validation: Ensure updates don't break existing functionality
How to Use
- Quick health check:
/chatfilter test quickafter any configuration changes - Full validation:
/chatfilter test fullbefore major updates or new filter additions - Filter testing:
/chatfilter test filter PIRATEwhen creating custom filters
π Documentation Updates
- Added comprehensive custom filter creation guide
- Enhanced troubleshooting section with testing guidance
- Updated command documentation with new test commands
β‘ Breaking Changes
None - This release is fully backward compatible with existing configurations and filters.
π Bug Fixes
- Fixed null pointer exceptions in quote preservation system
- Resolved transformation analysis crashes with null results
- Improved empty message handling to prevent unnecessary API calls
- Enhanced error logging with better stack trace information
π Migration Guide
No migration required - Simply update the mod file and restart your server. All existing configurations, filters, and player settings will continue working.
π― What's Next
This release establishes the foundation for even smarter chat transformations. Future updates will build on the conversation context and quality analysis systems introduced here.
Upcoming Features:
π Privacy Controls: Player opt-out system to exclude messages from LLM context sharing for enhanced privacy protection
π§ Advanced Context: Further improvements to conversation understanding and transformation quality
βοΈ Enhanced Configuration: Additional customization options for server administrators
Installation
- Stop your server
- Replace the old mod file with
chat-filter-1.4.0.jar - Start your server
- Run
/chatfilter test quickto validate your setup
Support
Having issues? Check our troubleshooting guide or run /chatfilter test full to identify configuration problems automatically.