15 Commits

Author SHA1 Message Date
Erik Broes
bb3e3325ad Forgot we have windows to support as well 2011-04-03 16:42:33 +02:00
Erik Broes
d2d7ea50eb A plugin's name can now only contain: [A-Za-z0-9()\[\]{}_.-] 2011-04-03 16:26:27 +02:00
Dinnerbone
61b8c36233 Implemented ebeans 2011-04-01 16:09:23 +01:00
lukegb
2595d5ef33 Seal-fail workaround 2011-03-31 14:16:13 +00:00
Erik Broes
94894216e8 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
4879aee1b5 Adds basic plugin dependencies, courtesy of Raphfrk 2011-03-07 14:04:00 +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
6a2a2c4218 Added extra plugin description fields 2011-01-20 16:26:56 +00:00
VictorD
267afcb0ea 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
0395010001 Tweaked some more exceptions, get messages passed 2011-01-05 22:56:12 +00:00
Dinnerbone
9b227081f5 Slightly better "invalid plugin.yml" errors 2011-01-05 22:40:45 +00:00
stevenh
846831634b Fix for plugin description file cast error 2011-01-04 23:30:44 +00:00
Taylor Kelly
65394859c9 all the fillr stuff 2011-01-03 23:15:14 +08:00
Lymia
739142b42e Fixed generics warning. 2011-01-02 00:38:51 -06:00
Erik Broes
ddff384203 Transition to Maven 2011-01-01 11:23:14 +01:00