GeyserSanitizer v0.3.1 - Initial Release
This plugin works in conjunction with PacketEvents and Floodgate to provide seamless text component sanitization.
Features:
- Bedrock-Specific Text Sanitization: Automatically detects Bedrock players and sanitizes outgoing text components before they reach their client.
- Packet Interception: Utilizes PacketEvents to intercept various server-to-client packets.
- Chat Message Sanitization: Cleans regular chat messages to prevent problematic display or exploitable components.
- System Message Sanitization: Ensures system-generated messages are safe and render correctly for Bedrock clients.
- Team Component Sanitization: Sanitizes team prefixes, suffixes, and display names, addressing potential issues with nametags and other visual elements.
- Removes Problematic Components: Specifically targets and removes JSON elements related to custom icons ("atlas", "sprite") and player heads ("hat", "player") that can cause display glitches or be used for malicious purposes on Bedrock clients.
Dependencies:
- PacketEvents
- Floodgate
This initial version focuses on core sanitization capabilities to provide a more stable and secure environment for your Bedrock playerbase. We welcome feedback and bug reports to further improve the plugin!