Skip to content

Minor update 3.3

Compare
Choose a tag to compare
@Jochyoua Jochyoua released this 01 Jun 00:27
d478a49

Changes:

  • Shortened the time it takes to filter a string
  • Modified isclean method so it returns true if a string contains blacklisted words
    • This only affects settings.experimental_regex, return value stays the same otherwise
  • New console_motd provides console with plugin data
    • You may disable this through settings.console_motd or modify it through variables.console_motd
  • New swear count config addition, counts the number of times swears have been filtered
  • Debug option added in the config, slipped my mind the last update
    • You can modify this through settings.debug (disabled by default)
    • Debug strings aren't modifiable since they contain some useful information that only the console would see
  • Punish players who swear with any command!
    • This requires both settings.force and settings.punish_players to be true
    • MCSF.bypass allows users to not be punished
  • Fixed an issue where DiscordSRV messages were being affected by italics and underscores.
    • Until I find a way to filter experimental webhook messages for DiscordSRV, they will remain unfiltered
  • In-game update notifications on join whenever there is a new update
    • Permission to receive updates is MCSF.update
    • Disable this under settings.update_notification_ingame, default is true

Notes

Hi thank you for using my plugin, I just wanted to ask you that if you come across any issues please message me or post them through the issues portion of this repository.
Once I feel that the experimental regex is stable enough, I'm going to remove the setting option and make the regex portion the only method to filter strings.
Thank you for your continued support.