13 Commits

Author SHA1 Message Date
Dinnerbone
0d11aa7cca Commands now have the ability to set a permission required before execution 2011-09-02 19:27:12 +01:00
Erik Broes
992f1f2bf3 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
Erik Broes
6da67f1ea6 Compensate for sendMessage losing its 'unintended splitting on existing newlines'-feature 2011-03-12 17:01:56 +01:00
Dinnerbone
0b35cd8127 Don't throw commands if the plugin is disabled 2011-03-07 16:41:50 +00:00
Erik Broes
c383d1f385 Java 1.5 compat. 2011-03-02 15:23:15 +01:00
Dinnerbone
2ca3d148cc PluginCommand getExecutor + javadocs 2011-02-28 10:35:58 +00:00
Dinnerbone
2b1dc975f1 Added JavaPlugin.getCommand 2011-02-28 01:35:03 +00:00
Dinnerbone
95d92e406e Tweaks to command system to allow setting executors via plugins (no more ambiguous onCommand in plugins) 2011-02-28 00:30:59 +00:00
EvilSeph
a748069eb3 We need to set cmdSuccess accordingly. 2011-02-18 21:30:19 -05:00
Dinnerbone
2188275a00 Exception handling in commands 2011-02-18 16:25:06 +00:00
stevenh
a89a96416b Refactored event calling so its front loading avoiding the lookup for each event call.
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling

Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon

Fixed CustomEventListener

Merged in additional events

Added getFullName to PluginDescriptionFile which returns the combination of Name and Version

There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(
2011-01-29 16:23:56 +00:00
Dinnerbone
eee866bf25 Fixed empty check in PluginCommand 2011-01-20 03:08:15 +00:00
VictorD
0951ed5de8 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict. 2011-01-18 01:12:50 +01:00