lambda
lambda copied to clipboard
Feat: Coordinate obfuscation/censoring
Feature
I (someone else) would (should) like (must) to implement a feature (security utility) that...
Hides coordinates from everything when specific conditions are met. These should include:
- User wants to censor coordinates
- Automatically censoring coordinates if location changes (for instance getting teleported with coordinates on)
The coordinate obfuscation should apply to:
- Messages with coordinates printed in chat by the client
- Coordinates send to chat by the player by accident (might be out of scope)
- Coordinates displayed by HUD elements
- Debug messages
The obfuscation implementation could obfuscate by:
- Removing coordinate numbers
- Using relative coordinates to something
- Scrambling coordinates
- Hiding elements displaying coordinates
Tasks TODO:
- [ ] Implement utility to transform coordinates to Text
- [ ] Replace all coordinate printing in the codebase with common Text transformation utility
- [ ] Implement module to trigger coordinate obfuscation automatically
Pull Request
- [ ] I will be submitting a pull request