v 1.2.0 regex support, per filter count, reload permission.
New: 1. optional Regex support (for advanced users).
- your regex should start and end with a forward slash "/" - example: /^[A-Za-z]+\sGrowth\sModifier:\s\d+\%$/ - notice: no double quotes around the regex or else it'll error out.
2. if you opt to save filter count, it will now save per filter count alongside the total count
Modified: permission to reload from consolefilter.admin -> consolefilter.reload updated config.yml with comments/example for regex
# Persist total filter count AND per filter (It saves between restarts to avoid constant read/write operations)
Save-Filtered-Count: true
# Enables/Disables filtered message count console output every ten minutes. true/false
Output-Filtered-Messages-Count-To-Console: true
# Interval in minutes to output to console. Default every 10 minutes.
Output-Filtered-Messages-Count-Interval: 10
# Add here the patterns of messages you want to block from appearing in your console and logs.
# Each line represents a new pattern.
# NOTE! You don’t need to add the full message!
# The plugin will block any message that contains the text added below.
# Supports REGEX. The program will detect a regex form when you start and end the filter with a "/" (NO DOUBLE QUOTES)
# Check example below -
#
# EXAMPLE:
#
# Blocked-Messages:
# - "SPAM WARNING: ExampleMessage"
# - /^[A-Za-z]+\sGrowth\sModifier:\s\d+\%$/
#
# Any console message containing the text 'SPAM WARNING: ExampleMessage'
# will be blocked from appearing in the console and logs.
#
# If you have large errors, you don’t need to type the entire error message.
# However, be specific to avoid blocking unintended messages.