Skip to content

1.3.7

Compare
Choose a tag to compare
@Despical Despical released this 06 Feb 12:12
· 96 commits to main since this release

1.3.7

  • Added Confirmation annotation.
  • Fixed Command#max not working properly.
  • Fixed Cooldown annotation not working properly if bypass permission is not set.

Example Command with Confirmation Annotation

	@Command(
		name = "confirmationTest"
	)
	@Confirmation(
		message = "Are you sure, if so, please execute command again to confirm.",
		expireAfter = 10,
		bypassPerm = "confirmation.bypass",
		timeUnit = TimeUnit.SECONDS,
		overrideConsole = true
	)
	public void confirmationCommand(CommandArguments arguments) {
		arguments.sendMessage("Confirmation successful.");
	}

Full Changelog: 1.3.6...1.3.7