Command Framework [1.7 - 1.21.4] icon

Command Framework [1.7 - 1.21.4] -----

A lightweight annotation based command system



Added confirmation annotation and some fixes
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
Code (Java):
   @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
----------, Feb 6, 2024
Resource Information
Author:
----------
Total Downloads: 5,843
First Release: Mar 10, 2021
Last Update: Jan 3, 2025
Category: ---------------
All-Time Rating:
2 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings