HomeJavaModsCommands Library
This is basically a Library to make commands, with this you can register commands without putting them on the plugin.yml and many commands for Class.

Example:

Code (Java):

//I'll Create a class where will be the Commands
//The class must implement the interface 'Commander'
public class Commands implements Commander {

//To create a command you have to put the annotation 'CommandHandler' above a method with these parameters : 'CommandSender', 'Command', 'String[]'
// If the Method doesn't have these parameters the Command won't work even if it have the annotation 'CommandHandler'
@CommandHandler (command = "example", description = "Example command" )
public void onCommand (CommandSender sender, Command command, String [ ] args ) {
//Command
}

//You can register more and more commands on a single class
}

//You can define more things on the annotation 'CommandHandler', like 'usage', 'aliases', 'permission', 'noPermissionMessage' and 'onlyPlayer'

//Now we have the Class with the commands, so we have to register the Commands

CommandManager. commands ( ). registerCommands ( new Commands ( ) ) ;

//That's all, it's really easy to use.
 
Since this is a Library you can modify the Source to make it work as you wish.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Commands Library is a free Minecraft Java mod. Downloaded 457 times (via Spigot). Download it and open it directly in the game.

Explore more