Commit Graph

21 Commits

Author SHA1 Message Date
Silthus
94a549214d Added @NestedCommand(executeBody=true/false) annotation.
Setting this annotation to true will execute the method
body of the tagged method if the argument count is 0.
2013-01-12 00:57:40 -05:00
zml2008
33752eb058 Added a command to list schematics and the abilitiy to autodetect schematic format 2012-03-28 13:04:09 -07:00
zml2008
5e8f50699d Added allFlags setting to Command to prevent it from restricting allowed flags 2012-03-28 11:04:34 -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
zml2008
70205bfd11 Removed string.isEmpty() method calls 2011-12-27 13:21:55 -08:00
TomyLobo
324a041e38 Split up some external .* imports. 2011-12-26 00:36:23 +01:00
TomyLobo
370ddeb9ff Added support for console commands to WorldEditPlugin. 2011-12-15 15:45:34 +01:00
TomyLobo
05404b005d Added a //help command. 2011-12-13 09:43:39 +01:00
TomyLobo
6764704c22 Added support for help text to be shown on syntax errors and such. 2011-12-06 06:50:10 +01:00
TomyLobo
11dadd7417 Simplified CommandsManager.getUsage. 2011-12-05 10:18:30 +01:00
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
zml2008
c29856f5a8 Added a registration method that returns information about successfully registered commands 2011-11-11 15:47:50 -08:00
Wizjany
b5b55a2775 Cleanup and a few bugfixes 2011-09-24 15:24:10 -04:00
zml2008
2f390e9938 Added multiword args and some improvements to value flags. 2011-09-13 22:47:17 -07:00
zml2008
93fbad4d82 Cleaned up CommandAlias a bit 2011-08-29 14:24:46 -07:00
TomyLobo
d64fd95173 Added support for value flags to the command system 2011-08-29 14:46:36 +02:00
zml2008
04dd21d51a Added merging of quoted multiword strings (single or double quotes) into one index, flags can be anywhere in the command args string. Untested and currently unused command aliasing added for moving commands around 2011-08-28 13:00:00 -07:00
TomyLobo
2c155c241b Added an invokeMethod hook to CommandsManager, that wraps method invocation and can be overridden 2011-08-08 14:06:28 +02:00
Jacob Scott
66dcc99809 fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count 2011-07-15 02:00:48 -05:00
sk89q
86ecd49b89 Added support for using instances (created using a specified dependency injector) in CommandsManager. 2011-06-18 10:14:49 -07:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00