mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-12 23:43:33 +00:00
04c31262f7
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 } |
||
---|---|---|
.. | ||
Command.java | ||
CommandAlias.java | ||
CommandContext.java | ||
CommandException.java | ||
CommandLocals.java | ||
CommandPermissions.java | ||
CommandPermissionsException.java | ||
CommandsManager.java | ||
CommandUsageException.java | ||
Console.java | ||
Injector.java | ||
Logging.java | ||
MissingNestedCommandException.java | ||
NestedCommand.java | ||
SimpleInjector.java | ||
SuggestionContext.java | ||
UnhandledCommandException.java | ||
WrappedCommandException.java |