Plex-FAWE/src/main/java/com/sk89q/minecraft/util/commands
Albert Pham 04c31262f7 Added a new command dispatcher that injects different parameters dynamically.
This reduces the boilerplate code needed to parse arguments in each command, and reduces the need to maintain command documentation with @Command.

Example:

@Command(aliases = "/set", desc = "Set all the blocks inside the selection to a block")
@CommandPermissions("worldedit.region.set")
@Logging(REGION)
void setBlocks(LocalPlayer player, EditSession editSession, @Selection Region region, Pattern replaceWith) {
    // Perform command
}
2013-06-18 14:50:46 -07:00
..
Command.java Added allFlags setting to Command to prevent it from restricting allowed flags 2012-03-28 11:04:34 -07:00
CommandAlias.java License block changes 2012-01-20 08:24:32 +01:00
CommandContext.java Added a new command dispatcher that injects different parameters dynamically. 2013-06-18 14:50:46 -07:00
CommandException.java Added a new command dispatcher that injects different parameters dynamically. 2013-06-18 14:50:46 -07:00
CommandLocals.java Added a new command dispatcher that injects different parameters dynamically. 2013-06-18 14:50:46 -07:00
CommandPermissions.java License block changes 2012-01-20 08:24:32 +01:00
CommandPermissionsException.java License block changes 2012-01-20 08:24:32 +01:00
CommandsManager.java Added @NestedCommand(executeBody=true/false) annotation. 2013-01-12 00:57:40 -05:00
CommandUsageException.java License block changes 2012-01-20 08:24:32 +01:00
Console.java License block changes 2012-01-20 08:24:32 +01:00
Injector.java License block changes 2012-01-20 08:24:32 +01:00
Logging.java Log a few more things. Added BiomeCommands to doc printer. 2013-01-02 02:11:42 -05:00
MissingNestedCommandException.java License block changes 2012-01-20 08:24:32 +01:00
NestedCommand.java Added @NestedCommand(executeBody=true/false) annotation. 2013-01-12 00:57:40 -05:00
SimpleInjector.java Added more flexibility to the Bukkit dynamic command registration system. 2011-12-29 13:59:48 -08:00
SuggestionContext.java Added a new command dispatcher that injects different parameters dynamically. 2013-06-18 14:50:46 -07:00
UnhandledCommandException.java License block changes 2012-01-20 08:24:32 +01:00
WrappedCommandException.java License block changes 2012-01-20 08:24:32 +01:00