Commit Graph

26 Commits

Author SHA1 Message Date
Wesley Wolfe
7db0e50da7 [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList

Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.
2012-02-29 10:23:16 -05:00
Nathan Adams
78cc950c50 Added "class-loader-of" field to plugin.yml. Big thanks to CmdrDats for the PR. 2012-01-15 12:54:06 +00:00
Erik Broes
dce83b6ce4 Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Nathan Adams
dd7042407f Updated snakeyaml to 1.9 (up from 1.7) 2011-10-10 21:39:27 +01:00
Dinnerbone
e6c273e8b0 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
Dinnerbone
326f2aca9b Permission registration in plugin.yml can now be easier, see https://gist.github.com/32dca3e937c1c42a4ed2 - also added "default-permission" option. 2011-09-20 21:20:07 +01:00
Dinnerbone
914da8e887 Added new permission system 2011-07-17 17:17:47 +01:00
Dinnerbone
90ca47e641 Added new plugin.yml option 'load', possible values are 'startup' and 'postworld' (default postworld) 2011-06-22 17:45:53 +01:00
Erik Broes
c4d444ce98 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
Raphfrk
4475e0f160 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
Erik Broes
78c87ee4bf Pluginnames can also space out now 2011-04-03 19:17:18 +02:00
Erik Broes
ead1f771c9 Forgot we have windows to support as well 2011-04-03 16:42:33 +02:00
Erik Broes
0de380f51c A plugin's name can now only contain: [A-Za-z0-9()\[\]{}_.-] 2011-04-03 16:26:27 +02:00
Dinnerbone
cf6b46bda9 Implemented ebeans 2011-04-01 16:09:23 +01:00
lukegb
96305c2bc2 Seal-fail workaround 2011-03-31 14:16:13 +00:00
Erik Broes
158906c132 Some more backwards incompatible changes (minor though), also a ton of small cleanup.
onPluginEnable(PluginEvent event)   -> onPluginEnable(PluginEnableEvent event)
onPluginDisable(PluginEvent event)  -> onPluginDisable(PluginDisableEvent event)
onVehicleUpdate(VehicleEvent event) -> onVehicleUpdate(VehicleUpdateEvent event)
onWorldSave(WorldEvent event)       -> onWorldSave(WorldSaveEvent event)
onWorldLoad(WorldEvent event)       -> onWorldLoad(WorldLoadEvent event)
2011-03-26 22:32:14 +01:00
Dinnerbone
1f0d89be27 Adds basic plugin dependencies, courtesy of Raphfrk 2011-03-07 14:04:00 +00:00
stevenh
cc404ced12 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
a057aadf8e Added extra plugin description fields 2011-01-20 16:26:56 +00:00
VictorD
f8335d6cab Added command registration to plugin config file. Registered commands are sent to the corresponding plugin.onCommand method when executed. 2011-01-16 16:30:34 +01:00
Dinnerbone
dd843748fa Tweaked some more exceptions, get messages passed 2011-01-05 22:56:12 +00:00
Dinnerbone
7f72490281 Slightly better "invalid plugin.yml" errors 2011-01-05 22:40:45 +00:00
stevenh
98d6a33d0d Fix for plugin description file cast error 2011-01-04 23:30:44 +00:00
Taylor Kelly
3e6604fb68 all the fillr stuff 2011-01-03 23:15:14 +08:00
Lymia
09633833d7 Fixed generics warning. 2011-01-02 00:38:51 -06:00
Erik Broes
f46d9ada1c Transition to Maven 2011-01-01 11:23:14 +01:00