Skip to content

CommandSpy, Unicode ControlType, API changes and more

Compare
Choose a tag to compare
@4drian3d 4drian3d released this 28 Jan 21:34
· 298 commits to main since this release

Implemented CommandSpy

Now you can see the commands executed by other players with the chatregulator.commandspy.alert permission

Added ControlType to UnicodeCheck

You can now replace the unicode violations of a message instead of canceling the message.

API Changes

  • Added notes about the nullability of all the methods
  • Improved javadocs
  • Added PatternCheck class and ReplaceableCheck interface
  • Removed AbstractCheck#getPattern, check PatternCheck methods
  • Removed InfractionCheck#replaceInfractions, use ReplaceableCheck.replaceInfraction Also valid for FloodCheck
  • Fixed and improved #hashcode methods

Miscellaneous

  • Improved performance when parsing messages with placeholders
  • Fixed some bugs with placeholders

What's Changed

Full Changelog: 2.0.1...2.1.0