Skip to content

Releases: Despical/CommandFramework

1.2.2

11 Aug 09:27
Compare
Choose a tag to compare

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

10 Aug 09:49
Compare
Choose a tag to compare

1.2.1 Release Notes:

  • Fixed command aliases do not support case-sensitive. (#3)
  • Added unregistering command methods. (#4)

Full Changelog: 1.2.0...1.2.1

1.2.0

14 Jul 09:03
Compare
Choose a tag to compare

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

1.1.9

08 Apr 08:30
Compare
Choose a tag to compare

1.1.9 Release notes:

  • Fixed the empty permissions cause some bugs.
  • Fixed the sub-commands are registering as a main command which causes duplication.

1.1.8

04 Apr 07:29
Compare
Choose a tag to compare

1.1.8 Release notes:

  • Added optional permission to tab completer annotation.

1.1.7

02 Mar 08:36
Compare
Choose a tag to compare

1.1.7 Release notes:

  • Now command cooldowns work with sub commands.

1.1.6

21 Jan 14:53
Compare
Choose a tag to compare
Bump version

1.1.5

12 Jan 09:47
Compare
Choose a tag to compare

1.1.5 Release notes:

Fixes:

  • Fixed empty command permissions not passing permission check.

Additions:

  • Updated Commons library.

1.1.4

24 Nov 12:11
Compare
Choose a tag to compare

1.1.4 Release Notes:

  • Fixed cooldown commands can be executed twice after the first execution.
  • Now CommandFramework.WAIT_BEFORE_USING_AGAIN message shows remaining time to execute command again.

1.1.3

12 Aug 09:44
Compare
Choose a tag to compare

1.1.3 Release Notes:

  • Added CommandArguments#getArgumentAsLong(index).
  • Added CommandArguments#getArgumentAsBoolean(index).
  • Updated contributing guidelines for code inspections.