Releases: Despical/CommandFramework
Releases · Despical/CommandFramework
1.2.3
1.2.3 Release Notes:
- Enabled remaning tests.
- Skipped tests prevent compiler errors on JitPack.
Special thanks to @gamerover98 for their contributions with tests.
What's Changed
- Updated paper-api to 1.20.1 and added MockBukkit test suites by @gamerover98 in #6
New Contributors
- @gamerover98 made their first contribution in #6
Full Changelog: 1.2.2...1.2.3
1.2.2
1.2.2 Release Notes:
- Replaced CommandFramework#setAnyMatch method which is Java Consumer with CommandFramework#setMatchFunction which is a Java Function from functional interfaces feature, now you can return a boolean value and consider sending command usages to sender. Sender will receive usage message by default.
/**
* Function to apply if there is no matched commands related framework.
*
* <pre>
* // To disable sending usage to command sender return true
* CommandFramework#setMatchFunction(arguments -> true);
* </pre>
*/
@Nullable
private Function<CommandArguments, Boolean> matchFunction = (arguments) -> false;
Full Changelog: 1.2.1...1.2.2
1.2.1
1.2.0
1.2.0 Release Notes:
- Removed Commons from libraries and added some parts of the library to Utils class.
- Possible fix to prevent overlapping classes when users both using Commons and CommandFramework.
Full Changelog: 1.1.9...1.2.0