Releases: 4drian3d/ChatRegulator
4.0.1
What's Changed
- chore(deps): update dependency net.kyori.blossom to v2.1.0 by @renovate in #78
- chore(deps): update actions/checkout digest to 8ade135 by @renovate in #80
- chore(deps): update dependency xyz.jpenilla.run-velocity to v2.2.0 by @renovate in #79
- Implement common module by @4drian3d in #81
- chore(deps): update dependency gradle to v8.4-rc-2 by @renovate in #82
- chore(deps): update nick-invision/retry action to v2.9.0 by @renovate in #83
- chore(deps): update dependency gradle to v8.4-rc-3 by @renovate in #84
- fix(deps): update dependency org.mockito:mockito-core to v5.6.0 by @renovate in #86
- chore(deps): update dependency gradle to v8.4 by @renovate in #85
- chore(deps): update actions/checkout digest to b4ffde6 by @renovate in #87
- fix(deps): update dependency org.mockito:mockito-core to v5.7.0 by @renovate in #88
- fix(deps): update dependency io.github.miniplaceholders:miniplaceholders-api to v2.2.2 by @renovate in #89
- fix(deps): update dependency org.junit:junit-bom to v5.10.1 by @renovate in #90
- fix(deps): update dependency io.github.miniplaceholders:miniplaceholders-api to v2.2.3 by @renovate in #92
- chore(deps): update dependency xyz.jpenilla.run-velocity to v2.2.2 by @renovate in #91
- fix(deps): update dependency org.mockito:mockito-core to v5.8.0 by @renovate in #95
- chore(deps): update dependency gradle to v8.5 by @renovate in #93
- chore(deps): update actions/setup-java action to v4 by @renovate in #94
- chore(deps): update github/codeql-action action to v3 by @renovate in #97
- fix(deps): update dependency org.junit:junit-bom to v5.10.2 by @renovate in #110
- chore(deps): update dependency xyz.jpenilla.run-velocity to v2.2.3 by @renovate in #109
- fix(deps): update dependency org.slf4j:slf4j-api to v2.0.11 by @renovate in #106
- chore(deps): update dependency gradle to v8.6 by @renovate in #108
- chore(deps): update nick-invision/retry action to v3 by @renovate in #107
- chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v0.8.0 by @renovate in #104
- fix(deps): update dependency org.assertj:assertj-core to v3.25.3 by @renovate in #102
- fix(deps): update adventure to v4.15.0 by @renovate in #99
- chore(deps): update actions/upload-artifact action to v4 by @renovate in #98
- fix(deps): update dependency org.mockito:mockito-core to v5.10.0 by @renovate in #105
- Updated to latest Velocity version
- Fixed color errors in console
Full Changelog: 4.0.0...4.0.1
4.0.0
After more than 1 year since the last stable release, here I bring ChatRegulator 4.0.0, with much better performance, impeccable code quality, better and new checks and more.
This update is not compatible with version 3.x as there is a new separate configuration file to configure the checks
Features
- Added Cooldown check
- Added initialization time message
- Added HEX console color support for logger messages
- feat: Add original string placeholder to alert message
- feat: Implement File logger
- feat: Implement percentage caps limit
- Separate check configuration to its own configuration file. This simplifies a lot the configuration of each check and avoids that the same file has the general configurations and those of the checks
- feat: Added support for concatenating multiple check replacements
Fixes
- fix: Fixed Syntax and Cooldown checks
- fix: Fixed blocked_command placeholders
- Removed
<server>
placeholder. If this placeholder is required, MiniPlaceholders can be used with the Player expansion, which provides the placeholder<player_server>
- fix: Fixed SyntaxCheck feedback
- fix: Fixed empty alert string placeholder
- fix: Fixed wrong SyntaxCheck provider check
- fix: Fixed initial Command checks not applying
- fix: Fixed IndexOutOfBoundException in SpamCheck
- fix: Resume event execution in case any exception occurs
- fix: Added a cached Flood Pattern limit
- perf: Optimized SpamCheck
- fix: Fixed Chat ReplaceCheckResult
- fix(deps): Updated Blossom usage
- fix: Fixed FloodCheck not working on some cases
API
- Abstracted API classes and methods
- Improved Checks Builders
- Renamed Detection Events
- misc: Moved Commands and Components utils to API module
- misc: Depend on the Adventure API instead of the Velocity API in the ChatRegulator API Module
Downloads
Although you can download the plugin from here, I would recommend you to download it from Modrinth, this way you would be giving me your support in the development of ChatRegulator and I would appreciate it very much
Full Changelog: 3.0.2...4.0.0
4.0.0-RC
This is probably the last version before the release version (4.0.0)
There shouldn't be any bugs since I tested all the features, but still, I leave it as RC in case someone finds a bug that I couldn't find
Fixes
API
Miscellaneous
Full Changelog: 4.0.0-BETA.3...4.0.0-RC
4.0.0-BETA.3
Features
- feat: Add original string placeholder to alert message
- feat: Implement File logger
- feat: Implement percentage caps limit
- Separate check configuration to its own configuration file. This simplifies a lot the configuration of each check and avoids that the same file has the general configurations and those of the checks
Fixes
- fix: Fixed IndexOutOfBoundException in SpamCheck
- fix: Resume event execution in case any exception occurs
- fix: Added a cached Flood Pattern limit
- perf: Optimized SpamCheck
Full changelog
4.0.0-BETA.2...4.0.0-BETA.3
4.0.0-BETA.2
Fixes
- fix: Fixed Syntax and Cooldown checks
- fix: Fixed blocked_command placeholders
- Removed
<server>
placeholder. If this placeholder is required, MiniPlaceholders can be used with the Player expansion, which provides the placeholder<player_server>
- fix: Fixed SyntaxCheck feedback
- fix: Fixed empty alert string placeholder
- fix: Fixed wrong SyntaxCheck provider check
- fix: Fixed initial Command checks not applying
4.0.0-BETA.1
Features
- Added Cooldown check
- Added initialization time message
- Added HEX console color support for logger messages
API
- Abstracted API classes and methods
- Improved Checks Builders
- Renamed Detection Events
What's Changed
- Configure Renovate by @renovate in #34
- fix(deps): update dependency org.slf4j:slf4j-api to v1.7.36 by @renovate in #36
- chore(deps): update plugin net.kyori.blossom to v1.3.1 by @renovate in #35
- chore(deps): update dependency gradle to v7.6 by @renovate in #38
- chore(deps): update nick-invision/retry action to v2.8.3 by @renovate in #39
- fix(deps): update dependency com.github.4drian3d:miniplaceholders to v1.3.1 by @renovate in #40
- fix(deps): update dependency org.jetbrains:annotations to v23.1.0 by @renovate in #41
- fix(deps): update dependency org.junit:junit-bom to v5.9.2 by @renovate in #42
- fix(deps): update dependency org.mockito:mockito-core to v4.11.0 by @renovate in #43
- chore(deps): update actions/checkout action to v3 by @renovate in #44
- chore(deps): update actions/setup-java action to v3 by @renovate in #45
- chore(deps): update github/codeql-action action to v2 by @renovate in #47
- chore(deps): update actions/upload-artifact action to v3 by @renovate in #46
- fix(deps): update dependency org.mockito:mockito-core to v5 by @renovate in #49
- fix(deps): update dependency org.jetbrains:annotations to v24 by @renovate in #48
- fix(deps): update dependency org.slf4j:slf4j-api to v2 by @renovate in #50
- Fully reworked check system
- Added support to MiniPlaceholders 2
New Contributors
Full Changelog: 3.0.2...4.0.0-BETA.1
3.0.2 Release
This update provides partial
support for Minecraft 1.19.1, preventing the modification/cancellation of messages and commands from clients with a valid signed key to prevent them from being kicked out
What's Changed
- Improved configuration handling by @4drian3d in #25
- feat: Implement placeholder in alert message
- feat: Implement MultiPatternReplaceableResult
- perf: Improved default regex patterns performance
- fix: Fix error on ReplaceableChecks in Minecraft 1.19.1 | fix: Improved MC 1.19.1+ signed players ignoring
Full Changelog: 3.0.1...3.0.2
Release 3.0.1
What's Changed
- fix: Fix unformatted clear player suggestions
- fix: Wrong audience in CommandSpy Placeholders format
- feat: Improved alert message sending
- fix: Replaced String wrapper usage with AtomicReference
- feat: Improved blacklist pattern load
- perf: Improved performance of Formatter class
- fix: Fix possibly concurrency bugs with Statistics singleton
- misc: Improved readability of Replacer
- fix: Fixed possible bug with clear subcommand
- feat: Use Caffeine's Cache instead of ConcurrentHashMaps
- feat: Improved CompletableFuture usage
- feat: Improved regular infractions replaceable results
- test: Fixed Tests with latest Velocity SNAPSHOT
- misc: Improved Statistics and Placeholders control
- Added #resume to method by @YoSoyVillaa in #21
New Contributors
- @YoSoyVillaa made their first contribution in #21
Full Changelog: 3.0.0...3.0.1
Added Results, new Syntax Check, Builders, Performance improvements and more
New Module: Command Syntax
This module allows you to block all subcommands that have the syntax of plugin:subcommand
Additional Character check to Unicode Check
- feat: Added configuration to allow or disallow more custom characters in the unicode module
Dependencies Improvements
- feat!: Updated to Java 16
- feat!: Updated to Velocity 3.1.2+
- feat: Updated to Adventure/MiniMessage 4.10.1
- build: Now the plugin will download its dependencies dynamically, reducing its weight considerably
MiniPlaceholders Compatibility
feat: You can now use different placeholders from other plugins in ChatRegulator messages All Placeholders Available
feat: Implement ChatRegulator Expansion (Integrated in plugin) ChatRegulator Placeholders Available
Miscellaneous
- feat: Added ignored commands configuration
- feat: Improved the main command with the use of Brigadier
- feat: Added full customization in settings related to time lapses
- fix: Empty player suggestions on player subcommand
- fix: Fixed Player assignation between session (Bug present since the first versions of the plugin, recommended to update)
- fix: ArrayIndexOutOfBoundsException in Warning Title
- fix: Fixed FloodCheck's
ReplaceableResult#replaceInfraction
- feat: Improved coverage tests
- feat: Implement ChatRegulator subcommands permissions
API:
- fix!: Removed
InfractionPlayer#getLastSeen
andInfractionPlayer#setLastSeen
- feat: Improved Javadocs
- refactor!: Redone the check system, now delivers with CompletableFuture which returns a Result at the end of the respective check
What's Changed
Full Changelog: 2.1.0...3.0.0
CommandSpy, Unicode ControlType, API changes and more
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 andReplaceableCheck
interface - Removed
AbstractCheck#getPattern
, checkPatternCheck
methods - Removed
InfractionCheck#replaceInfractions
, useReplaceableCheck.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