Commit Graph

7 Commits

Author SHA1 Message Date
sk89q
88f0f1061a Cleaned up InvalidUsageException and CommandException to be less confusing. 2014-06-30 23:02:04 -07:00
sk89q
11d37bce2b Implemented -? and changed handling of InvalidUsageException.
Fixes WORLDEDIT-2947.
2014-06-30 22:48:04 -07:00
sk89q
8f1943fd84 Merge commit '142f5c8e5c889ee5098c05ba2fde20b52467c1df' into feature/platform-caps 2014-06-27 16:03:29 -07:00
sk89q
e0fd804f70 Standardized file headers. 2014-04-04 15:23:11 -07:00
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
TomyLobo
8aa65fd7f4 License block changes
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00