14 Commits

Author SHA1 Message Date
EvilSeph
d7469ca79e Fixed plugin loader. Thanks Wolvereness! 2012-01-25 04:11:37 -05:00
Erik Broes
257e35d51c Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008. 2012-01-19 08:13:49 +01:00
Nathan Adams
86f33b82c9 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran. 2012-01-17 19:46:22 +01:00
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01:00
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Dinnerbone
fe4f4c5f58 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
Erik Broes
992f1f2bf3 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
Raphfrk
4c06eff3be Added support for soft dependencies.
Soft dependencies allow plugins to request to be loaded after another plugin, but they will not throw an UnknownDependency exception if the other plugin is not present.
2011-05-02 03:33:46 -04:00
Dinnerbone
4879aee1b5 Adds basic plugin dependencies, courtesy of Raphfrk 2011-03-07 14:04:00 +00:00
stevenh
47af4404bf Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc 2011-01-29 21:17:36 +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
71c12aadc9 Separate InvalidDescriptionException -> InvalidPluginException 2011-01-05 22:45:54 +00:00
Dinnerbone
51eb1846bf Added enablePlugin and disablePlugin, triggers events 2011-01-03 02:20:11 +00:00
Erik Broes
ddff384203 Transition to Maven 2011-01-01 11:23:14 +01:00