Dinnerbone
9768ecc96b
onLoad optional...
2011-03-15 11:45:11 +00:00
Dinnerbone
3d750c5440
Plugins can no longer register events while disabled
2011-03-14 15:11:43 +00:00
Raphfrk
157f9d9d9f
Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls
2011-03-14 14:46:11 +00:00
Dinnerbone
8a0500b596
Reverted classloader changes by 1f0d89be27, now actually works! Again!
2011-03-08 18:22:52 +00:00
Dinnerbone
1f0d89be27
Adds basic plugin dependencies, courtesy of Raphfrk
2011-03-07 14:04:00 +00:00
VictorD
cd490d826b
Added a few null pointer checks and performed minor touchups (tried improving a few equals, clone and hashCode methods).
2011-03-05 12:27:51 +01:00
Dinnerbone
e8519fc347
Added JavaPlugin.getCommand
2011-02-28 01:35:03 +00:00
Dinnerbone
adcb291d05
Readded default onCommand on plugins
2011-02-28 00:45:44 +00:00
Dinnerbone
4fa84d995c
Tweaks to command system to allow setting executors via plugins (no more ambiguous onCommand in plugins)
2011-02-28 00:30:59 +00:00
Dinnerbone
dc313db919
Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)
2011-02-26 19:09:57 +00:00
Dinnerbone
72e3c06651
No longer supporting the TSLPC (inb4pitchforks)
2011-02-25 22:01:21 +00:00
Dinnerbone
c6b31f29ec
onPluginEnabled after plugin is enabled + same for onPluginDisabled
2011-02-25 12:54:08 +00:00
Dinnerbone
18e2a4de26
Updating plugin nags to use logger
2011-02-20 02:29:12 +00:00
Dinnerbone
f115161578
Added Server.getLogger, changed a few anonymous loggers to use it
2011-02-20 02:27:31 +00:00
sk89q
03f4e0ec22
Lowered the priority of the old command handler event because a number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event.
2011-02-19 17:47:49 -08:00
Dinnerbone
0a722adaa2
And this is so that we don't have to support misbehaving plugins.
2011-02-20 00:47:21 +00:00
Dinnerbone
9739370fe2
... Supporting the plugins which really shouldn't be doing what they're doing. Don't put crap in the constructor!
2011-02-20 00:43:06 +00:00
Dinnerbone
3197313378
Removed TSLPC (That Stupidly Long Plugin Constructor)
2011-02-20 00:13:25 +00:00
Dinnerbone
115d1cb30e
Fixed event priorities
2011-02-19 20:43:35 +00:00
Dinnerbone
adcf330eb2
Shifting damage events per http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-67424 (This breaks stuff!)
2011-02-19 17:08:14 +00:00
ss2man44
6c06199f44
Added CREATURE_SPAWN event
2011-02-16 22:28:44 -05:00
EvilSeph
a0b6267236
Exposes recently added PLAYER_PICKUP_ITEM event.
2011-02-12 07:58:03 -05:00
culturespy
400b4a9fd5
Added EXPLOSION_PRIMED event.
2011-02-12 02:47:27 -05:00
Timberjaw
d3cebcfb5a
Added SIGN_CHANGE event.
2011-02-11 20:34:02 -05:00
Dinnerbone
be485d43ee
Added event for when a world is saved (EyvindRM)
2011-02-09 12:57:48 +00:00
Alexander Hesse
1204340b96
Added Sneaking Event
2011-02-08 17:09:11 +01:00
Dinnerbone
5cb0b743b2
Just breaking some redstone plugins, don't mind me
2011-02-08 12:53:30 +00:00
Dinnerbone
a435cae101
New event WORLD_LOADED
2011-02-08 12:06:34 +00:00
Raphfrk
83d2d304ba
Scheduler
2011-02-07 01:06:20 +01:00
Forsaken
836dc323d6
Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation)
2011-02-06 12:13:18 +01:00
Meaglin
746b7a1ab2
Interface for BlockBreakEvent
2011-02-01 18:07:16 +01:00
Dinnerbone
cd05af918f
Added PLAYER_DROP_ITEM
2011-02-01 10:45:39 +00:00
Dinnerbone
77832e6871
Added VEHICLE_UPDATE
2011-02-01 10:18:27 +00:00
Dinnerbone
86780fcb39
Added PLAYER_ITEM_HELD event
2011-01-31 01:34:23 +00:00
Dinnerbone
07c29dae26
Added INVENTORY_OPEN as a player event
2011-01-30 22:06:17 +00:00
stevenh
d3ee9af4e5
Added new EventExecutor, missed in last commit
2011-01-29 21:18:47 +00:00
stevenh
247e77579a
Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc
2011-01-29 21:17:36 +00:00
stevenh
dc04480c96
Finalising merge with head
2011-01-29 17:28:31 +00:00
stevenh
0814239f31
merge with head
2011-01-29 17:18:32 +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
d67110aecf
clearPlugins() and clearCommands() for PluginManager and CommandMap respectively
2011-01-28 14:18:24 +00:00
Taylor Kelly
99d78d912c
onDisable on stop - stephank
2011-01-27 16:15:24 -05:00
Dinnerbone
da063ad675
ENTITY_DEATH
2011-01-27 13:25:20 +00:00
Taylor Kelly
0e7dc4e1b5
BlockBurnEvent
2011-01-26 16:13:04 -05:00
Taylor Kelly
3512d29524
EntityTargetEvent
2011-01-26 14:27:43 -05:00
Dinnerbone
a057aadf8e
Added extra plugin description fields
2011-01-20 16:26:56 +00:00
Dinnerbone
868aee0046
Fixed empty check in PluginCommand
2011-01-20 03:08:15 +00:00
Nathan Wolf
bf4265210a
Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
...
Requires corresponding CraftBukkit change.
2011-01-20 07:56:21 +08:00
mcasper
ba78a90a4f
Event hooks were ordered in backwards order versus the expected way. To avoid sorting problems and manual sorting, changed priority to be handled by a PriorityQueue<>() rather than a manually sorted List().
...
Resolves issue 211 http://bugs.bukkit.org/issues/211
2011-01-20 07:52:55 +08:00
VictorD
7a9ecbef53
Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict.
2011-01-18 01:12:50 +01:00